• Resolved dimal

    (@dimalifragis)


    Hi,

    I just did the 6.5 update and several issues were logged:

    [02-Apr-2024 20:50:10 UTC] WordPress database error Multiple primary key defined for query ALTER TABLE wp_usermeta ADD PRIMARY KEY (umeta_id) made by wp_upgrade, make_db_current_silent, dbDelta

    [02-Apr-2024 20:50:10 UTC] WordPress database error Duplicate key name ‘meta_key’ for query ALTER TABLE wp_usermeta ADD KEY meta_key (meta_key(191)) made by wp_upgrade, make_db_current_silent, dbDelta

    [02-Apr-2024 20:50:10 UTC] WordPress database error Multiple primary key defined for query ALTER TABLE wp_termmeta ADD PRIMARY KEY (meta_id) made by wp_upgrade, make_db_current_silent, dbDelta

    [02-Apr-2024 20:50:10 UTC] WordPress database error Duplicate key name ‘meta_key’ for query ALTER TABLE wp_termmeta ADD KEY meta_key (meta_key(191)) made by wp_upgrade, make_db_current_silent, dbDelta

    [02-Apr-2024 20:50:10 UTC] WordPress database error Multiple primary key defined for query ALTER TABLE wp_commentmeta ADD PRIMARY KEY (meta_id) made by wp_upgrade, make_db_current_silent, dbDelta

    [02-Apr-2024 20:50:10 UTC] WordPress database error Duplicate key name ‘comment_id’ for query ALTER TABLE wp_commentmeta ADD KEY comment_id (comment_id) made by wp_upgrade, make_db_current_silent, dbDelta

    [02-Apr-2024 20:50:10 UTC] WordPress database error Multiple primary key defined for query ALTER TABLE wp_comments ADD PRIMARY KEY (comment_ID) made by wp_upgrade, make_db_current_silent, dbDelta

    [02-Apr-2024 20:50:10 UTC] WordPress database error Duplicate key name ‘comment_approved_date_gmt’ for query ALTER TABLE wp_comments ADD KEY comment_approved_date_gmt (comment_approved,comment_date_gmt) made by wp_upgrade, make_db_current_silent, dbDelta

    [02-Apr-2024 20:50:10 UTC] WordPress database error Duplicate key name ‘comment_date_gmt’ for query ALTER TABLE wp_comments ADD KEY comment_date_gmt (comment_date_gmt) made by wp_upgrade, make_db_current_silent, dbDelta

    [02-Apr-2024 20:50:10 UTC] WordPress database error Duplicate key name ‘comment_parent’ for query ALTER TABLE wp_comments ADD KEY comment_parent (comment_parent) made by wp_upgrade, make_db_current_silent, dbDelta

    [02-Apr-2024 20:50:10 UTC] WordPress database error Duplicate key name ‘comment_author_email’ for query ALTER TABLE wp_comments ADD KEY comment_author_email (comment_author_email(10)) made by wp_upgrade, make_db_current_silent, dbDelta

    [02-Apr-2024 20:50:10 UTC] WordPress database error Multiple primary key defined for query ALTER TABLE wp_options ADD PRIMARY KEY (option_id) made by wp_upgrade, make_db_current_silent, dbDelta

    [02-Apr-2024 20:50:10 UTC] WordPress database error Multiple primary key defined for query ALTER TABLE wp_postmeta ADD PRIMARY KEY (meta_id) made by wp_upgrade, make_db_current_silent, dbDelta

    [02-Apr-2024 20:50:10 UTC] WordPress database error Duplicate key name ‘meta_key’ for query ALTER TABLE wp_postmeta ADD KEY meta_key (meta_key(191)) made by wp_upgrade, make_db_current_silent, dbDelta

    [02-Apr-2024 20:50:10 UTC] WordPress database error Duplicate key name ‘type_status_date’ for query ALTER TABLE wp_posts ADD KEY type_status_date (post_type,post_status,post_date,ID) made by wp_upgrade, make_db_current_silent, dbDelta

    [02-Apr-2024 20:50:10 UTC] WordPress database error Duplicate key name ‘post_parent’ for query ALTER TABLE wp_posts ADD KEY post_parent (post_parent) made by wp_upgrade, make_db_current_silent, dbDelta

    [02-Apr-2024 20:50:10 UTC] WordPress database error Duplicate key name ‘post_author’ for query ALTER TABLE wp_posts ADD KEY post_author (post_author) made by wp_upgrade, make_db_current_silent, dbDelta`

    Probably i will (later today) revert to 6.4.3 from my backups, still before doing so, any ideas what is all that?

    Thanks

    • This topic was modified 12 months ago by dimal.
    • This topic was modified 12 months ago by dimal.
Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter dimal

    (@dimalifragis)

    Could the issues be due to

    https://www.ads-software.com/plugins/index-wp-mysql-for-speed/

    i wonder ….

    threadi

    (@threadi)

    If you use this plugin and see it as the cause, deactivate it as a test. Possibly the best way to do this would be via the backup or ask their support forum.

    Otherwise, please also refer to this article: https://www.ads-software.com/support/topic/read-this-first-wordpress-6-5/

    Thread Starter dimal

    (@dimalifragis)

    @threadi The plugin is deactivated and removed a long time ago BUT after doing the changes.

    threadi

    (@threadi)

    Have you deactivated it without undoing the changes? According to the plugin description, there is also an option to do this in the plugin. You might want to ask the support forum there: https://www.ads-software.com/support/plugin/index-wp-mysql-for-speed/

    Thread Starter dimal

    (@dimalifragis)

    @threadi That plugin doesn’t need to be active or even present after the job.

    And no, i didn’t undo anything. Actually i didn’t even installed the plugin in the first place, our hosting company did, without any notice.

    For now, i’m reverting back to 6.4.3, undo the changes of the db and update again to 6.5.

    And hope the issues do not happen again during the upgrade.

    Thread Starter dimal

    (@dimalifragis)

    The issues were due to

    https://www.ads-software.com/plugins/index-wp-mysql-for-speed/

    i was right. Reverting back to WP indexing, resolved the upgrade issue to WP 6.5

    coralbay

    (@coralbay)

    Hello everyone,

    I tried to update to 6.5 but got the following errors – can anybody help?

    WordPress version 6.4.3 Active theme: Blanco Child – child theme of Blanco (version 0.1) Current plugin: qTranslate (version 2.5.39-fixed) PHP version 7.4.33

    Error Details ============= An error of type E_ERROR was caused in line 455 of the file /home/ch66077/web/meemi.net/public_html/wp-content/plugins/qtranslate/qtranslate_core.php. Error message: Uncaught Error: Object of class WP_Post could not be converted to string in /home/ch66077/web/meemi.net/public_html/wp-content/plugins/qtranslate/qtranslate_core.php:455 Stack trace: #0 /home/ch66077/web/meemi.net/public_html/wp-content/plugins/qtranslate/qtranslate_core.php(460): qtrans_strftime(‘1343989875’, 1343989875, 1343989875, Object(WP_Post), ”) #1 /home/ch66077/web/meemi.net/public_html/wp-includes/class-wp-hook.php(324): qtrans_dateFromPostForCurrentLanguage(1343989875, ‘U’, Object(WP_Post)) #2 /home/ch66077/web/meemi.net/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters(1343989875, Array) #3 /home/ch66077/web/meemi.net/public_html/wp-includes/general-template.php(2591): apply_filters(‘get_the_date’, 1343989875, ‘U’, Object(WP_Post)) #4 /home/ch66077/web/meemi.net/public_html/wp-content/plugins/all-in-one-seo-pack/app/Common/Utils/Tags.php(955): get_the_date(‘U’) #5 /home/ch66077/web/meemi.net/public_html/wp-content/plugins/all-in-one-seo-pack/app/Common/Utils/Tags.php(597): AIOSEO\Pl

    
    
    
    
    WordPress version 6.4.3
    
    Active theme: Blanco Child - child theme of Blanco (version 0.1) Current plugin: qTranslate (version 2.5.39-fixed) PHP version 7.4.33
    
    Error Details
    
    =============
    
    An error of type E_ERROR was caused in line 455 of the file /home/ch66077/web/meemi.net/public_html/wp-content/plugins/qtranslate/qtranslate_core.php. Error message: Uncaught Error: Object of class WP_Post could not be converted to string in /home/ch66077/web/meemi.net/public_html/wp-content/plugins/qtranslate/qtranslate_core.php:455
    
    Stack trace:
    
    #0 /home/ch66077/web/meemi.net/public_html/wp-content/plugins/qtranslate/qtranslate_core.php(460): qtrans_strftime('1343989875', 1343989875, 1343989875, Object(WP_Post), '')
    
    #1 /home/ch66077/web/meemi.net/public_html/wp-includes/class-wp-hook.php(324): qtrans_dateFromPostForCurrentLanguage(1343989875, 'U', Object(WP_Post))
    
    #2 /home/ch66077/web/meemi.net/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters(1343989875, Array)
    
    #3 /home/ch66077/web/meemi.net/public_html/wp-includes/general-template.php(2591): apply_filters('get_the_date', 1343989875, 'U', Object(WP_Post))
    
    #4 /home/ch66077/web/meemi.net/public_html/wp-content/plugins/all-in-one-seo-pack/app/Common/Utils/Tags.php(955): get_the_date('U')
    
    #5 /home/ch66077/web/meemi.net/public_html/wp-content/plugins/all-in-one-seo-pack/app/Common/Utils/Tags.php(597): AIOSEO\Pl
    • This reply was modified 12 months ago by coralbay.
    Thread Starter dimal

    (@dimalifragis)

    @coralbay Please (per www.ads-software.com rules) open a new topic with your issue.

    That way you will have the opportunity to get some help.

    coralbay

    (@coralbay)

    @dimalifragis Thank you for your reply. But how do I start a topic?

    Moderator Support Moderator

    (@moderator)

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Upgrading from 6.4.3 to 6.5’ is closed to new replies.