Error: Warning: Invalid argument supplied for foreach() in /public_html/plugins/vmcustom/stockable/stockable.php on line 227

Written by Ian Carnaghan · 15 sec read >

This error occurs when you have the Custom, stockable variants plugin in VirtueMart 2.0 enabled for one of the products or all the products on the page where you get the error.

In order to fix this, you will need to remove this plugin from the product/s where the product does not make use of this plugin or does not have any variants/child products assigned to the Custom, stockable variants plugin.

Last Updated On March 25, 2018
Written by Ian Carnaghan
I am a software developer and online educator who likes to keep up with all the latest in technology. I also manage cloud infrastructure, continuous monitoring, DevOps processes, security, and continuous integration and deployment. Profile

Leave a Reply

Notify of