Error log everyday, how to solve
-
Dear eveyone,
Someday ago, the error log file showed an error and repeated everyday. Content as below:
[11-Oct-2016 01:22:38 UTC] C? s? d? li?u c?a WordPress g?p l?i 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 'buddypress'|option>|thành|viên') then 8 else 0 end)) as releva' at line 13 v?i truy v?n SELECT wp2_posts.post_title as title, wp2_posts.ID as id, wp2_posts.post_date as date, wp2_posts.post_content as content, wp2_posts.post_excerpt as excerpt, wp2_users.user_nicename as author, wp2_posts.post_type as post_type, GROUP_CONCAT(DISTINCT wp2_terms.term_id) as terms, ((case when (lower(wp2_posts.post_title) REGEXP 't?|th?|abc') then 10 else 0 end) + (case when (lower(wp2_posts.post_content) REGEXP '<|php|>|theo|buddypress|option|'buddypress'|option>|thành|viên') then 8 else 0 end)) as relevance FROM wp2_posts LEFT JOIN wp2_postmeta ON wp2_postmeta.post_id = wp2_posts.ID LEFT JOIN wp2_users ON wp2_users.ID = wp2_posts.post_author LEFT JOIN wp2_term_relationships ON wp2_posts.ID = wp2_term_relationships.object_id LEFT JOIN wp2_term_taxonomy ON wp2_term_taxonomy.term_taxonomy_id = wp2_term_relationships.term_taxonomy_id LEFT JOIN wp2_terms ON wp2_term_taxonomy.term_id = wp2_terms.term_id WHERE (wp2_posts.ID <> 1871) AND (wp2_posts.post_type REGEXP 'dummy_notting|post') AND wp2_posts.ID NOT IN (-99) AND (wp2_posts.post_status = 'publish') AND ((lower(wp2_posts.post_title) REGEXP 't?|th?|abc') OR (lower(wp2_posts.post_content) REGEXP 't?|th?|abc') OR (lower(wp2_posts.post_excerpt) REGEXP 't?|th?|abc') OR (lower(wp2_posts.post_content) REGEXP '<|php|>|theo|buddypress|option|'buddypress'|option>|thành|viên') OR (lower(wp2_posts.post_title) REGEXP '<|php|>|theo|buddypress|option|'buddypress'|option>|thành|viên') OR (lower(wp2_posts.post_excerpt) REGEXP '<|php|>|theo|buddypress|option|'buddypress'|option>|thành|viên')) GROUP BY wp2_posts.ID ORDER BY relevance DESC, wp2_posts.post_date DESC LIMIT 10 yêu c?u b?i require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), do_feed, do_action('do_feed_rss2'), call_user_func_array, do_feed_rss2, load_template, require_once('wp-includes/feed-rss2.php'), the_excerpt_rss, get_the_excerpt, apply_filters('get_the_excerpt'), call_user_func_array, wp_trim_excerpt, apply_filters('the_content'), call_user_func_array, do_shortcode, preg_replace_callback, do_shortcode_tag, call_user_func, rplShortcodeContainer->wpdreams_rpl_shortcode, wpdreams_related_content->getRelatedPosts, wpdreams_related_content->simpleRelated
I’ve installed some plugins on my blog (Ithemes scurity, Buddypress,…) and just removed before happen error. Maybe that is reason. But now i don’t know how to fix.
Please help me.
Thank you so much.
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Error log everyday, how to solve’ is closed to new replies.