Title: [Plugin: AdRotate] DB errors
Last modified: August 20, 2016

---

# [Plugin: AdRotate] DB errors

 *  [dFactory](https://wordpress.org/support/users/dfactory/)
 * (@dfactory)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-adrotate-db-errors/)
 * I’m having a couple of such DB errors:
 * > 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 ”10′ at line 1]
   >  SELECT SUM(`clicks`) as `clicks`, SUM(`impressions`)
   > as `impressions` FROM `wp_adrotate_stats_tracker` WHERE `ad` = ’10;
 * I did all the cleanup available but nothing changed.
 * Anyone had the same issue?
 * [http://wordpress.org/extend/plugins/adrotate/](http://wordpress.org/extend/plugins/adrotate/)

Viewing 1 replies (of 1 total)

 *  [Arnan de Gans](https://wordpress.org/support/users/shrikee/)
 * (@shrikee)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-adrotate-db-errors/#post-3036196)
 * I’ve seen this issue before, someone else reported it.
    However AdRotate has 
   no query that has the error you mention.
 * I can’t fix what I can’t find 🙁

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: AdRotate] DB errors’ is closed to new replies.

 * ![](https://ps.w.org/adrotate/assets/icon-256x256.gif?rev=3117289)
 * [AdRotate Banner Manager](https://wordpress.org/plugins/adrotate/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/adrotate/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/adrotate/)
 * [Active Topics](https://wordpress.org/support/plugin/adrotate/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/adrotate/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/adrotate/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Arnan de Gans](https://wordpress.org/support/users/shrikee/)
 * Last activity: [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-adrotate-db-errors/#post-3036196)
 * Status: not resolved