Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

ERROR when editing "customers" by admin panel


Recommended Posts

It is my first time here.




I installed and configured my new shop.


Everything is going fine, but when I try to edit "CUSTOMERS" by the admin panel this Warning messages appears:

Warning: reset(): Passed variable is not an array or object in /home/domain/public_html/shop/admin/includes/classes/object_info.php on line 17


Warning: Variable passed to each() is not an array or object in /home/domain/public_html/shop/admin/includes/classes/object_info.php on line 18



The Warning message appears and the forms come blank, so I can't view or edit any customer information.

When I try to edit as a customer by the "My Account" link on Shop, it goes fine.


The object_info.php file is like this:



$Id: object_info.php,v 2003/02/20 01:03:52 ptosh Exp $


osCommerce, Open Source E-Commerce Solutions



Copyright © 2001 osCommerce


Released under the GNU General Public License



class objectInfo {


// class constructor

function objectInfo($object_array) {


while (list($key, $value) = each($object_array)) {

$this->$key = tep_db_prepare_input($value);







I appreciate any help.




Link to comment
Share on other sites


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

  • Create New...