I have become a webmaster on an old forum and inherited a major problem. Basically we get error logs approx 750mb every day like this, and within days our domain is full.
[21-Aug-2018 06:17:50 UTC] PHP Strict Standards: Non-static method JLoader::import() should not be called statically in /home/xx/public_html/xx/libraries/joomla/import.php on line 29 [21-Aug-2018 06:17:50 UTC] PHP Strict Standards: Non-static method JLoader::register() should not be called statically in /home/xx/public_html/xx/libraries/loader.php on line 71 [21-Aug-2018 06:17:50 UTC] PHP Strict Standards: Non-static method JLoader::import() should not be called statically in /home/xx/public_html/xx/libraries/joomla/import.php on line 32 [21-Aug-2018 06:17:50 UTC] PHP Strict Standards: Non-static method JLoader::register() should not be called statically in /home/xx/public_html/xx/libraries/loader.php on line 71 [21-Aug-2018 06:17:50 UTC] PHP Strict Standards: Non-static method JLoader::load() should not be called statically in /home/xx/public_html/xx/libraries/loader.php on line 161 [21-Aug-2018 06:17:50 UTC] PHP Strict Standards: Non-static method JLoader::register() should not be called statically in /home/xx/public_html/xx/libraries/loader.php on line 138 [21-Aug-2018 06:17:50 UTC] PHP Strict Standards: Non-static method JRequest::clean() should not be called statically in /home/xx/public_html/xx/libraries/joomla/import.php on line 33 [21-Aug-2018 06:17:50 UTC] PHP Strict Standards: Non-static method JRequest::_cleanArray() should not be called statically in /home/xx/public_html/xx/libraries/joomla/environment/request.php on line 463 [21-Aug-2018 06:17:50 UTC] PHP Strict Standards: Non-static method JRequest::_cleanArray() should not be called statically in /home/xx/public_html/xx/libraries/joomla/environment/request.php on line 464 [21-Aug-2018 06:17:50 UTC] PHP Strict Standards: Non-static method JRequest::_cleanArray() should not be called statically in /home/xx/public_html/xx/libraries/joomla/environment/request.php on line 465 [21-Aug-2018 06:17:50 UTC] PHP Strict Standards: Non-static method JRequest::_cleanArray() should not be called statically in /home/xx/public_html/xx/libraries/joomla/environment/request.php on line 466*
So far I have tried to add php_flag display_errors Off to the .htaccess and it gave me a 500 warning when trying to load the web site
We have Joomla 1.5.26 and php 5.6
Would it be a case of rolling back to php 5.4 or do I add some code to the 5.6 php.ini file Incidentally its named php.ini2 ????
Sorry for my inexperience but I am trying my best to sort this. Thanks Terry