Warning: Invalid argument supplied for foreach() in packages/core_commerce/blocks/product_list/controller.php on line 222

Permalink Browser Info Environment
Hi,

After updating the corecommerce add-on I get the following warning: Warning: Invalid argument supplied for foreach() in /home/esperanza/domains/laesperanza.nl/public_html/packages/core_commerce/blocks/product_list/controller.php on line 222

No products are shown, so webshop is now not visible, help! I did upload all original files, picked the standard product-list tempate. But also selecting a different will not help.

I hope someone can help me.

Thank you!

Type: Discussion
Status: In Progress
annekeh
View Replies:
annekeh replied on at Permalink Reply
annekeh
I solved the problem by removing the product list and adding a new one. When editing the product list with error didn't have any positive effect. Also all settings were gone.
frz replied on at Permalink Reply
frz
Glad to hear you got this resolved!
spencerhudson replied on at Permalink Reply
spencerhudson
anyone else run into this problem , i've a large site and don't want to have to rebuld each list

concrete5 Environment Information

# concrete5 Version
5.6.3.2

# concrete5 Packages
Composer Blog (1.0.3), eCommerce (2.8.13), esperanza (1.0), iDeal Payment Gateway (1.01), Manual Nav (1.2).

# concrete5 Overrides
blocks/autonav, languages/_notes, languages/nl_NL, models/attribute

# concrete5 Cache Settings
Block Cache - On
Overrides Cache - Off
Full Page Caching - Off

# Server Software
Apache/2

# Server API
apache2handler

# PHP Version
5.5.20

# PHP Extensions
apache2handler, bcmath, calendar, Core, ctype, curl, date, dom, ereg, fileinfo, filter, ftp, gd, gettext, hash, iconv, intl, json, libxml, mbstring, mcrypt, mhash, mysql, mysqli, mysqlnd, openssl, pcre, PDO, pdo_mysql, pdo_sqlite, Phar, posix, Reflection, session, SimpleXML, soap, sockets, SPL, sqlite3, standard, tokenizer, xml, xmlreader, xmlwriter, xsl, Zend OPcache, zip, zlib.

# PHP Settings
max_execution_time - 600

Browser User-Agent String

Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:39.0) Gecko/20100101 Firefox/39.0

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.