Title: Error in SQL syntax when activating plugin
Last modified: February 26, 2021

---

# Error in SQL syntax when activating plugin

 *  [sangemaru](https://wordpress.org/support/users/sangemaru/)
 * (@sangemaru)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/error-in-sql-syntax-when-activating-plugin/)
 * 1. The version of the plugin
    1.9.7 2. Your browser and operating system all 
   browsers and OS (chrome/firefox/safari on Windows/Linux/Mac) 3. Address of the
   page with the problem shows up in frontend as well as backend, so we had to disable
   the plugin, which fixes the issue. 4. Be as descriptive as possible of what your
   issue is
 * 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 ‘”wp_gjiq_wpml_mails”‘
   at line 1]
    SHOW TABLES LIKE “wp_gjiq_wpml_mails”
 * This error pops up when activating the plugin. We’re using Roots/Bedrock installed
   on a VPS with a custom wp-content path (renamed to app). wp_gjiq_ is our prefix.
 * Running WordPress 5.6.1
    -  This topic was modified 5 years, 2 months ago by [sangemaru](https://wordpress.org/support/users/sangemaru/).

The topic ‘Error in SQL syntax when activating plugin’ is closed to new replies.

 * ![](https://ps.w.org/wp-mail-logging/assets/icon-256x256.jpg?rev=2562296)
 * [WP Mail Logging](https://wordpress.org/plugins/wp-mail-logging/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-mail-logging/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-mail-logging/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-mail-logging/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-mail-logging/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-mail-logging/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [sangemaru](https://wordpress.org/support/users/sangemaru/)
 * Last activity: [5 years, 2 months ago](https://wordpress.org/support/topic/error-in-sql-syntax-when-activating-plugin/)
 * Status: not resolved