Lots of Strict Error Message since PHP 5.4 upgrade

Create fresh and professional look of personal or blog websites with AppsPro Tech
GK User
Tue Aug 28, 2012 2:38 am
Hi

I installed the quick version and getting many of these error messages since I upgraded to php 5.4

Strict Standards: Only variables should be assigned by reference in /var/www/localhost/htdocs/joomla-evolve2/templates/gk_appsprotech/lib/framework/helper.cache.php on line 93
Strict Standards: Non-static method JSite::getMenu() should not be called statically in /var/www/localhost/htdocs/joomla-evolve2/components/com_k2/router.php on line 17

I got error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT in my php.ini

Thanks
User avatar
Fresh Boarder

GK User
Tue Aug 28, 2012 7:02 am
Please open the template index.php file and remove following lines:
Code: Select all
// enable showing errors in PHP
ini_set('error_reporting', E_ALL);
ini_set('display_errors','On');


it probably overrides your php.ini rules.
User avatar
Administrator

GK User
Thu Aug 30, 2012 11:03 pm
Thanks. That worked.
User avatar
Fresh Boarder


cron