Hi there,
I’m trying to figure out why are these errors showing up in my logs:
[04-Apr-2023 18:24:42 UTC] WordPress database error Got error 'nothing to repeat at offset 2' from regexp for query
SELECT SQL_CALC_FOUND_ROWS DISTINCT wp_posts.ID
FROM wp_posts
WHERE 1=1 AND wp_posts.ID NOT IN (18029,9164) AND ( ((wp_posts.post_title REGEXP '\\b🖱|🖱\\b') OR (wp_posts.post_content REGEXP '\\b🖱|🖱\\b'))) AND wp_posts.post_type IN ('post', 'page') AND ((wp_posts.post_status = 'publish' OR wp_posts.post_status = 'inherit'))
ORDER BY wp_posts.post_title LIKE '%🖱%' DESC, wp_posts.post_date DESC
LIMIT 0, 6
made by require('wp-blog-header.php'), wp, WP->main, WP->query_posts, WP_Query->query, WP_Query->get_posts
[04-Apr-2023 20:01:46 UTC] PHP Warning: Trying to access array offset on value of type bool in /home/nialdzc/public_html/wp-content/plugins/gp-premium/elements/class-hooks.php(215) : eval()'d code on line 7
[04-Apr-2023 20:07:03 UTC] PHP Warning: Trying to access array offset on value of type bool in /home/nialdzc/public_html/wp-content/plugins/gp-premium/elements/class-hooks.php(215) : eval()'d code on line 7
The first one always occur when the user search for something with emojis, so it might be related to my search plugin Ivory Search. No idea about the other two though.