crounauer Posted July 12, 2005 Share Posted July 12, 2005 Hi, I have just recently installed the following contributions successfully, well so I thought..... Ultimate SEO URLs v2.1b Add ISBN UPC SKU v1.1b SiteMap M2-2.3 Headertags v2.5.3 They all work perfectly but now I get the following errors when I try to delete a customer. Warning: reset(): Passed variable is not an array or object in /home/httpd/vhosts/michelthomascourses.co.uk/httpdocs/admin/includes/classes/object_info.php on line 17 Warning: Variable passed to each() is not an array or object in /home/httpd/vhosts/michelthomascourses.co.uk/httpdocs/admin/includes/classes/object_info.php on line 18 I wonder if anybody would be able to shed any light on the problem? Thank you in advance. Simon. Quote Gynogapod - Great Products, Tiny Prices! Link to comment Share on other sites More sharing options...
Guest Posted July 12, 2005 Share Posted July 12, 2005 This problem is usually caused by having edited customer info manually with phpmyadmin. Matti Quote Link to comment Share on other sites More sharing options...
crounauer Posted July 12, 2005 Author Share Posted July 12, 2005 This problem is usually caused by having edited customer info manually with phpmyadmin. Matti <{POST_SNAPBACK}> Hi Matti, Thank you for your reply. Would you be able to point me in a direction to start looking and what id be looking for? Simon. Quote Gynogapod - Great Products, Tiny Prices! Link to comment Share on other sites More sharing options...
Guest Posted July 14, 2005 Share Posted July 14, 2005 The problem comes about when only part of the customers info is deleted from the database - from memory if you delete a customers address_book entries but the customer remains in the customers table you will get this error. HTH Matti Quote Link to comment Share on other sites More sharing options...
Adyx Posted November 15, 2006 Share Posted November 15, 2006 This might fix issues of this nature... If you have migrated you old customer data across to a new database. Double check that the 'customers_default_address_id' inside the 'customers' table is not all the same value all the way through. I found i was getting this error alert in admin when i tried to view a customers address etc., and when i checked in the DB all the 'customers_default_address_id' values were set to 1.. I edit them in sequence and it appears to have fixed the problem. :rolleyes: From what i can tell the value of 'customers_default_address_id' should be auto incremented.. and has no other reference.. Please let me know if this is wrong though. 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.