Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Installing SilverStripe /

Getting SilverStripe up and running on your computer and on your web server.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Getting error after upload and install CMS

Go to End

2 Posts   1664 Views


Community Member, 16 Posts

11 April 2009 at 2:39am

Edited: 11/04/2009 2:43am

Fatal error: Cannot use string offset as an array in /home2/spencer/public_html/sapphire/core/i18n.php on line 859

line 859~$transEntity = isset($lang[$locale][$class][$realEntity]) ? $lang[$locale][$class][$realEntity] : $string;

above is the msg i got from the fatal ,
could anyone here please tell me what wrong ??
Thx in advance ~


Community Member, 6 Posts

27 April 2009 at 2:26am

I have had that problem too and it had me in some panic (inspite of backups!).

I have changed the line to read :

$transEntity = $string

Basically disabling translations (I think ;) . This is for sure not the most elegant solution, but it works. I still hope for somebody to come up with a better solution ....