Jump to content

5.2.2 Option Matrix Error Log Messages


Dirty Butter

Recommended Posts

[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)?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...