Dr.Sydorenko Posted December 12, 2013 Share Posted December 12, 2013 Good day I have errors in my logs: [Thu Dec 12 12:45:12 2013] [warn] [client x.x.x.x] mod_fcgid: stderr: PHP Warning: Invalid argument supplied for foreach() in /sata2/home/users/goldox/www/www.goldox.com.ua/modules/gamification/classes/Advice.php on line 96, referer: http://www.goldox.com.ua/admyn/index.php?controller=AdminPerformance&token=4b57a920cc... Prestashop version is 1.5.6 and 1.5.6.1 What's wrong and what must I do? Link to comment Share on other sites More sharing options...
Radu Posted December 12, 2013 Share Posted December 12, 2013 I don't think you need to worry about that. The error is because the variable passed to a foreach statement is not an array or it's empty. You can edit the plugin to fix the issue but I don't think it's worth it. Link to comment Share on other sites More sharing options...
Dr.Sydorenko Posted December 12, 2013 Author Share Posted December 12, 2013 As I understand - it's normal? Link to comment Share on other sites More sharing options...
Radu Posted December 12, 2013 Share Posted December 12, 2013 It's a very common development error that doesn't do any harm (only that it shows this error) the fix would be to check if the array is not empty But anyway that plugin is called Merchant Expertise that doesn't do you any good so you can uninstall it. In this way you also avoid the error Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now