{"id":2768475,"date":"2012-05-24T19:23:02","date_gmt":"2012-05-24T19:23:02","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/plugin-event-espresso-lite-event-management-and-registration-system-sql-syntax-error\/"},"modified":"2016-08-20T12:30:20","modified_gmt":"2016-08-20T12:30:20","slug":"plugin-event-espresso-lite-event-management-and-registration-system-sql-syntax-error","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/plugin-event-espresso-lite-event-management-and-registration-system-sql-syntax-error\/","title":{"rendered":"[Plugin: Event Espresso Lite &#8211; Event Management and Registration System] sql  syntax error"},"content":{"rendered":"<p>Ive  just  installed  the  most  recent  version  of  event espresso lite and get this error  when I submit  the  registration  details.<\/p>\n<p>Thanks<\/p>\n<p>Warning: Invalid argument supplied for foreach() in \/home\/gloucest\/public_html\/wp-content\/plugins\/event-espresso-free\/includes\/process-registration\/add_attendees_to_db.php on line 460<\/p>\n<p>WordPress database error: [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 &#8216;) ORDER BY q.id ASC&#8217; at line 7]<br \/>\nSELECT q.*, qg.group_name FROM wp_events_question q JOIN wp_events_qst_group_rel qgr on q.id = qgr.question_id JOIN wp_events_qst_group qg on qg.id = qgr.group_id WHERE qgr.group_id in () ORDER BY q.id ASC<\/p>\n<p>Warning: Invalid argument supplied for foreach() in \/home\/gloucest\/public_html\/wp-content\/plugins\/event-espresso-free\/includes\/functions\/attendee_functions.php on line 38<\/p>\n<p>WordPress database error: [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 &#8216;) ORDER BY q.id ASC&#8217; at line 7]<br \/>\nSELECT q.*, qg.group_name FROM wp_events_question q JOIN wp_events_qst_group_rel qgr on q.id = qgr.question_id JOIN wp_events_qst_group qg on qg.id = qgr.group_id WHERE qgr.group_id in () ORDER BY q.id ASC<\/p>\n<p>https:\/\/wordpress.org\/extend\/plugins\/event-espresso-free\/<\/p>\n","protected":false},"template":"","class_list":["post-2768475","topic","type-topic","status-closed","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/2768475","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/2768475\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=2768475"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}