A PHP Error was encountered

Severity: Warning

Message: Invalid argument supplied for foreach()

Filename: models/magento.php

Line Number: 51

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: options

Filename: models/magento.php

Line Number: 172


Fatal error: Uncaught GuzzleHttp\Exception\ClientException: Client error: `POST https://www.huijerslaapcomfort.nl/rest/default/V1/carts//items` resulted in a `400 Bad Request` response: {"message":"\"%fieldName\" is verplicht. Voer in en probeer het nogmaals.","parameters":{"fieldName":"quoteId"},"trace": (truncated...) in /var/www/huicfg/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:113 Stack trace: #0 /var/www/huicfg/vendor/guzzlehttp/guzzle/src/Middleware.php(66): GuzzleHttp\Exception\RequestException::create() #1 /var/www/huicfg/vendor/guzzlehttp/promises/src/Promise.php(203): GuzzleHttp\Middleware::GuzzleHttp\{closure}() #2 /var/www/huicfg/vendor/guzzlehttp/promises/src/Promise.php(156): GuzzleHttp\Promise\Promise::callHandler() #3 /var/www/huicfg/vendor/guzzlehttp/promises/src/TaskQueue.php(47): GuzzleHttp\Promise\Promise::GuzzleHttp\Promise\{closure}() #4 /var/www/huicfg/vendor/guzzlehttp/promises/src/Promise.php(246): GuzzleHttp\Promise\TaskQueue->run() #5 /var/www/huicfg/vendor/guzzlehttp/promises/ in /var/www/huicfg/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php on line 113