I've got a project involving Expresso Store, where I'm attempting to simplify the process of updating store products and stock (for the owners of the website) by going outside the ExpressionEngine publish forms and setting up the product entry and stock update process in Channel Forms.
However, though the Store field looks like it's compatible with Channel Forms, on editing an entry, I get this error:
A PHP Error was encountered
Severity: Warning
Message: Invalid argument supplied for foreach()
Filename: Service/ProductsService.php
Line Number: 137
A PHP Error was encountered
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /home/tcisite5/public_html/tci/codeigniter/system/core/Exceptions.php:170)
Filename: libraries/Functions.php
Line Number: 446
In spite of the error, other fields are updated when I submit the Channel Form. But Store fields are not updated.
I'm running ExpressionEngine v2.9.2 - Build Date: 20141004. Also, Store has been updated the new version: 2.5.0. I've also done an optimize/repair on all of my EE database tables through the EE utility.