Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Can not delete customers, getting warning


Recommended Posts

Hi --


I'm in admin, when trying to delete the test customer files I created the following message appears:


Warning: reset() Passed variable is not an array or object in

/home/myshop.com/admin/includes/classes/object_info.php on line 17


Warning: Variable passed to each() is not an array or object in

/home/myshop.com/admin/includes/classes/object_info.php on line 18




I've located the object_info.php file and this is the code on the page - if anyone knows how I can fix this it would be greatly appreciated:







osCommerce, Open Source E-Commerce Solutions



Copyright © 2003 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);





Link to comment
Share on other sites


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

  • Create New...