Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trying to update to Guzzle V6 #51

Open
tmikaeld opened this issue Dec 13, 2016 · 0 comments
Open

Trying to update to Guzzle V6 #51

tmikaeld opened this issue Dec 13, 2016 · 0 comments

Comments

@tmikaeld
Copy link

I have trouble understanding what this does:

https://github.com/ShopifyExtras/PHP-Shopify-API-Wrapper/blob/master/src/Client.php#L139

getEmitter() doesn't exist in V6 but does in V5.

I get this error:

PHP Fatal error:  Uncaught InvalidArgumentException: Magic request methods require a URI and optional options array in /var/www/public/api/vendor/guzzlehttp/guzzle/src/Client.php:79

Stack trace:\n#0 /var/www/public/api/src/Client.php(139): GuzzleHttp\\Client->__call('getEmitter', Array)\n#1 /var/www/public/api/src/Client.php(241): Shopify\\Client->buildClient()

#2 /var/www/public/api/index.php(54): Shopify\\Client->__call('getProducts', Array)

#3 {main}\n  thrown in /var/www/public/api/vendor/guzzlehttp/guzzle/src/Client.php on line 79
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant