Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Error Invalid argument supplied for foreach() in admin/categories.php on line 1016


Recommended Posts

Posted

I am getting errors when adding a new product.... also my category pics are not working for subcategories.

Basically every category has to be selected from the left table (standard os setup) - though at least two categories show the subcategories pics as a new table above the products. What is wrong?

 

This is the error:

Warning: Invalid argument supplied for foreach() in /home/bonzabuy/public_html/admin/categories.php on line 1016

 

This is line 1016:

 

<td class="main"><?php echo TEXT_PRODUCTS_IMAGE; ?></td>

 

 

no mention of 'for each' so I am lost...

Are there settings to enable the picture subcategories?

 

Any help greatly appreciated :)

Posted

Sorry forgot to mention I am using Category Description contrib & have category fields installed as well as the mrsp contribs. Strange that it works in some of my categories & not others...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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...