Getting the following error after doing a test relocation of a website to a new shared server.
Fatal error! Your request can not be executed!
Fatal error: Cannot use object of type PEAR_Error as array in /data/19/3/11/99/3011262/user/3343466/htdocs/HTJ/system/ext/I18N/LangData.php on line 66
checked the LangData file and here's the 'offending' code, from line 62-72
public static function createLangDataFromServer($lang_data)
{
$langData = new LangData();
$langData->setID($lang_data['lang_id']);
$langData->setCaption($lang_data['name']);
$langData->setMeta($lang_data['meta']);
$langData->setErrorText($lang_data['error_text']);
return $langData;
}
Stumped as to what might be causing this.
Keep in mind he site was originally built on a Smarty php basis.