guest* Posted March 29, 2011 Share Posted March 29, 2011 I have an error-warning after somebody has logged-in into his account:Warning: Invalid argument supplied for foreach() in ...\classes\Product.php on line 2667.The repective code (standard presta) from line 2664 to 2671 is public static function getProductsProperties($id_lang, $query_result) { $resultsArray = array(); foreach ($query_result AS $row) if ($row2 = Product::getProductProperties($id_lang, $row)) $resultsArray[] = $row2; return $resultsArray; } What is here wrong ? Link to comment Share on other sites More sharing options...
Thomas Didierjean Posted March 29, 2011 Share Posted March 29, 2011 Is your website online and can I access it? If not, can you send me a screenshot? Link to comment Share on other sites More sharing options...
guest* Posted March 29, 2011 Author Share Posted March 29, 2011 Hi,no sorry, only via Team Viewer. Is not yet online and cloned on two different IP's. The error is also only showing on Header of IE8, no other browser shows this (Opera, FF, Chorme, all latest version).On my version 1.3.6 there is also no error, so should be something changed in the Product.php on /classes of the 1.4.0.17.Conny Link to comment Share on other sites More sharing options...
guest* Posted March 30, 2011 Author Share Posted March 30, 2011 solved by myself. Problem was caused by an non smarty3 compatible extra module. Now all it's ok. Link to comment Share on other sites More sharing options...
ScubaLessonsInc Posted April 6, 2011 Share Posted April 6, 2011 Can you please share the name of the non compatible extra module as I have the same error and it would be nice to fix it by simply deleting a module that I may not need. Thanks, T Link to comment Share on other sites More sharing options...
guest* Posted April 6, 2011 Author Share Posted April 6, 2011 sorry I don't remember. I discarted many modules... (Only the paid one I let). Besides this I took the standard Theme and again I worked out my theme.You can try to disable each non presta 1.4.0.17 module and activate one by one by checking when message appears. So you can disable the module causing it. Link to comment Share on other sites More sharing options...
ScubaLessonsInc Posted April 8, 2011 Share Posted April 8, 2011 I did find that free block was causing a few querks and issues.. and found an alternative that does the same thing without the issues.. wcontent.. found a link to it here: http://www.prestashop.com/forums/viewthread/81417/general_discussion/how_can_i_duplicate_the_freeblock_module_attached_module_here_dot_ 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