Jump to content

Warning: Function s() is deprecated in /home/h3ll0/public_html/modules/productadditionaltabs/product


jayp1
 Share

Recommended Posts

Hi

 

I have this problem when seeing products page :

 

Warning: Function s() is deprecated in /home/h3ll0/public_html/modules/productadditionaltabs/productadditionaltabs.php on line 661
in /home/h3ll0/public_html/classes/Tools.php on line 1845

Warning: Function s() is deprecated in /home/h3ll0/public_html/modules/productadditionaltabs/productadditionaltabs.php on line 684
in /home/h3ll0/public_html/classes/Tools.php on line 1845

Warning: Function s() is deprecated in /home/h3ll0/public_html/modules/productadditionaltabs/productadditionaltabs.php on line 696
in /home/h3ll0/public_html/classes/Tools.php on line 1845

Warning: Function s() is deprecated in /home/h3ll0/public_html/modules/productadditionaltabs/productadditionaltabs.php on line 661
in /home/h3ll0/public_html/classes/Tools.php on line 1845

Warning: Function s() is deprecated in /home/h3ll0/public_html/modules/productadditionaltabs/productadditionaltabs.php on line 723
in /home/h3ll0/public_html/classes/Tools.php on line 1845

Warning: Function s() is deprecated in /home/h3ll0/public_html/modules/productadditionaltabs/productadditionaltabs.php on line 735
in /home/h3ll0/public_html/classes/Tools.php on line 1845

 

 

 

Any help?

Thanks

Share this post


Link to post
Share on other sites

Seems that it uses this function: (from classes.db.Db.php)

 

/**
* @deprecated 1.5.0
*/
public static function s($sql, $use_cache = true)
{
Tools::displayAsDeprecated();
return Db::getInstance()->executeS($sql, true, $use_cache);
}
 
It warns that function s(...) should not be used anymore. then it calls the function that can be used instead.
You could change it into the called upon function directly and so skip the warning.
 
My 2 cents,
pascal

Share this post


Link to post
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
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More