There were several reports of similar errors (duplicate entry).
Did you search those to see if there is anything relevant to your case?
having the same issue as getmethod on a fresh install. Other topics did not seem to fix my issues
ERROR:
WordPress database error: [Duplicate entry ‘7-0’ for key 1]
INSERT INTO wp_term_relationships (object_id, term_taxonomy_id) VALUES (‘7’, ”)
What I did find out is when I disable WP Shopping Cart Plug-In this error goes away, so it seems there is a conflict, at least in this case with a plug-in not updated to run on the new version of WP.
My suggestion would be to disable all of your plug-ins and see if the error still exist. If it goes away, start enabling them one at a time, each time testing for the error until you can isolate the plug-in that is causeing the issue
well as soon as I say that I am now getting the error message with all of my plug-ins deactivated. So now I am unsure of the reason behind these messages.
🙁
alright, I re-installed from scratch, re-activated each plug-in one at a time testing the posting and editing of pages and have not seen that error message pop backup.
Maybe a file got corrupted during transfer? not sure but after the re-install the error is no longer present.
has anyone solved this yet without a complete reinstall?
i started getting this error after installing wp ecommerce plugin. i deactiveted all plugins as well, but continue to get the error when trying to create a new page or edit either pages or posts.