Deprecated: Non-static method JFactory::getConfig() should not be called (joomla)« Back to Questions List

Hello my joomla shows this error on my screen Deprecated: Non-static method JFactory::getConfig() should not be called statically, assuming $this from incompatible context in /home/koicaalu/public_html/libraries/joomla/environment/uri.php on line 230 Deprecated: Non-static method JURI::getInstance() should not be called statically, assuming $this from incompatible context in /home/koicaalu/public_html/libraries/joomla/environment/uri.php on line 240 Please help
Posted by aliraza170@gmail.com
Asked on September 8, 2016 7:10 am
1

It is Notice, so simplest way is to off the error reporting by using this code

        error_reporting( 0 ) ;
    
Posted by aliraza170@gmail.com
Answered On September 8, 2016 7:13 am