Open phpmac opened 2 years ago
Error
Call to undefined function GuzzleHttp\Psr7\uri_for()
at vendor/ratchet/pawl/src/Connector.php:126
122▕ * @throws \InvalidArgumentException
123▕ * @return \Psr\Http\Message\RequestInterface
124▕ */
125▕ protected function generateRequest($url, array $subProtocols, array $headers) {
➜ 126▕ $uri = gPsr\uri_for($url);
127▕
128▕ $scheme = $uri->getScheme();
129▕
130▕ if (!in_array($scheme, ['ws', 'wss'])) {
+2 vendor frames
3 app/Console/Commands/ListenOrder.php:61
Binance\API::userData(Object(Closure), Object(Closure))
+13 vendor frames
17 artisan:37
Illuminate\Foundation\Console\Kernel::handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
this will fix the issue if anyone else facing the same issue
composer require guzzlehttp/psr7 "^1.8.2"
Call to undefined function GuzzleHttp\Psr7\uri_for()