Error 500, With Php 5.4.31

Hello, recently the web hosting upgraded from PHP 5.3 to 5.4.31.

And a lot of error starts.

The error are like this:

Error 500

Undefined index: id

Undefined index: id


Stack trace:




#1 /opt/lampp/htdocs/yii-1.1.12/framework/web/CBaseController.php(174):


#2 /opt/lampp/htdocs/sgav2/protected/views/site/index.php(181):


How can I avoid those errors?

Im trying to change error_reportig parameters, but I have no luck.

Any sugestion?

Best regards

My Yii version is 1.1.12.