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
natuarally it should create the apiContext and continue processing
What happens:
error occurs curl_setopt_array(): Argument 2 ($options) must contain only valid cURL options
Traceback
ValueError:
curl_setopt_array(): Argument #2 ($options) must contain only valid cURL options
at /var/www/vhosts/domainname/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:70
at curl_setopt_array()
(/var/www/vhosts/domainname/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:70)
at GuzzleHttp\Handler\CurlFactory->create()
(/var/www/vhosts/domainname/vendor/guzzlehttp/guzzle/src/Handler/CurlHandler.php:43)
at GuzzleHttp\Handler\CurlHandler->__invoke()
(/var/www/vhosts/domainname/vendor/guzzlehttp/guzzle/src/Handler/Proxy.php:28)
at GuzzleHttp\Handler\Proxy::GuzzleHttp\Handler\{closure}()
(/var/www/vhosts/domainname/vendor/guzzlehttp/guzzle/src/Handler/Proxy.php:48)
at GuzzleHttp\Handler\Proxy::GuzzleHttp\Handler\{closure}()
(/var/www/vhosts/domainname/vendor/bunq/sdk_php/src/Http/Handler/HandlerUtil.php:40)
at bunq\Http\Handler\HandlerUtil::bunq\Http\Handler\{closure}()
(/var/www/vhosts/domainname/vendor/bunq/sdk_php/src/Http/Handler/HandlerUtil.php:40)
at bunq\Http\Handler\HandlerUtil::bunq\Http\Handler\{closure}()
(/var/www/vhosts/domainname/vendor/bunq/sdk_php/src/Http/Handler/HandlerUtil.php:23)
at bunq\Http\Handler\HandlerUtil::bunq\Http\Handler\{closure}()
(/var/www/vhosts/domainname/vendor/bunq/sdk_php/src/Http/Handler/HandlerUtil.php:23)
at bunq\Http\Handler\HandlerUtil::bunq\Http\Handler\{closure}()
(/var/www/vhosts/domainname/vendor/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php:64)
at GuzzleHttp\PrepareBodyMiddleware->__invoke()
(/var/www/vhosts/domainname/vendor/guzzlehttp/guzzle/src/Middleware.php:31)
at GuzzleHttp\Middleware::GuzzleHttp\{closure}()
(/var/www/vhosts/domainname/vendor/guzzlehttp/guzzle/src/RedirectMiddleware.php:71)
at GuzzleHttp\RedirectMiddleware->__invoke()
(/var/www/vhosts/domainname/vendor/guzzlehttp/guzzle/src/Middleware.php:63)
at GuzzleHttp\Middleware::GuzzleHttp\{closure}()
(/var/www/vhosts/domainname/vendor/guzzlehttp/guzzle/src/HandlerStack.php:75)
at GuzzleHttp\HandlerStack->__invoke()
(/var/www/vhosts/domainname/vendor/guzzlehttp/guzzle/src/Client.php:333)
at GuzzleHttp\Client->transfer()
(/var/www/vhosts/domainname/vendor/guzzlehttp/guzzle/src/Client.php:169)
at GuzzleHttp\Client->requestAsync()
(/var/www/vhosts/domainname/vendor/guzzlehttp/guzzle/src/Client.php:189)
at GuzzleHttp\Client->request()
(/var/www/vhosts/domainname/vendor/bunq/sdk_php/src/Http/ApiClient.php:220)
at bunq\Http\ApiClient->request()
(/var/www/vhosts/domainname/vendor/bunq/sdk_php/src/Http/ApiClient.php:485)
at bunq\Http\ApiClient->post()
(/var/www/vhosts/domainname/vendor/bunq/sdk_php/src/Model/Core/SessionServer.php:67)
at bunq\Model\Core\SessionServer::create()
(/var/www/vhosts/domainname/vendor/bunq/sdk_php/src/Context/ApiContext.php:247)
at bunq\Context\ApiContext->initializeSessionContext()
(/var/www/vhosts/domainname/vendor/bunq/sdk_php/src/Context/ApiContext.php:392)
at bunq\Context\ApiContext->resetSession()
(/var/www/vhosts/domainname/vendor/bunq/sdk_php/src/Context/ApiContext.php:363)
at bunq\Context\ApiContext->ensureSessionActive()
(/var/www/vhosts/domainname/vendor/bunq/sdk_php/src/Http/ApiClient.php:238)
at bunq\Http\ApiClient->initialize()
(/var/www/vhosts/domainname/vendor/bunq/sdk_php/src/Http/ApiClient.php:214)
at bunq\Http\ApiClient->request()
(/var/www/vhosts/domainname/vendor/bunq/sdk_php/src/Http/ApiClient.php:194)
at bunq\Http\ApiClient->get()
(/var/www/vhosts/domainname/vendor/bunq/sdk_php/src/Model/Generated/Endpoint/MonetaryAccountBank.php:514)
at bunq\Model\Generated\Endpoint\MonetaryAccountBank::listing()
(/var/www/vhosts/domainname/vendor/bunq/sdk_php/src/Context/UserContext.php:112)
at bunq\Context\UserContext->initMainMonetaryAccount()
(/var/www/vhosts/domainname/vendor/bunq/sdk_php/src/Context/BunqContext.php:42)
at bunq\Context\BunqContext::loadApiContext()
(/var/www/vhosts/domainname/app/Http/Controllers/WefactController.php:370)
at App\Http\Controllers\WefactController->wefactTest()
(/var/www/vhosts/domainname/vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54)
at Illuminate\Routing\Controller->callAction()
(/var/www/vhosts/domainname/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:45)
at Illuminate\Routing\ControllerDispatcher->dispatch()
(/var/www/vhosts/domainname/vendor/laravel/framework/src/Illuminate/Routing/Route.php:262)
at Illuminate\Routing\Route->runController()
(/var/www/vhosts/domainname/vendor/laravel/framework/src/Illuminate/Routing/Route.php:205)
at Illuminate\Routing\Route->run()
(/var/www/vhosts/domainname/vendor/laravel/framework/src/Illuminate/Routing/Router.php:721)
at Illuminate\Routing\Router->Illuminate\Routing\{closure}()
(/var/www/vhosts/domainname/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:128)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
(/var/www/vhosts/domainname/app/Http/Middleware/IsNotVoiceOfSecretary.php:16)
at App\Http\Middleware\IsNotVoiceOfSecretary->handle()
(/var/www/vhosts/domainname/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
(/var/www/vhosts/domainname/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php:50)
at Illuminate\Routing\Middleware\SubstituteBindings->handle()
(/var/www/vhosts/domainname/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
(/var/www/vhosts/domainname/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php:44)
at Illuminate\Auth\Middleware\Authenticate->handle()
(/var/www/vhosts/domainname/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
(/var/www/vhosts/domainname/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php:78)
at Illuminate\Foundation\Http\Middleware\VerifyCsrfToken->handle()
(/var/www/vhosts/domainname/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
(/var/www/vhosts/domainname/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php:49)
at Illuminate\View\Middleware\ShareErrorsFromSession->handle()
(/var/www/vhosts/domainname/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
(/var/www/vhosts/domainname/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:121)
at Illuminate\Session\Middleware\StartSession->handleStatefulRequest()
(/var/www/vhosts/domainname/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:64)
at Illuminate\Session\Middleware\StartSession->handle()
(/var/www/vhosts/domainname/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
(/var/www/vhosts/domainname/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php:37)
at Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle()
(/var/www/vhosts/domainname/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
(/var/www/vhosts/domainname/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php:67)
at Illuminate\Cookie\Middleware\EncryptCookies->handle()
(/var/www/vhosts/domainname/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
(/var/www/vhosts/domainname/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:103)
at Illuminate\Pipeline\Pipeline->then()
(/var/www/vhosts/domainname/vendor/laravel/framework/src/Illuminate/Routing/Router.php:723)
at Illuminate\Routing\Router->runRouteWithinStack()
(/var/www/vhosts/domainname/vendor/laravel/framework/src/Illuminate/Routing/Router.php:698)
at Illuminate\Routing\Router->runRoute()
(/var/www/vhosts/domainname/vendor/laravel/framework/src/Illuminate/Routing/Router.php:662)
at Illuminate\Routing\Router->dispatchToRoute()
(/var/www/vhosts/domainname/vendor/laravel/framework/src/Illuminate/Routing/Router.php:651)
at Illuminate\Routing\Router->dispatch()
(/var/www/vhosts/domainname/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:167)
at Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}()
(/var/www/vhosts/domainname/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:128)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
(/var/www/vhosts/domainname/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21)
at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle()
(/var/www/vhosts/domainname/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php:31)
at Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull->handle()
(/var/www/vhosts/domainname/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
(/var/www/vhosts/domainname/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21)
at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle()
(/var/www/vhosts/domainname/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php:40)
at Illuminate\Foundation\Http\Middleware\TrimStrings->handle()
(/var/www/vhosts/domainname/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
(/var/www/vhosts/domainname/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php:27)
at Illuminate\Foundation\Http\Middleware\ValidatePostSize->handle()
(/var/www/vhosts/domainname/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
(/var/www/vhosts/domainname/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php:86)
at Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle()
(/var/www/vhosts/domainname/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
(/var/www/vhosts/domainname/vendor/fruitcake/laravel-cors/src/HandleCors.php:38)
at Fruitcake\Cors\HandleCors->handle()
(/var/www/vhosts/domainname/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
(/var/www/vhosts/domainname/vendor/fideloper/proxy/src/TrustProxies.php:57)
at Fideloper\Proxy\TrustProxies->handle()
(/var/www/vhosts/domainname/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
(/var/www/vhosts/domainname/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:103)
at Illuminate\Pipeline\Pipeline->then()
(/var/www/vhosts/domainname/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:142)
at Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter()
(/var/www/vhosts/domainname/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:111)
at Illuminate\Foundation\Http\Kernel->handle()
(/var/www/vhosts/domainname/public/index.php:52)
Steps to reproduce:
What should happen:
What happens:
Traceback
SDK version and environment
Tested on 1.14.1
Tested on 1.15.0
Production
The text was updated successfully, but these errors were encountered: