-
Notifications
You must be signed in to change notification settings - Fork 188
Closed
Labels
Description
Issue summary
Error thrown: Call to a member function client() on null in /var/www/vendor/shopify/shopify-api/src/Clients/Http.php on line 164
Expected behavior
$client = Context::$HTTP_CLIENT_FACTORY->client(); Should be returning a working Guzzle client however it isnt. Apologies it's late here but Context::initialize() is never called as far as I can see and so $HTTP_CLIENT_FACTORY is never populated with the Guzzle client that is relied on.
Steps to reproduce the problem
- Run composer for version 1.0.0
- Make a very basic call like
new \Shopify\Clients\Rest($url, $accessToken)->get('orders');