scotch33 Posted May 19, 2009 Posted May 19, 2009 Hi there, I am getting the following error on a site in the admin/customers.php page. Can anyone give me a pointer as to where this is? Thanks Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/eventsgr/public_html/catalog/admin/customers.php on line 733 Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home/eventsgr/public_html/catalog/admin/customers.php on line 735 Warning: reset() [function.reset]: Passed variable is not an array or object in /home/eventsgr/public_html/catalog/admin/includes/classes/object_info.php on line 17 Warning: Variable passed to each() is not an array or object in /home/eventsgr/public_html/catalog/admin/includes/classes/object_info.php on line 18
steve_s Posted May 20, 2009 Posted May 20, 2009 Hi there, I am getting the following error on a site in the admin/customers.php page. Can anyone give me a pointer as to where this is? Thanks Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/eventsgr/public_html/catalog/admin/customers.php on line 733 Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home/eventsgr/public_html/catalog/admin/customers.php on line 735 Warning: reset() [function.reset]: Passed variable is not an array or object in /home/eventsgr/public_html/catalog/admin/includes/classes/object_info.php on line 17 Warning: Variable passed to each() is not an array or object in /home/eventsgr/public_html/catalog/admin/includes/classes/object_info.php on line 18 Hi does it give any error message on updating categories or products ? if yes i think error your getting is cause magic_quotes_gpc is turned off, but if you click back button and redit you will see changes have been if this is so turn error reporting off on them pages
spooks Posted May 20, 2009 Posted May 20, 2009 Likely due to php upgrade, try this: in admin/customers.php find: $customer_info = array_merge($country, $info, $reviews); $cInfo_array = array_merge($customers, $customer_info); replace with: $customer_info = array_merge((array)$country, (array)$info, (array)$reviews); $cInfo_array = array_merge((array)$customers, (array)$customer_info); I would suggest doing a repair in phpMyAdmi Also check your customer fields dont have any invalid entries (browse in phpMyAdmin) Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.