You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 3, 2023. It is now read-only.
I'm trying to use your library but it's returning errors which look to be related to a partial change or removal of Guzzle code.
It was only pulled 2 days ago (24/Nov) and is version 0.3.1.
Error:
PHP Notice: Undefined property: Sminnee\WorkflowMax\ApiClient::$fetcher in [...]/vendor/sminnee/workflowmax-php/src/ApiClient.php on line 173
PHP Fatal error: Uncaught TypeError: Argument 2 passed to Sminnee\WorkflowMax\ApiCall::__construct() must be an instance of GuzzleHttp\Client, null given, called in [...]/vendor/sminnee/workflowmax-php/src/ApiClient.php on line 173 and defined in [...]/vendor/sminnee/workflowmax-php/src/ApiCall.php:25
Stack trace:
#0 [...]/vendor/sminnee/workflowmax-php/src/ApiClient.php(173): Sminnee\WorkflowMax\ApiCall->__construct()
#1 [...]/vendor/sminnee/workflowmax-php/src/Connector/JobConnector.php(57): Sminnee\WorkflowMax\ApiClient->apiCall()
#2 [...]/wfm-float-sync.php(18): Sminnee\WorkflowMax\Connector\JobConnector->current()
#3 {main}
thrown in [...]/vendor/sminnee/workflowmax-php/src/ApiCall.php on line 25
Code:
<?php
// include auto loaded composer libraries
require __DIR__ . '/vendor/autoload.php';
use Sminnee\WorkflowMax\ApiClient;
use Sminnee\WorkflowMax\IterMiner\IterMiner;
$wfmAccountKey = '...;
$wfmApiKey = '...';
$wfm = new ApiClient([
'api_key' => $wfmApiKey,
'account_key' => $wfmAccountKey,
]);
$jobs = $wfm->job()->current();
print_r($jobs);
Hi,
I'm trying to use your library but it's returning errors which look to be related to a partial change or removal of Guzzle code.
It was only pulled 2 days ago (24/Nov) and is version 0.3.1.
Error:
Code: