Title: SQL error v8
Last modified: February 16, 2017

---

# SQL error v8

 *  Resolved [nculpitt](https://wordpress.org/support/users/nculpitt/)
 * (@nculpitt)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/sql-error-v8/)
 * hey Jeff,
 * i tried to send this on your site but the captcha kept saying i was wrong? i 
   tried 5 times… so i am leaving details here..
    Hi Jeff,
 * love the plugin thank you very much! 🙂 i updated to v8 from v7.3 and started
   to get massive debug errors – i have revertedback to v7.3 but here is the debug
   log
 * just wanted to let you know
 * cheers
    nick
 * [16-Feb-2017 03:13:50 UTC] 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 status IN (‘publish’,’private’) AND children
   = 1 AND post_type IN (‘post’,’ at line 1 for query SELECT * FROM wp7w_po_plugins
   WHERE () AND status IN (‘publish’,’private’) AND children = 1 AND post_type IN(‘
   post’, ‘page’, ‘plugin_filter’) ORDER BY dir_count DESC, post_priority DESC, 
   FIELD(post_type, ‘post’, ‘page’, ‘plugin_filter’) LIMIT 1 made by require(‘wp-
   blog-header.php’), require_once(‘wp-load.php’), require_once(‘wp-config.php’),
   require_once(‘wp-settings.php’), wp_get_active_and_valid_plugins, get_option,
   apply_filters(‘option_active_plugins’), WP_Hook->apply_filters, call_user_func_array,
   PluginOrganizerMU->disable_plugins

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

 *  [volresource](https://wordpress.org/support/users/volresource/)
 * (@volresource)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/sql-error-v8/#post-8811429)
 * I’m getting similar for v8 (hash obscured):
 * 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 permalink_hash = ‘####’) AND status IN (‘publish” at line 1 for query SELECT*
   FROM wp_po_plugins WHERE ( OR permalink_hash = ‘3######’) AND status IN (‘publish’,’
   private’) AND secure = 1 AND children = 1 AND post_type IN (‘post’, ‘page’, ‘
   plugin_filter’) ORDER BY dir_count DESC, post_priority DESC, FIELD(post_type,‘
   post’, ‘page’, ‘plugin_filter’) LIMIT 1 made by require(‘wp-blog-header.php’),
   require_once(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-
   settings.php’), wp_get_active_and_valid_plugins, get_option, apply_filters(‘option_active_plugins’),
   WP_Hook->apply_filters, call_user_func_array, PluginOrganizerMU->disable_plugins
 *  [pako69](https://wordpress.org/support/users/pako69/)
 * (@pako69)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/sql-error-v8/#post-8811652)
 * Same here!
 *     ```
       [16-Feb-2017 10:07:34 UTC] 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 'OR permalink_hash_args = '542bcc38ba907571fa6c690aeb7bf032') AND status IN ('pub' at line 1 for query SELECT * FROM wp_11_po_plugins WHERE ( OR permalink_hash_args = '542bcc38ba907571fa6c690aeb7bf032') AND status IN ('publish','private') AND secure = 0 AND children = 1 AND post_type IN ('post', 'page', 'plugin_filter') ORDER BY dir_count DESC, post_priority DESC, FIELD(post_type, 'post', 'page', 'plugin_filter') LIMIT 1 made by require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), wp_get_active_and_valid_plugins, get_option, apply_filters('option_active_plugins'), WP_Hook->apply_filters, PluginOrganizerMU->disable_plugins
       ```
   
 *  Plugin Author [Jeff Sterup](https://wordpress.org/support/users/foomagoo/)
 * (@foomagoo)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/sql-error-v8/#post-8813041)
 * I just released version 8.1. That should fix the issue.
 *  Thread Starter [nculpitt](https://wordpress.org/support/users/nculpitt/)
 * (@nculpitt)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/sql-error-v8/#post-8821222)
 * Gidday Jeff!
 * yep sure does thanks so much! 🙂 love this plugin 🙂
 * Cheers
    Nick

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

The topic ‘SQL error v8’ is closed to new replies.

 * ![](https://ps.w.org/plugin-organizer/assets/icon-256x256.png?rev=1786554)
 * [Plugin Organizer](https://wordpress.org/plugins/plugin-organizer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/plugin-organizer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/plugin-organizer/)
 * [Active Topics](https://wordpress.org/support/plugin/plugin-organizer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/plugin-organizer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/plugin-organizer/reviews/)

 * 4 replies
 * 4 participants
 * Last reply from: [nculpitt](https://wordpress.org/support/users/nculpitt/)
 * Last activity: [9 years, 3 months ago](https://wordpress.org/support/topic/sql-error-v8/#post-8821222)
 * Status: resolved