wp_optionsp possible index of flag problem after adding key

[ad_1]

This is strange. If you upload your metadata (see this) and let me know the upload id, I can take a closer look.

If you must clone a site running on MySQL 8+ to servers running earlier MySQL versions, you should restore WordPress’s default keys before doing the clone. Could that be part of your problem?

It has to be said, database tables don’t, for no reason, “lose their primary keys” as the wp-staging article claims. Some software, or some person, damaged your table by copying it incorrectly.

If this were my staging site with this problem, I would completely wipe it and replace it with a new clone of my production site. The point of a staging site is to have something you can test and then confidently clone to production. I wouldn’t dare clone a site with a damaged table to production.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer