Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: When deleting order from cart, receive invalid argument erro

When deleting order from cart, receive invalid argument erro 11 years 2 months ago #19820

  • troykristoffer
  • troykristoffer's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 5
  • Thank you received: 0
When a customer deletes an order from the cart, before checking out, we get the following error message:

Warning: Invalid argument supplied for foreach() in /<site home>/components/com_dtregister/controllers/event.php on line 528


However, it actually does delete the order from the cart successfully. It's just an annoying error.

Here is what line 528 says:

528: foreach(DT_Session::get('Setting.User') as $key => $user) {
528: DT_Session::set('Setting.User.'.$key.".Index" ,$key);


Using the latest of both DTRegister and Joomla.
1.5.26 &2.7.21 respectively.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.121 seconds