SQL Error message with Events Manager in BuddyPress in My Group/Events Sub-Tab
-
Dear,
When accessing in BuddyPress the My Groups/Events subtab, it says no event, which is correct, but add as well the following error:
WordPress database error: [You have an error in your SQL syntax; check the manual for your MariaDB server version for the correct syntax to use near ' ;) ) AND (
event_private
=0 OR (event_private
=1 AND (group_id
IS NULL OR...' ; at line 3]<br>SELECT DISTINCT 99_em_events.post_id FROM 99_em_events LEFT JOIN 99_em_locations ON 99_em_locations.location_id=99_em_events.location_id WHERE (
event_status=1) AND (
recurrence!=1 OR
recurrenceIS NULL) AND ( event_start >= '2023-01-07 22:39:56' ; OR (event_end >= '2023-01-07 22:39:56' ;)) AND (
group_idIN () ) AND (
event_private=0 OR (
event_private=1 AND (
group_idIS NULL OR
group_id` = 0))) ORDER BY event_start_date ASC, event_start_time ASC, event_name ASCThis is ONLY happening if the BuddyPress user is NOT YET register to any group.
So participating to 0 group gives this error.
Participating to at least 1 group… no error appear in that subtab.
Any idea why is this appearing?
Thanks in advance,
Jean-Frederic
- The topic ‘SQL Error message with Events Manager in BuddyPress in My Group/Events Sub-Tab’ is closed to new replies.