Title: database error
Last modified: April 23, 2019

---

# database error

 *  [sebz001](https://wordpress.org/support/users/sebz001/)
 * (@sebz001)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/database-error-285/)
 * Hello,
    Im getting this database error in back and frontend: Query:
 * SELECT DISTINCT user_id FROM wp_pmpro_memberships_users WHERE membership_id IN()
   AND status = ‘active’ intext:”Plugin: Paid Memberships Pro – WooCommerce Add 
   On”
 * Error message:
    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 ‘) AND status
   = ‘active” at line 1
 * Do you have any ideas what can cause this issue?
    PHP version 7.2.10
 * Best regards,
    Sebastian
    -  This topic was modified 7 years, 1 month ago by [sebz001](https://wordpress.org/support/users/sebz001/).

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

 *  Thread Starter [sebz001](https://wordpress.org/support/users/sebz001/)
 * (@sebz001)
 * [7 years ago](https://wordpress.org/support/topic/database-error-285/#post-11554062)
 * anyone?
 *  [fabiofava](https://wordpress.org/support/users/fabiofava/)
 * (@fabiofava)
 * [7 years ago](https://wordpress.org/support/topic/database-error-285/#post-11554097)
 * Hey there
 * Did you try disabling and deleting the add-on, then cleaning the DB with a proper
   tool (I also run Plugins Garbage Collector just in case), then reinstalling the
   add-on? Sometimes this simple steps can help.
 * I have this add-on (and many others) and no errors, so you may try a plugin conflict
   test (I know it’s annoying but it normally shows you the culprit).
 * Hope it helps, cheers!
    -  This reply was modified 7 years ago by [fabiofava](https://wordpress.org/support/users/fabiofava/).

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

The topic ‘database error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/pmpro-woocommerce_62b29a.svg)
 * [Paid Memberships Pro Integration with WooCommerce](https://wordpress.org/plugins/pmpro-woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/pmpro-woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/pmpro-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/pmpro-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pmpro-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pmpro-woocommerce/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [fabiofava](https://wordpress.org/support/users/fabiofava/)
 * Last activity: [7 years ago](https://wordpress.org/support/topic/database-error-285/#post-11554097)
 * Status: not resolved