helldog2004 Posted May 16, 2012 Share Posted May 16, 2012 (edited) Hi prestashop users, I am encountering once again a problem. This time it is the news module I just payed for in prestashop add-ons website. I am encountering the next error: Warning: Invalid argument supplied for foreach() in /customers/5/d/0/genncompsys.com/httpd.www/gennwinkel/Development/www.genncompsys.com/modules/news/class/news.class.php on line 188 And if I try to post a new news topic it says this in the BO: There was an error with the post insertion/update Don't know what happened here or what should be done. Check website: http://www.genncomps...genncompsys.com Thanks in advance! Edited May 16, 2012 by helldog2004 (see edit history) Link to comment Share on other sites More sharing options...
Mike Kranzler Posted May 16, 2012 Share Posted May 16, 2012 Hi helldog, Have you tried contacting the developer of this module directly? -Mike Link to comment Share on other sites More sharing options...
helldog2004 Posted May 16, 2012 Author Share Posted May 16, 2012 Yes I have send an e-mail directly to the developer via Prestashop website. Yet no response yet, would be nice if someone of Prestashop or a member of the forum could help me out with this problem before he would even had a change to answer! Regards Helldog! Link to comment Share on other sites More sharing options...
mor500 Posted May 16, 2012 Share Posted May 16, 2012 helldog2004 see your Site in Explor FireFox Good Explor is bad like my some Error no know why Link to comment Share on other sites More sharing options...
helldog2004 Posted May 16, 2012 Author Share Posted May 16, 2012 helldog2004 see your Site in Explor FireFox Good Explor is bad like my some Error no know why Yeah cheers didn't looked at the I.E before, this is probably and error because of my news module.. Okay uninstalled news module and problem seems to be solved.. I need to find a fix for this news module, else I can't put my website online anymore ... :x Link to comment Share on other sites More sharing options...
mor500 Posted May 16, 2012 Share Posted May 16, 2012 me to get this Error XD Link to comment Share on other sites More sharing options...
helldog2004 Posted May 16, 2012 Author Share Posted May 16, 2012 me to get this Error XD You have the same error on your page with this news module v2.2? Link to comment Share on other sites More sharing options...
mor500 Posted May 16, 2012 Share Posted May 16, 2012 not only the Error whit the menu so i change Menu and now is ok if you need fixed you menu you need new menu mod you need? Link to comment Share on other sites More sharing options...
helldog2004 Posted May 16, 2012 Author Share Posted May 16, 2012 Nah the menu works fine again (Press F5) and it will be fixed back to normal. But the news module is not realy working together at the moment, till I find the problem that ruins my page! Link to comment Share on other sites More sharing options...
helldog2004 Posted May 16, 2012 Author Share Posted May 16, 2012 Okay I found the problem my self If anyone download the News Blog & Newsletter module go to modules/news/class and open news.class.php on line 188 you will find this code: foreach( $post as $element => $value ) Change it to foreach( (array)$post as $element => $value ) Problem solved also for in I.E Thanks and cheers Helldog! 1 Link to comment Share on other sites More sharing options...
mor500 Posted May 16, 2012 Share Posted May 16, 2012 Good Job Link to comment Share on other sites More sharing options...
Mike Kranzler Posted May 16, 2012 Share Posted May 16, 2012 Thanks for the update helldog! Happy selling! -Mike Link to comment Share on other sites More sharing options...
helldog2004 Posted May 16, 2012 Author Share Posted May 16, 2012 I got a new error on the news section I would like to share for members who are using the same module. If you changed the table names from PS_ to something you like, as I have GenNshop_ you might encounter a next problem. You can't upload news articles from BO to FO. Do this: Go to Modules/News/sql and open create.sql and drop.sql Change all PS_ to whatever your tables are called in Database! Link to comment Share on other sites More sharing options...
Recommended Posts