Dirty Butter Posted April 30, 2013 Share Posted April 30, 2013 [30-Apr-2013 08:13:37] PHP Warning: Invalid argument supplied for foreach() in /home/estates/public_html/admin/sources/products.index.inc.php on line 1083 [30-Apr-2013 08:13:37] PHP Warning: implode() [<a href='http://docs.php.net/manual/en/function.implode.php'>function.implode.php</a>]: Invalid arguments passed in /home/estates/public_html/admin/sources/products.index.inc.php on line 1097 [30-Apr-2013 08:13:37] PHP Warning: Invalid argument supplied for foreach() in /home/estates/public_html/admin/sources/products.index.inc.php on line 1101 Here are the corresponding lines in products.index.inc.php: foreach($option_matrix as $matrix_values) { $delete_query = "UPDATE `".$GLOBALS['config']->get('config', 'dbprefix')."CubeCart_option_matrix` SET `status` = 0 WHERE `product_id` = $product_id AND `options_identifier` NOT IN ('".implode("','",$possible)."')"; foreach($smarty_data['option_matrix']['all_possible'] as $option_group) { Cache is currently turned off and Debug is on. I do NOT have any options in this 5.2.2 estates store. Could that be why I see these error messages when I open a product in Admin (no error message when looking at the item as a customer)? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.