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

E

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.

About the author

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.

About Author

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.

Follow Me