Hosting Articles Technical Articles

PHP Strict Standards: Non-static method JTable::getInstance() should not be called statically, assuming $this from incompatible context

 

 

PHP Strict Standards:  Non-static method JTable::getInstance() should not be called statically, assuming $this from incompatible context

Description:

Recently built Joomla based website is working fine in one hosting server and the is not working in other hosting server.While accessing the website it is giving the below error,

PHP Strict Standards:  Non-static method JTable::getInstance() should not be called statically, assuming $this from incompatible context

Non-static method JTable getInstance should not be called

Solution:

In general Joomla version below 2 is will supports php versions 5.3.

– In primary case update the Joomla version will clear the errors and website will live.

– Updated hosting providers are giving defulat php version set to 5.4. Check the php settings and change the version to 5.3 will resolve the issue.php settings like soap,eaccelator,ioncube_loader,mcrypt should be enable.

Tags:php settings,Joomla,Joomla settings,Php settings,Joomla install,Joomla configuration