Title: WP Database error (SQL Syntax)
Last modified: August 30, 2018

---

# WP Database error (SQL Syntax)

 *  Resolved [kamprez](https://wordpress.org/support/users/kamprez/)
 * (@kamprez)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/wp-database-error-sql-syntax-2/)
 * Dear support,
 * i will update old post and public post notice error and i check error log :
 * WordPress database error You have an error in your SQL syntax; check the manual
   that corresponds to your MariaDB server version for the right syntax to use near‘%’)
   
   OR (nblsp63_posts.post_content LIKE ‘%dieng’%’) ‘ at line 3 for query SELECT 
   SQL_CALC_FOUND_ROWS nblsp63_posts.ID FROM nblsp63_posts WHERE 1=1 AND ( (nblsp63_posts.
   post_title LIKE ‘%dieng’%’) OR (nblsp63_posts.post_content LIKE ‘%dieng’%’) OR
   EXISTS ( SELECT * FROM nblsp63_postmeta WHERE post_id = nblsp63_posts.ID AND (
   meta_key = ‘gdlr-core-page-builder’ AND meta_value LIKE ‘%dieng’%’) ) ) AND nblsp63_posts.
   post_type = ‘post’ AND (nblsp63_posts.post_status = ‘publish’ OR nblsp63_posts.
   post_status = ‘future’ OR nblsp63_posts.post_status = ‘draft’ OR nblsp63_posts.
   post_status = ‘pending’ OR nblsp63_posts.post_status = ‘private’) ORDER BY nblsp63_posts.
   post_title LIKE ‘%dieng%’ DESC, nblsp63_posts.post_date DESC LIMIT 0, 20 made
   by WP_Posts_List_Table->prepare_items, wp_edit_posts_query, wp, WP->main, WP-
   >query_posts, WP_Query->query, WP_Query->get_posts
 * thanks
    -  This topic was modified 7 years, 9 months ago by [kamprez](https://wordpress.org/support/users/kamprez/).

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Thread Starter [kamprez](https://wordpress.org/support/users/kamprez/)
 * (@kamprez)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/wp-database-error-sql-syntax-2/#post-10642981)
 * i active plugin yoast after that update post and publish error 404, if not aktive
   plugin yoast after update post not error.
 *  Plugin Support [Michael Tiña](https://wordpress.org/support/users/mikes41720/)
 * (@mikes41720)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/wp-database-error-sql-syntax-2/#post-10661647)
 * Can you confirm you are using the latest versions of WordPress 4.9.8 and Yoast
   SEO for WordPress 8.1.2?
 * That sounds like a plugin or theme conflict. Can you try and gather as much information
   for us as possible? Please perform the following:
 * 1. Make sure the issue doesn’t persist when Yoast SEO is disabled.
    2. [Check for conflicts](https://kb.yoast.com/kb/how-to-check-for-plugin-conflicts).
   3. Check for [JavaScript errors with your console](https://kb.yoast.com/kb/how-to-find-javascript-errors-with-your-browsers-console).
 * If you find any JavaScript errors related to Yoast SEO or if there is a conflict
   with a plugin or a theme, you can create a [new GitHub issue](https://github.com/Yoast/wordpress-seo/issues/new)
   for our developers. Please report the issue to a third party developer as well.
 * If you didn’t find any conflicts or errors, we think the issue is specific to
   your site. We’d need to investigate further but are unable to do so on these 
   forums. You can [purchase Yoast SEO Premium](https://yoast.com/wordpress/plugins/seo/)
   and receive our Premium email support and we can help you further.
 *  Plugin Support [Michael Tiña](https://wordpress.org/support/users/mikes41720/)
 * (@mikes41720)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/wp-database-error-sql-syntax-2/#post-10683154)
 * No further response, setting to resolved.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘WP Database error (SQL Syntax)’ is closed to new replies.

 * ![](https://ps.w.org/wordpress-seo/assets/icon-256x256.gif?rev=3419908)
 * [Yoast SEO - Advanced SEO with real-time guidance and built-in AI](https://wordpress.org/plugins/wordpress-seo/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-seo/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-seo/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-seo/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-seo/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-seo/reviews/)

## Tags

 * [sql](https://wordpress.org/support/topic-tag/sql/)
 * [Yoast](https://wordpress.org/support/topic-tag/yoast/)

 * 3 replies
 * 2 participants
 * Last reply from: [Michael Tiña](https://wordpress.org/support/users/mikes41720/)
 * Last activity: [7 years, 8 months ago](https://wordpress.org/support/topic/wp-database-error-sql-syntax-2/#post-10683154)
 * Status: resolved