[ad_1]
Somehow, your wp_options table has a missing key.
Issue this MySQL data definition language (DDL) statement
ALTER TABLE wp_options ADD UNIQUE KEY option_id(option_id)
and your problem should be fixed.
I can’t begin to guess how that key got lost, sorry to say.
If you have WP-CLI support you can issue that DDL with this line of a shell script command:
wp db query "ALTER TABLE wp_options ADD UNIQUE KEY option_id(option_id)“
Or you can use phpmyadmin or some other SQL client program.
