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
- 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.
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
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)
Hi @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://i.imgur.com/nfqnBJl.png)
Thanks.
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.