SQL errors in logs
-
Running latest version as of this writing (4.12.5)– started getting a ton of errors in our php-errors.log since we updated to this version on the 16th. 5,000 errors in the last 9 days.
SELECT COUNT(DISTINCT(relevanssi.doc)) FROM wprefix_relevanssi AS relevanssi WHERE (relevanssi.term LIKE '??www%' OR relevanssi.term_reverse LIKE CONCAT(REVERSE('??www'), '%')) AND ((relevanssi.doc IN (SELECT DISTINCT(posts.ID) FROM wprefix_posts AS posts WHERE posts.post_type NOT IN ('revision', 'nav_menu_item', 'custom_css', 'customize_changeset', 'oembed_cache', 'user_request', 'wp_block', 'wpforms', 'iwp_log'))) OR (doc = -1)) made by require('wp-blog-header.php'), wp, WP->main, WP->query_posts, WP_Query->query, WP_Query->get_posts, apply_filters_ref_array('posts_pre_query'), WP_Hook->apply_filters, relevanssi_query, relevanssi_do_query, relevanssi_search
SELECT DISTINCT(relevanssi.doc), relevanssi.*, relevanssi.title * 5 + relevanssi.content * 1 + relevanssi.comment * 0.75 + relevanssi.tag * 0.75 + relevanssi.link * 0 + relevanssi.author + relevanssi.category * 0.75 + relevanssi.excerpt + relevanssi.taxonomy + relevanssi.customfield + relevanssi.mysqlcolumn AS tf FROM wprefix_relevanssi AS relevanssi WHERE (relevanssi.term LIKE '??www%' OR relevanssi.term_reverse LIKE CONCAT(REVERSE('??www'), '%')) AND ((relevanssi.doc IN (SELECT DISTINCT(posts.ID) FROM wprefix_posts AS posts WHERE posts.post_type NOT IN ('revision', 'nav_menu_item', 'custom_css', 'customize_changeset', 'oembed_cache', 'user_request', 'wp_block', 'wpforms', 'iwp_log'))) OR (doc = -1)) made by require('wp-blog-header.php'), wp, WP->main, WP->query_posts, WP_Query->query, WP_Query->get_posts, apply_filters_ref_array('posts_pre_query'), WP_Hook->apply_filters, relevanssi_query, relevanssi_do_query, relevanssi_search
In all of the errors there are weird characters in the term it’s searching for. Not sure if these will come through in the post:
????%
And:
?????%
and:
???%
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘SQL errors in logs’ is closed to new replies.