Phoca

Phoca

Strict Standards: Non-static method

If you get following warning(s) on your site:

Strict Standards: Non-static method ... on line XX

and you are running Joomla! 2.5 or 3 or any later version, go to your Joomla! Global Configuration - Server and set the parameter Error Reporting no None.


Strict Standards warnings are no errors, these are messages for developers and such messages should not be enabled on production site.

 

Changing php error reporting on server side (php.ini)

You can disable Strict Standards on your server too, in php settings.

Go to your php.ini file and disable Strict Standards on your server.

The attribute is called: error_reporting

Example:

From:

error_reporting = E_ALL  | E_STRICT

To:

error_reporting = E_ALL | E_DEPRECATED
,

(of course Error Reporting parameter in Joomla! Global Configuration can overwrite this settings)

 

If you are not able to change the php.ini on your server, try to ask your webhosting provider.

 
Joomla! extensions were written for PHP4 and PHP 5. Mostly PHP4 code caused these warnings. It is not possible to change all the code to new rules set in PHP 5.3, PHP 5.4 or newest immediately) - e.g. if some extension has over 50.000 lines of code. Priority is running the extensions on newest Joomla! then these messages can be managed.
 
 

Phoca News Gadget

Phoca Facebook Phoca on Facebook:
Phoca Twitter Phoca on Twitter:
Phoca - Follow us on Twitter
Phoca Google Plus Phoca on Google+:
Phoca - Follow us on Google Plus
Phoca YouTube Phoca on YouTube:
Phoca on YouTube
Phoca Pinterest Phoca on Pinterest:
Phoca on Pinterest
Phoca News Phoca News:
Phoca News RSS
Phoca Latest Files Phoca Latest Files:
Phoca News RSS

Phoca Forum - Latest Topics