Title: Error in your SQL syntax
Last modified: June 14, 2020

---

# Error in your SQL syntax

 *  Resolved [mikewdcp](https://wordpress.org/support/users/mikewdcp/)
 * (@mikewdcp)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/error-in-your-sql-syntax-7/)
 * The Exports and Reports verson 0.8.5 constantly generates this error:
 * 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‘()’
   at line 1 for query ALTER TABLE 4rw5p2_exportsreports_log ADD  () made by do_action(‘
   admin_init’), WP_Hook->do_action, WP_Hook->apply_filters, exports_reports_init,
   exports_reports_upgrade, exports_reports_sql_install, dbDelta
 * It generates this all the time if the plugin has been activated. When deactivated,
   the errors stop.
 * It also generates the errors for the other tables. exportsreports_groups and 
   exportsreports_reports.

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

 *  Plugin Author [Scott Kingsley Clark](https://wordpress.org/support/users/sc0ttkclark/)
 * (@sc0ttkclark)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/error-in-your-sql-syntax-7/#post-13181978)
 * Thanks for the heads up, I’ll look at a fix for this.
 *  Plugin Author [Scott Kingsley Clark](https://wordpress.org/support/users/sc0ttkclark/)
 * (@sc0ttkclark)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/error-in-your-sql-syntax-7/#post-13182059)
 * I just released 0.8.6 which should address the problem of it running all the 
   time.
    -  This reply was modified 5 years, 10 months ago by [Scott Kingsley Clark](https://wordpress.org/support/users/sc0ttkclark/).

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

The topic ‘Error in your SQL syntax’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/exports-and-reports.svg)
 * [Exports and Reports](https://wordpress.org/plugins/exports-and-reports/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/exports-and-reports/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/exports-and-reports/)
 * [Active Topics](https://wordpress.org/support/plugin/exports-and-reports/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/exports-and-reports/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/exports-and-reports/reviews/)

## Tags

 * [plugin-errors](https://wordpress.org/support/topic-tag/plugin-errors/)

 * 2 replies
 * 2 participants
 * Last reply from: [Scott Kingsley Clark](https://wordpress.org/support/users/sc0ttkclark/)
 * Last activity: [5 years, 10 months ago](https://wordpress.org/support/topic/error-in-your-sql-syntax-7/#post-13182059)
 * Status: resolved