Title: Error enabling woocommerce
Last modified: June 21, 2021

---

# Error enabling woocommerce

 *  Resolved [sarathsivadasan](https://wordpress.org/support/users/sarathsivadasan/)
 * (@sarathsivadasan)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/error-enabling-woocommerce/)
 * There has been a critical error on this website. Please check your site admin
   email inbox for instructions.

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

 *  Plugin Support [Gabriel – a11n](https://wordpress.org/support/users/gabrielfuentes/)
 * (@gabrielfuentes)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/error-enabling-woocommerce/#post-14579344)
 * Hi there 👋
 * This kind of problem is usually caused by a conflict with your theme or with 
   another plugin.
      The best way to determine this is to:
    - Temporarily switch your theme to [Storefront](https://www.woocommerce.com/storefront/)
    - Disable all plugins
    - Repeat the actions that is causing the problem. In this case, enable WooCommerce
 * If you’re not seeing the same problem after completing the conflict test, then
   you know the problem was with the plugins and/or theme you deactivated. To figure
   out which plugin is causing the problem, reactivate your other plugins one by
   one, testing after each until you find the one causing conflict. [You can find a more detailed explanation on how to do a conflict test here.](https://docs.woocommerce.com/document/how-to-test-for-conflicts/)
 * **Before you start**
 * First, please make sure you have a good backup in place of your full site and
   database. Most hosting companies have this included in the subscription, but 
   you could also consider using a service like Jetpack. If something goes wrong,
   it’s nice to know that you can restore your site.
 * Second, I would suggest installing a plugin called Health Check & Troubleshooting.
   This is a plugin developed by the WordPress community and it allows you to disable
   plugins without affecting your current site visitors.
 * Cheers
 *  Thread Starter [sarathsivadasan](https://wordpress.org/support/users/sarathsivadasan/)
 * (@sarathsivadasan)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/error-enabling-woocommerce/#post-14581979)
 * new error
 *     ```
       WordPress database error: [Duplicate entry '0' for key 'PRIMARY']
       INSERT INTO <code>wp_wc_admin_notes</code> (<code>name</code>, <code>type</code>, <code>locale</code>, <code>title</code>, <code>content</code>, <code>status</code>, <code>source</code>, <code>is_snoozable</code>, <code>layout</code>, <code>image</code>, <code>is_deleted</code>, <code>content_data</code>, <code>date_created</code>, <code>date_reminder</code>) VALUES ('paypal_ppcp_gtm_2021', 'marketing', 'en_US', 'Offer more options with the new PayPal', 'Get the latest PayPal extension for a full suite of payment methods with extensive currency and country coverage.', 'unactioned', 'woocommerce.com', '0', 'plain', '', '0', '{}', '2021-06-22 06:17:05', NULL)
       ```
   
 *  [Mirko P.](https://wordpress.org/support/users/rainfallnixfig/)
 * (@rainfallnixfig)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/error-enabling-woocommerce/#post-14590239)
 * Hi [@sarathsivadasan](https://wordpress.org/support/users/sarathsivadasan/),
 * > new error
 * This error can indicate that the wp_wc_admin_notes table’s PRIMARY KEY is not
   set to AUTO-INCREMENT.
 * To resolve: Check that there is a PRIMARY KEY set on your wp_wc_admin_notes table,
   and that the PRIMARY KEY is set to AUTO-INCREMENT.
 * ![](https://i0.wp.com/i.imgur.com/nfqnBJl.png?ssl=1)
 * Thanks.
 *  Plugin Support [abwaita a11n](https://wordpress.org/support/users/abwaita/)
 * (@abwaita)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/error-enabling-woocommerce/#post-14614104)
 * Hi,
 * We’ve not heard back from you in a while, so I’m marking this thread as resolved.
   Hopefully, the above info was helpful.
 * Just to mention, if you face challenges with the fix above, you could request
   assistance from your host.
 * If you have further questions, please feel free to open a new topic.
 * Thanks.

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

The topic ‘Error enabling woocommerce’ is closed to new replies.

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

 * 4 replies
 * 4 participants
 * Last reply from: [abwaita a11n](https://wordpress.org/support/users/abwaita/)
 * Last activity: [4 years, 11 months ago](https://wordpress.org/support/topic/error-enabling-woocommerce/#post-14614104)
 * Status: resolved