Guzzlehtml error following upgrade

UpdraftPlus Home Forums Paid support forum – UpdraftPlus backup plugin Guzzlehtml error following upgrade

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #2065448
    Rebecca
    Participant

    Since I upgraded from v2.23.14.26 to v2.24.1.26, various sites on my multisite are unable to load, both on the frontend and on the backend. The error is "Uncaught Error: Call to undefined method GuzzleHttp\Utils::chooseHandler()".

    What appears to be happening is that another plugin is initializing a more recent version of GuzzleHttp that does not have the method chooseHandler. This issue was also pointed out in “Still problems with very old GuzzleHTTP client” (https://updraftplus.com/forums/topic/still-problems-with-very-old-guzzlehttp-client/).

    Is a fix incoming, and is there a way to work around this? I’ve tried using the option_active_plugins filter to unset UpdraftPlus in a Must Use plugin, but that didn’t work.

    #2065449
    Rebecca
    Participant
    This reply has been marked as moderator-only.
    #2065949
    Anthonius Alfred Andreas
    Moderator

    Hi Rebecca,

    Apologies for the inconvenience caused

    Yes, we already have the fix for that 3rd party library issue, it will be added to the next release of UpdraftPlus. In the meantime, to work around the issue, you can download and extract the following zip file

    https://filetransfer.io/data-package/JqSCyKmq

    it contains a file named class-updraftplus.php, which is the core file of the UpdraftPlus plugin. Once extracted, you will need to copy and/or move the file to the UpdraftPlus root directory (/plugins/updraftplus), it will overwrite the existing one you have in that directory.

    Thanks
    Anthon

    #2066390
    Paul
    Participant

    Hi
    Just so you are aware, I have tried this solution and it did not fix my issue.
    Regards
    Paul

    #2070152
    Rebecca
    Participant

    I tried applying the class-updraftplus.php patch to my dev install, and it did fix the problem for me

    #2070771
    Anthonius Alfred Andreas
    Moderator

    Hi,

    I’m glad that it resolved the 3rd party library issue (GuzzleHTTP). Let us know if you need further assistance.

    Thanks
    Anthon

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Guzzlehtml error following upgrade’ is closed to new replies.