Title: WordPress database error
Last modified: July 10, 2017

---

# WordPress database error

 *  [cfm168](https://wordpress.org/support/users/cfm168/)
 * (@cfm168)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/wordpress-database-error-115/)
 * Hello Sirs,
 * I have problem getting php error report today see below:
    —————————————————————————————
   Jul 10, 08:26:55 WordPress database error 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 ‘AND comment_type != ‘webhook_delivery’ ORDER BY comment_date_gmt
   DESC LIMIT 1′ at line 1 for query SELECT wp_xxx_comments.* FROM wp_xxx_comments
   AND comment_type != ‘webhook_delivery’ ORDER BY comment_date_gmt DESC LIMIT 12
   made by require(‘wp-blog-header.php’), wp, WP->main, WP->query_posts, WP_Query-
   >query, WP_Query->get_posts ————————————————————————————— I tested with Store
   Front theme and got same problem. I am using Twenty Eleven theme/child. This 
   is first time happens this database error. Not sure if these error caused after
   updating to WooCommerce version 3.1.0.
 * Please help. Thanks in advance!

Viewing 1 replies (of 1 total)

 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/wordpress-database-error-115/#post-9306472)
 * Have you also tried:
    – If you have access to your Dashboard’s Plugins page, 
   try deactivating ALL (yes all) plugins temporarily to see if this resolves the
   problem (plugin functions can interfere). If this works, re-activate them individually(
   one-by-one) to find the problematic plugin(s). – If you don’t have access to 
   your Dashboard’s Plugins page, try [manually resetting your plugins](https://codex.wordpress.org/FAQ_Troubleshooting#How_to_deactivate_all_plugins_when_not_able_to_access_the_administrative_menus.3F)(
   no Dashboard access required). If that resolves the issue, reactivate each one
   individually until you find the cause. Also remember to deactivate any plugins
   in the mu-plugins folder (if you have created such folder). The easiest way is
   to rename that folder to mu-plugins-old.

Viewing 1 replies (of 1 total)

The topic ‘WordPress database error’ is closed to new replies.

## Tags

 * [Database Error](https://wordpress.org/support/topic-tag/database-error/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [t-p](https://wordpress.org/support/users/t-p/)
 * Last activity: [8 years, 11 months ago](https://wordpress.org/support/topic/wordpress-database-error-115/#post-9306472)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
