Title: error on starting
Last modified: October 12, 2016

---

# error on starting

 *  Resolved [anshu_mah](https://wordpress.org/support/users/anshu_mah/)
 * (@anshu_mah)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/error-on-starting/)
 * Hey
 * i am getting this error on clicking on sweep
 * 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”
   at line 1 for query SELECT COUNT(*) FROM made by require_once(‘D:\INETPUB\VHOSTS\
   demo.amres.in\httpdocs\wp-admin\admin.php’), include(‘D:\INETPUB\VHOSTS\demo.
   amres.in\httpdocs\wp-content\plugins\wp-sweep\admin.php’), WPSweep->total_count
   
   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‘
   WHERE term_id NOT IN (SELECT term_id FROM wp_terms)’ at line 1 for query SELECT
   COUNT(meta_id) FROM WHERE term_id NOT IN (SELECT term_id FROM wp_terms) made 
   by require_once(‘D:\INETPUB\VHOSTS\demo.amres.in\httpdocs\wp-admin\admin.php’),
   include(‘D:\INETPUB\VHOSTS\demo.amres.in\httpdocs\wp-content\plugins\wp-sweep\
   admin.php’), WPSweep->count 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 ‘GROUP BY term_id, meta_key, meta_value HAVING count
   > 1’ at line 1 for query SELECT COUNT(meta_id) AS count FROM GROUP BY term_id,
   meta_key, meta_value HAVING count > 1 made by require_once(‘D:\INETPUB\VHOSTS\
   demo.amres.in\httpdocs\wp-admin\admin.php’), include(‘D:\INETPUB\VHOSTS\demo.
   amres.in\httpdocs\wp-content\plugins\wp-sweep\admin.php’), WPSweep->count

Viewing 1 replies (of 1 total)

 *  Plugin Author [Lester Chan](https://wordpress.org/support/users/gamerz/)
 * (@gamerz)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/error-on-starting/#post-8287319)
 * What version of WP you are using? It seems you are using an older version that
   doesn’t have the table wp_termmeta.
 * You can also verify that you have the wp_termeta table?

Viewing 1 replies (of 1 total)

The topic ‘error on starting’ is closed to new replies.

 * ![](https://ps.w.org/wp-sweep/assets/icon.svg?rev=1098912)
 * [WP-Sweep](https://wordpress.org/plugins/wp-sweep/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-sweep/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-sweep/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-sweep/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-sweep/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-sweep/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Lester Chan](https://wordpress.org/support/users/gamerz/)
 * Last activity: [9 years, 8 months ago](https://wordpress.org/support/topic/error-on-starting/#post-8287319)
 * Status: resolved