Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Cannot WPupgrade to 6.0.1 due to duplicate keys

$
0
0

Replies: 0

Hello. I found a similar problem in an earlier post.
https://wordpress.org/support/topic/database-errors-during-wp-upgrade/

That’s when I narrowed down that it had to do with this plugin. I never had any issues until now. Even when I reverted back to the original keys it produced the same duplicate key errors. Thus, I am getting 403 Forbidden on my home page.

I am not sure to resolve it. Maybe I have to eliminate it manually with SQL statements. If you can share some insight, I would appreciate it.

Here is the debug.log read out.

[15-Jul-2022 15:36:02 UTC] WordPress database error Multiple primary key defined for query ALTER TABLE wpkp_usermeta ADD PRIMARY KEY (umeta_id`) made by wp_upgrade, make_db_current_silent, dbDelta
[15-Jul-2022 15:36:02 UTC] WordPress database error Duplicate key name ‘meta_key’ for query ALTER TABLE wpkp_usermeta ADD KEY meta_key (meta_key(191)) made by wp_upgrade, make_db_current_silent, dbDelta
[15-Jul-2022 15:36:02 UTC] WordPress database error Multiple primary key defined for query ALTER TABLE wpkp_termmeta ADD PRIMARY KEY (meta_id) made by wp_upgrade, make_db_current_silent, dbDelta
[15-Jul-2022 15:36:02 UTC] WordPress database error Duplicate key name ‘meta_key’ for query ALTER TABLE wpkp_termmeta ADD KEY meta_key (meta_key(191)) made by wp_upgrade, make_db_current_silent, dbDelta
[15-Jul-2022 15:36:02 UTC] WordPress database error Multiple primary key defined for query ALTER TABLE wpkp_commentmeta ADD PRIMARY KEY (meta_id) made by wp_upgrade, make_db_current_silent, dbDelta
[15-Jul-2022 15:36:02 UTC] WordPress database error Duplicate key name ‘comment_id’ for query ALTER TABLE wpkp_commentmeta ADD KEY comment_id (comment_id) made by wp_upgrade, make_db_current_silent, dbDelta
[15-Jul-2022 15:36:02 UTC] WordPress database error Multiple primary key defined for query ALTER TABLE wpkp_comments ADD PRIMARY KEY (comment_ID) made by wp_upgrade, make_db_current_silent, dbDelta
[15-Jul-2022 15:36:02 UTC] WordPress database error Duplicate key name ‘comment_approved_date_gmt’ for query ALTER TABLE wpkp_comments ADD KEY comment_approved_date_gmt (comment_approved,comment_date_gmt) made by wp_upgrade, make_db_current_silent, dbDelta
[15-Jul-2022 15:36:02 UTC] WordPress database error Duplicate key name ‘comment_date_gmt’ for query ALTER TABLE wpkp_comments ADD KEY comment_date_gmt (comment_date_gmt) made by wp_upgrade, make_db_current_silent, dbDelta
[15-Jul-2022 15:36:02 UTC] WordPress database error Duplicate key name ‘comment_parent’ for query ALTER TABLE wpkp_comments ADD KEY comment_parent (comment_parent) made by wp_upgrade, make_db_current_silent, dbDelta
[15-Jul-2022 15:36:02 UTC] WordPress database error Duplicate key name ‘comment_author_email’ for query ALTER TABLE wpkp_comments ADD KEY comment_author_email (comment_author_email(10)) made by wp_upgrade, make_db_current_silent, dbDelta
[15-Jul-2022 15:36:02 UTC] WordPress database error Multiple primary key defined for query ALTER TABLE wpkp_options ADD PRIMARY KEY (option_id) made by wp_upgrade, make_db_current_silent, dbDelta
[15-Jul-2022 15:36:02 UTC] WordPress database error Multiple primary key defined for query ALTER TABLE wpkp_postmeta ADD PRIMARY KEY (meta_id) made by wp_upgrade, make_db_current_silent, dbDelta
[15-Jul-2022 15:36:02 UTC] WordPress database error Duplicate key name ‘meta_key’ for query ALTER TABLE wpkp_postmeta ADD KEY meta_key (meta_key(191)) made by wp_upgrade, make_db_current_silent, dbDelta
[15-Jul-2022 15:36:02 UTC] WordPress database error Duplicate key name ‘type_status_date’ for query ALTER TABLE wpkp_posts ADD KEY type_status_date (post_type,post_status,post_date,ID) made by wp_upgrade, make_db_current_silent, dbDelta
[15-Jul-2022 15:36:02 UTC] WordPress database error Duplicate key name ‘post_parent’ for query ALTER TABLE wpkp_posts ADD KEY post_parent (post_parent) made by wp_upgrade, make_db_current_silent, dbDelta
[15-Jul-2022 15:36:02 UTC] WordPress database error Duplicate key name ‘post_author’ for query ALTER TABLE wpkp_posts ADD KEY post_author (post_author) made by wp_upgrade, make_db_current_silent, dbDelta`


Viewing all articles
Browse latest Browse all 59525

Trending Articles