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

TOPIC: Warning: Invalid argument supplied for foreach()

Warning: Invalid argument supplied for foreach() 12 years 2 months ago #18726

  • steveshore
  • steveshore's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 19
  • Thank you received: 0
I have Multiple Event Cart Option enabled and after registering for an event if I click Register for another event I get the following error:

/home/gbr/public_html/register/administrator/components/com_dtregister/models/event.php on line 746

Warning: Invalid argument supplied for foreach() in /home/gbr/public_html/register/administrator/components/com_dtregister/models/event.php on line 3107

Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home/gbr/public_html/register/administrator/components/com_dtregister/models/event.php on line 3123

Warning: Invalid argument supplied for foreach() in /home/gbr/public_html/register/administrator/components/com_dtregister/models/event.php on line 3107

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/gbr/public_html/register/administrator/components/com_dtregister/models/event.php on line 3131

Warning: Invalid argument supplied for foreach() in /home/gbr/public_html/register/administrator/components/com_dtregister/models/event.php on line 3107

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/gbr/public_html/register/administrator/components/com_dtregister/models/event.php on line 3131

Warning: Invalid argument supplied for foreach() in /home/gbr/public_html/register/administrator/components/com_dtregister/models/event.php on line 3107

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/gbr/public_html/register/administrator/components/com_dtregister/models/event.php on line 3131

Warning: Invalid argument supplied for foreach() in /home/gbr/public_html/register/administrator/components/com_dtregister/models/event.php on line 3107

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/gbr/public_html/register/administrator/components/com_dtregister/models/event.php on line 3131

Warning: Invalid argument supplied for foreach() in /home/gbr/public_html/register/administrator/components/com_dtregister/models/event.php on line 3107

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/gbr/public_html/register/administrator/components/com_dtregister/models/event.php on line 3131


I also cannot view the cart after registering. It takes me to this url, /index.php?option=com_dtregister&Itemid=0, which just shows the homepage.

Any ideas?

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

Last Edit: by steveshore.

Warning: Invalid argument supplied for foreach() 12 years 2 months ago #18728

  • steveshore
  • steveshore's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 19
  • Thank you received: 0
Oops forgot.

DT Register: v2.8
Joomla: v2.5.6

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

Warning: Invalid argument supplied for foreach() 12 years 2 months ago #18744

  • steveshore
  • steveshore's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 19
  • Thank you received: 0
I am running PHP version 5.315 could this have anything to do with the issue?

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

Warning: Invalid argument supplied for foreach() 12 years 2 months ago #18753

  • rjeffl
  • rjeffl's Avatar
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 28
  • Thank you received: 0
I have had the same issue.
- Joomla 2.5.6 (when this error occurred)
- PHP 5.2
- DTregister 2.8.0

We had a user (running Safari) go to register for a second event before checking out, and the following error dump occurred:

Warning: Invalid argument supplied for foreach() in /hsphere/local/home/mowogo/mowogo.org/joom25/administrator/components/com_dtregister/models/event.php on line 746 Warning: Invalid argument supplied for foreach() in /hsphere/local/home/mowogo/mowogo.org/joom25/administrator/components/com_dtregister/models/event.php on line 3107 Warning: array_merge(): Argument #2 is not an array in /hsphere/local/home/mowogo/mowogo.org/joom25/administrator/components/com_dtregister/models/event.php on line 3123 Warning: Invalid argument supplied for foreach() in /hsphere/local/home/mowogo/mowogo.org/joom25/administrator/components/com_dtregister/models/event.php on line 3107 Warning: array_merge(): Argument #1 is not an array in /hsphere/local/home/mowogo/mowogo.org/joom25/administrator/components/com_dtregister/models/event.php on line 3131 Warning: array_merge(): Argument #2 is not an array in /hsphere/local/home/mowogo/mowogo.org/joom25/administrator/components/com_dtregister/models/event.php on line 3131 Warning: Invalid argument supplied for foreach() in /hsphere/local/home/mowogo/mowogo.org/joom25/administrator/components/com_dtregister/models/event.php on line 3107 Warning: array_merge(): Argument #1 is not an array in /hsphere/local/home/mowogo/mowogo.org/joom25/administrator/components/com_dtregister/models/event.php on line 3131 Warning: array_merge(): Argument #2 is not an array in /hsphere/local/home/mowogo/mowogo.org/joom25/administrator/components/com_dtregister/models/event.php on line 3131 Warning: Invalid argument supplied for foreach() in /hsphere/local/home/mowogo/mowogo.org/joom25/administrator/components/com_dtregister/models/event.php on line 3107 Warning: array_merge(): Argument #1 is not an array in /hsphere/local/home/mowogo/mowogo.org/joom25/administrator/components/com_dtregister/models/event.php on line 3131 Warning: array_merge(): Argument #2 is not an array in /hsphere/local/home/mowogo/mowogo.org/joom25/administrator/components/com_dtregister/models/event.php on line 3131 Warning: Invalid argument supplied for foreach() in /hsphere/local/home/mowogo/mowogo.org/joom25/administrator/components/com_dtregister/models/event.php on line 3107 Warning: array_merge(): Argument #1 is not an array in /hsphere/local/home/mowogo/mowogo.org/joom25/administrator/components/com_dtregister/models/event.php on line 3131 Warning: array_merge(): Argument #2 is not an array in /hsphere/local/home/mowogo/mowogo.org/joom25/administrator/components/com_dtregister/models/event.php on line 3131 Warning: Invalid argument supplied for foreach() in /hsphere/local/home/mowogo/mowogo.org/joom25/administrator/components/com_dtregister/models/event.php on line 3107 Warning: array_merge(): Argument #1 is not an array in /hsphere/local/home/mowogo/mowogo.org/joom25/administrator/components/com_dtregister/models/event.php on line 3131 Warning: array_merge(): Argument #2 is not an array in /hsphere/local/home/mowogo/mowogo.org/joom25/administrator/components/com_dtregister/models/event.php on line 3131 Warning: Invalid argument supplied for foreach() in /hsphere/local/home/mowogo/mowogo.org/joom25/administrator/components/com_dtregister/models/event.php on line 3107 Warning: array_merge(): Argument #1 is not an array in /hsphere/local/home/mowogo/mowogo.org/joom25/administrator/components/com_dtregister/models/event.php on line 3131 Warning: array_merge(): Argument #2 is not an array in /hsphere/local/home/mowogo/mowogo.org/joom25/administrator/components/com_dtregister/models/event.php on line 3131

After restarting registration, the cart seems to contain both events.
Subsequent pages like the credit card payment form seemed to have the css messed up, but this could have been due to the spewed warning messages.

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

Warning: Invalid argument supplied for foreach() 12 years 1 month ago #19022

  • sh0rtchica
  • sh0rtchica's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 13
  • Thank you received: 0
Experiencing a similar issue here during registration, I just submitted a support ticket but am also bumping this thread in case any of you found easy solutions!

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

Warning: Invalid argument supplied for foreach() 12 years 1 month ago #19024

  • steveshore
  • steveshore's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 19
  • Thank you received: 0
I was able to get most of my issues resolved through support tickets, but sometimes takes a day or 2 to get a response.

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

  • Page:
  • 1
  • 2
Time to create page: 0.170 seconds