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

TOPIC: foreach() errors

foreach() errors 12 years 9 months ago #17150

  • gpquebec
  • gpquebec's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 7
  • Thank you received: 0
Hi,

On backend, when I want to add manually a subscription, I have this error :
Warning: Invalid argument supplied for foreach() in /var/www/vhosts/gp-quebec.net/httpdocs/administrator/components/com_dtregister/models/event.php on line 670

Warning: Invalid argument supplied for foreach() in /var/www/vhosts/gp-quebec.net/httpdocs/administrator/components/com_dtregister/models/event.php on line 670

 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and (fe.showed in(1,3) or (fe.showed =-1 and df.showed in(1,3))) and df.publishe' at line 3 SQL=Select fe.id as key1, fe.* , df.id as key2 , df.* , if(fe.showed =-1, fe.showed,fe.showed) as showed , if(fe.showed =-1, fe.required,fe.required) as required ,if(fe.showed =-1, fe.group_behave ,fe.group_behave ) as group_behave From jos_dtregister_fields as df inner join jos_dtregister_field_event as fe on fe.field_id = df.id where fe.event_id= and (fe.showed in(1,3) or (fe.showed =-1 and df.showed in(1,3))) and df.published=1 order by ordering

Warning: Invalid argument supplied for foreach() in /var/www/vhosts/gp-quebec.net/httpdocs/administrator/components/com_dtregister/models/event.php on line 3365


And sometimes, when a client wants to suscribe at one event, he has this error and it's impossible to suscribe.
Warning: Invalid argument supplied for foreach() in /var/www/vhosts/gp-quebec.net/httpdocs/administrator/components/com_dtregister/models/event.php on line 670


Any idea where it's come from ?

Thx, have a nice day.

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

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