Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

PLEASE HELP ERROR IN ADMIN!


harshy

Recommended Posts

Posted

Warning: array_merge() [function.array-merge]: Argument #3 is not an array in /home/12086/pwsh0p/www.pureworldshop.com/public_html/admin/reviews.php on line 215

 

Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home/12086/pwsh0p/www.pureworldshop.com/public_html/admin/reviews.php on line 216

 

Warning: array_merge() [function.array-merge]: Argument #3 is not an array in /home/12086/pwsh0p/www.pureworldshop.com/public_html/admin/reviews.php on line 216

 

Warning: reset() [function.reset]: Passed variable is not an array or object in /home/12086/pwsh0p/www.pureworldshop.com/public_html/admin/includes/classes/object_info.php on line 17

 

Warning: Variable passed to each() is not an array or object in /home/12086/pwsh0p/www.pureworldshop.com/public_html/admin/includes/classes/object_info.php on line 18

 

HI CAN ANYONE TELL ME IF THEY HAVE A FIX FOR THE ABOVE ERRORS?

Posted

The first error may well be what is causing all the errors. Its usually the case.

 

If you look at the errors displayed you will see that:

Argument #3 is not an array in /home/12086/pwsh0p/www.pureworldshop.com/public_html/admin/reviews.php on line 215

Argument #3 is not an array in /home/12086/pwsh0p/www.pureworldshop.com/public_html/admin/reviews.php on line 216

 

Both these errors require the product_id to perform the query and set the array. I would guess that one of your reviews is not supplying this information, remove that review and see what happens.

You can check this by going to Admin Panel catalog/reviews. Do all of the reviews listed display a product that is in your store?

 

Another way to do this is to check your database table 'reviews' column 'products_id'. Are any of these blank or do any of the values shown not match a product id of any products in your store?

If so then delete the entry from the database.

 

IMPORTANT!

Be sure and do a database backup first - prior to any changes.

Lloyd

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...