Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Error Message When I edit Customers


Guest

Recommended Posts

Posted

Hello All,

 

Can someone please help? When I go into customers select the customer and then select edit I get the following error.

 

Warning: Variable passed to reset() is not an array or object in /home/anything/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/anything/public_html/catalog/admin/includes/classes/object_info.php on line 18

 

Can someone please help me?

 

Thanks in advance

Mike.

Posted

Found out what the problem was so no need to reply now Thanks anyway Mikeadee

Posted

I fixed this by using PHPAdmin and then going into the customer database and in the field customers_default_address_id and found that some customers had 0 and others 1 I changed them all to 1 and it now works fine.

 

Happy to help

Mikeadee

  • 4 weeks later...
Posted

Hello :lol: i too got that error, changed the settings like you said. it fixed existing customers info that was in error, but new customers are now receiving this error

 

Warning: htmlspecialchars() expects parameter 1 to be string, array given in /home/prgsout/public_html/topdog/includes/functions/general.php on line 42

 

Warning: htmlspecialchars() expects parameter 1 to be string, array given in /home/prgsout/public_html/topdog/includes/functions/general.php on line 42

 

thanks for any help

  • 2 weeks later...
  • 2 weeks later...
Posted
Same problem here.  Default is set to 1 so create_account.php is setting to 0?  Can't find where though.

 

 

I;m getting the same error on checkout now

 

Warning: htmlspecialchars() expects parameter 1 to be string, array given in /home/bbj001/public_html/includes/functions/general.php on line 42

 

seems like it happened after i installed paypal ipn, but i have it working great on many other sites. I even copied the working files over to this site where i'm getting the error and it hasnt resolved anything. Using the latest release of the paypal ipn contribution.

 

anyone have any ideas

Archived

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

×
×
  • Create New...