• Resolved Chuckie

    (@ajtruckle)


    I upgraded to 6.4 which went without a hitch. But now the Updates area is broken. When it tries to do updates or plugins or translations it 504s saying gateway Never had this before.

Viewing 15 replies - 1 through 15 (of 26 total)
  • Giannis Sifakis

    (@giansifakis)

    I am having the same issue with multiple websites. The Updater doesn’t work after the WordPress upgrade to the 6.4 version.

    Thread Starter Chuckie

    (@ajtruckle)

    I hope that a way to fix this can be provided. Since running an update via gui is not gonna work.

    odera100

    (@odera100)

    Good afternoon, i receieved a message from my email that my wordpress was upgraded to 6.4. Ever since then, i cant perform must functions like editing, installing plugins and also updating plugins. Pls, i need urgent help.

    bdonovanw

    (@bdonovanw)

    Same issue here, upgrading to 6.4 causes all updates to fail (themes and plugins, at least). The debug log files don’t seem to indicate the source of the problem, only showing some deprecated PHP calls but no failures.

    kesar1

    (@kesar1)

    Hi guys, reverting the changes shown here fixed it for me:

    https://github.com/WordPress/Requests/pull/657/files

    (More about the issue https://github.com/WordPress/Requests/issues/838)

    owenpiccirillo

    (@owenpiccirillo)

    Yes, i have this same issue… 6.4 needs to be fixed.. can’t update plugins, getting a 504 error..

    Thread Starter Chuckie

    (@ajtruckle)

    @kesar1 is that just one line of code? I don’t understand why I have not had an official response about it.

    bdonovanw

    (@bdonovanw)

    “Reverting the change” implies knowing what change was made, which file it’s in, and this topic is not really a developer topic. More explicit information would be necessary, IMO, for many people who don’t do WP or PHP development.

    Thread Starter Chuckie

    (@ajtruckle)

    @bdonovanw

    Looking at the GitHub discussion someone said:

    Same error here. You can temporary fix it changing line 367 in Transport/Curl.php from:

    if ($this->version < self::CURL_7_22_0 && !isset($headers['Connection'])) {
    

    to:

    if (!isset($headers['Connection'])) {

    I have not tested this yet. Not at a PC.

    kesar1

    (@kesar1)

    @bdonovanw

    The file is: wp-includes/Requests/src/Transport/Curl.php

    The change is shown here https://github.com/WordPress/Requests/pull/657/files

    The lines with green coloring and beginning with “+” are added lines, the red colored line beginning with a “-” is a removed line

    bdonovanw

    (@bdonovanw)

    Oh, I’d already made the change, but thank you for the link. The problem is that this is “Installing WordPress,” which is likely to find people who admin WordPress sites and not necessarily those who are willing or able to make changes to the base source.

    kesar1

    (@kesar1)

    people who admin WordPress sites and not necessarily those who are willing or able to make changes to the base source.

    For everyone’s information: there’s a regression in WordPress 6.4 source code (in file wp-includes/Requests/src/Transport/Curl.php), which breaks update functionality at least for systems with curl 7.29

    It’s easy to fix manually, but if you’re unable to edit the file, I guess you’ll need to either roll back to the previous version or then wait for a new fixed version – which you will have to install manually, since the curl stuff don’t work

    Thread Starter Chuckie

    (@ajtruckle)

    I applied the official hotfix:

    Release Version 2.0.9 · WordPress/Requests (github.com)

    Now I can perform updates again.

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    Note, we have changed www.remarpro.com responses to work with the problem. So, for the updates to www.remarpro.com, they will work. A comprehensive fix will be deployed shortly, correcting the issue for everybody.

    Thread Starter Chuckie

    (@ajtruckle)

    @otto42

    Thank you. ??????

Viewing 15 replies - 1 through 15 (of 26 total)
  • The topic ‘Upgraded to 6.4. Now can’t do updates’ is closed to new replies.