muxinc / mux-php

Official Mux API wrapper for PHP projects, supporting both Mux Data and Mux Video.
MIT License
40 stars 30 forks source link

Call to undefined function GuzzleHttp\\Psr7\\build_query() #57

Open wri-rahul-d opened 2 years ago

wri-rahul-d commented 2 years ago

I believe that GuzzleHttp/psr7/build_query() method has been deprecated instead you should use GuzzleHttp/psr7/Query::build().

I am getting following error in my application:

{
    "message": "Call to undefined function GuzzleHttp\\Psr7\\build_query()",
    "context": {
        "exception": {
            "class": "Error",
            "message": "Call to undefined function GuzzleHttp\\Psr7\\build_query()",
            "code": 0,
            "file": "/tmp/vendor/muxinc/mux-php/MuxPhp/Api/LiveStreamsApi.php:2505"
        },
        ...
    },
}
tonybyng commented 1 year ago

Im having the same issue. Just grabbed v3.8 and it still refers to build_query() Did you resolve this ?