Search doesn't work when locations are off
-
Hi Marcus,
the search form for the events list doesn’t work when locations are disabled. All searches show “no events”.
In debug I get a deprecated warning: like_escape is deprecated (found in em-object.php line 161), should use $wpdb->esc_like() instead.
But that’s not the solution yet, it still shows no events (after I replaced this call).
I checked out the sql call of the output_grouped() function. It queries the location table – but this is empty if locations are disabled in settings.
- The topic ‘Search doesn't work when locations are off’ is closed to new replies.