Illegal string offset 'class' + PHP 5.4.45 + Yii 1.1


I have app with YII 1.1 working with PHP 5.3.29 with CPANEL + EASY PHP. It’s working.

I need to updgrade into PHP 5.4.45, but when we do. The application stopped working and start giving the error like the print screen.

I already used the same version of YII + PHP in pc and it’s working.

Any ideas?