Knowledgebase: v 4.x.x
Error log is huge of the error [EMPTY PHRASE ID] domain_id [] phrase_id []
Posted by Lena Kosyakova on 04 November 2009 11:23 AM
Open the file \system\ext\I18N\I18NTranslator.php, find the code:

function &gettext($domain_id, $phrase_id, $mode)
{
if(empty($phrase_id))
{
$error =& $this->_trigger_error('EMPTY PHRASE ID');
return $error;
}


and replace it with:

function &gettext($domain_id, $phrase_id, $mode)
{
if(empty($phrase_id))
{
return null;
}


(276 votes)
This article was helpful
This article was not helpful

Comments (0)
Post a new comment 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below. This is required to prevent automated registrations and form submissions.

Help Desk Software by Kayako Fusion