Greetings!
I was looking through our error log trying to track down a different bug, and am running across errors like the following. Any ideas on how we can clean these up?
[09-May-2016 15:51:50 UTC] 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 ‘ivoire’ OR lower(country_slug) LIKE “cote-divoire%” ) AND lower(region) = “a’ at line 1 for query SELECT city , CONCAT_WS(‘/’, country_slug, region_slug, city_slug) AS location_link FROM (XXXXXXXXXX)_geodir_post_locations WHERE 1=1 AND ( lower(country) = ‘cote d’ivoire’ OR lower(country_slug) LIKE “cote-divoire%” ) AND lower(region) = “all” AND lower(city) = “all” GROUP BY city ORDER BY city asc LIMIT 0, 1 made by require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/plugins/geodirectory/geodirectory-templates/geodir-listing.php’), get_footer, locate_template, load_template, require_once(‘/themes/kleo/footer.php’), get_sidebar, locate_template, load_template, require_once(‘/themes/kleo/sidebar-footer.php’), dynamic_sidebar, call_user_func_array, WP_Widget->display_callback, BP_Core_Recently_Active_Widget->widget, bp_has_members, BP_Core_Members_Template->__construct, paginate_links, get_pagenum_link, home_url, get_home_url, apply_filters(‘home_url’), call_user_func_array, geodir_location_geo_home_link, geodir_get_location_array
Thanks!