Jump to content

Warning "Strict Standards: Declaration of Tools::redirect()"


Recommended Posts

Hi,

 

 

I am getting new warning as below, I know this is because of PHP versions, but lately I didn't do any update to PHP version and today I suddently noticed this waring in the site. How can I supress this warning?

 

Strict Standards: Declaration of Tools::redirect() should be compatible with ToolsCore::redirect($url, $baseUri = '/') in /www/domainname.com/public_html/override/classes/Tools.php on line 27

 

--Jena

Link to comment
Share on other sites

unless you are a coder...or want to get into the code you should just turn off errors...having errors on can mess up little stuff like add to cart...etc

 

config/config.inc.php

 

set display errors off

 

you can also change your php.ini to turn off strict standards reporting...(google that)

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...