WordPress issue on search that propagate spam
-
Hi all,
since few days i’m expectiing a strange error on my php-error.log:
Illegal mix of collations (utf8_general_ci,IMPLICIT) and (utf8mb4_unicode_ci,COERCIBLE) for operation 'like' per la query SELECT SQL_CALC_FOUND_ROWS wp_posts.ID FROM wp_posts WHERE 1=1 AND (((wp_posts.post_title LIKE '%???? Comprar Priligy Online - ?? www.CoopPharmacy.store ?? <- Pharmacy link ????Priligy Tablets Buy Online - Buy Priligy Tablets%') OR (wp_posts.post_excerpt LIKE '%???? Comprar Priligy Online - ?? www.CoopPharmacy.store ?? <- Pharmacy link ????Priligy Tablets Buy Online - Buy Priligy Tablets%') OR (wp_posts.post_content LIKE '%???? Comprar Priligy Online - ?? www.CoopPharmacy.store ?? <- Pharmacy link ????Priligy Tablets Buy Online - Buy Priligy Tablets%'))) AND (wp_posts.post_password = '') AND wp_posts.post_type IN ('post', 'page', 'attachment') AND (wp_posts.post_status = 'publish') ORDER BY wp_posts.post_date DESC LIMIT 0, 10 fatta da require('wp-blog-header.php'), wp, WP->main, WP->query_posts, WP_Query->query, WP_Query->get_posts
After some investigations, i found that this error is raised by Google search, as mod_security confirm (https://pastebin.com/uqyqSZKk), using search feature of my WP blog. Seems caused by a misleading/mismatching handling of encoding in search functions, that print-out (and cache) spam message.
Any ideas/hints how to solve this issue?
- The topic ‘WordPress issue on search that propagate spam’ is closed to new replies.