^ InvalidArgumentException {#493
#message: "Missing the required parameter $id when calling retrieveProducts"
#code: 0
#file: "/home/baert/apps/live/releases/844/vendor/boa/digon-openapi/lib/Api/DefaultApi.php"
#line: 24361
trace: {
/home/baert/apps/live/releases/844/vendor/boa/digon-openapi/lib/Api/DefaultApi.php:24361 {
OpenAPI\Client\Api\DefaultApi->retrieveProductsRequest($id, $wsa_sessiontoken = null, $category = null, string $contentType = '…16') …
› if ($id === null || (is_array($id) && count($id) === 0)) {
› throw new \InvalidArgumentException(
› 'Missing the required parameter $id when calling retrieveProducts'
}
/home/baert/apps/live/releases/844/vendor/boa/digon-openapi/lib/Api/DefaultApi.php:24183 {
OpenAPI\Client\Api\DefaultApi->retrieveProductsWithHttpInfo($id, $wsa_sessiontoken = null, $category = null, string $contentType = '…16') …
› {
› $request = $this->retrieveProductsRequest($id, $wsa_sessiontoken, $category, $contentType);
›
arguments: {
$id: []
$wsa_sessiontoken: "gdk6fgirgiql1o7i53qkljh4ll"
$category: null
$contentType: "application/json"
}
}
/home/baert/apps/live/releases/844/vendor/boa/digon-openapi/lib/Api/DefaultApi.php:24163 {
OpenAPI\Client\Api\DefaultApi->retrieveProducts($id, $wsa_sessiontoken = null, $category = null, string $contentType = '…16') …
› {
› list($response) = $this->retrieveProductsWithHttpInfo($id, $wsa_sessiontoken, $category, $contentType);
› return $response;
arguments: {
$id: []
$wsa_sessiontoken: "gdk6fgirgiql1o7i53qkljh4ll"
$category: null
$contentType: "application/json"
}
}
/home/baert/apps/live/releases/844/extensions/DigonApi/ProductFetcher.php:34 {
DigonApi\ProductFetcher::DigonApi\{closure} …
› id: $ids,
› wsa_sessiontoken: Current::$session->get('digon_session_token'),
› );
arguments: {
$id: []
$wsa_sessiontoken: "gdk6fgirgiql1o7i53qkljh4ll"
}
}
/home/baert/apps/live/releases/844/extensions/DigonApi/AbstractFetcher.php:15 {
DigonApi\AbstractFetcher::retryIfTokenFailed(callable $closure) …
› try {
› return $closure();
› } catch (ApiException $exception) {
}
/home/baert/apps/live/releases/844/extensions/DigonApi/ProductFetcher.php:36 {
DigonApi\ProductFetcher::findProducts(array $ids): array …
› );
› });
› } catch (Exception $e) {
arguments: {
$closure: Closure() {#491 …}
}
}
/home/baert/apps/live/releases/844/vendor/boa/baert-craftcms-graphql/src/Queries/Pages/DefaultPage.php:107 {
Boa\BaertCraftCMSGraphQL\Queries\Pages\DefaultPage::loadProducts(array $skus = [], $categoryID = null, $amount = 10) …
› ) {
› return ProductFetcher::findProducts($skus);
› }
arguments: {
$ids: []
}
}
/home/baert/apps/live/releases/844/vendor/boa/baert-craftcms-graphql/src/Queries/Pages/DefaultPage.php:38 {
Boa\BaertCraftCMSGraphQL\Queries\Pages\DefaultPage::Boa\BaertCraftCMSGraphQL\Queries\Pages\{closure} …
› categoryID: $itemProducts[0]['itemCategoryId'],
› amount: $itemProducts[0]['itemAmount']
› );
arguments: {
$skus: []
$categoryID: "B058"
$amount: 15
}
}
Boa\BaertCraftCMSGraphQL\Queries\Pages\DefaultPage::Boa\BaertCraftCMSGraphQL\Queries\Pages\{closure}() {}
/home/baert/apps/live/releases/844/vendor/boa/baert-craftcms-graphql/src/Queries/Pages/DefaultPage.php:97 {
Boa\BaertCraftCMSGraphQL\Queries\Pages\DefaultPage::postCallProcessing(array $result): array …
› }
› }, $result['entry']['fieldContentBuilder']);
›
arguments: {
$callback: Closure($containerItem) {#468 …}
$array: array:8 [ …8]
}
}
/home/baert/apps/live/releases/844/vendor/boa/baert-craftcms-graphql/src/Fetcher/Fetcher.php:96 {
Boa\BaertCraftCMSGraphQL\Fetcher\Fetcher::doCall(QueryInterface $query, array $variables, $cacheblePageCall = false): ResolvedPage …
›
› $viewData = $query::postCallProcessing($data);
› return new ResolvedPage($query::getTemplate(), $viewData);
arguments: {
$result: array:3 [ …3]
}
}
/home/baert/apps/live/releases/844/vendor/boa/baert-craftcms-graphql/src/Resolver/PageResolver.php:40 {
Boa\BaertCraftCMSGraphQL\Resolver\PageResolver::resolveForEntryType(GetEntryType $entryType): ResolvedPage …
› 'blog_default_Entry' => Fetcher::doCall(new BlogDetailPage(), $variables, true),
› 'pages_default_Entry' => Fetcher::doCall(new DefaultPage(), $variables, true),
› 'productCategory_default_Entry' => Fetcher::doCall(new ProductCategoryPage(), $variables, true),
arguments: {
$query: Boa\BaertCraftCMSGraphQL\Queries\Pages\DefaultPage {#429 …}
$variables: array:4 [ …4]
$cacheblePageCall: true
}
}
/home/baert/apps/live/releases/844/vendor/boa/baert-craftcms-graphql/src/CraftCMSGraphQL.php:270 {
Boa\BaertCraftCMSGraphQL\CraftCMSGraphQL::loadPage(string $fullPath, string $locale = 'nl', array $queryParameters = []): ResolvedPage …
›
› return PageResolver::resolveForEntryType($entryType);
› }
arguments: {
$entryType: Boa\BaertCraftCMSGraphQL\Queries\GetEntryType {#420 …}
}
}
/home/baert/apps/live/releases/844/modules/site/controller/SiteController.php:95 {
Site\Controller\SiteController->craftCmsPage(): string …
› locale: ucfirst($this->vars['lang']),
› queryParameters: $this->request->query->all(),
› );
arguments: {
$fullPath: "kinesisten/"
$locale: "Nl"
$queryParameters: []
}
}
/home/baert/apps/live/releases/844/lib/Controller.php:132 {
Boa\Controller->loadController($controller) …
› if (method_exists($controller, $function_name)) {
› return $controller->$function_name($this->vars);
› }
arguments: {
array:6 [ …6]
}
}
/home/baert/apps/live/releases/844/modules/site/controller/BaseController.php:235 {
Site\Controller\BaseController->process(): RedirectResponse|string|bool …
›
› return $this->loadController('Site:SiteController:craftCmsPage');
› } catch (Exception) {
arguments: {
$controller: Site\Controller\SiteController {#254 …}
}
}
/home/baert/apps/live/releases/844/lib/Router.php:218 {
Boa\Router->loadController($params) …
› try {
› $content = $controller->$function_name($variables);
› } catch (Exception $e) {
arguments: {
array:1 [ …1]
}
}
/home/baert/apps/live/releases/844/lib/Router.php:106 {
Boa\Router->processParams($params = []) …
› if (!empty($params['controller'])) {
› $this->loadController($params);
› } elseif (!empty($params['function'])) {
arguments: {
$params: array:4 [ …4]
}
}
/home/baert/apps/live/releases/844/lib/Router.php:62 {
Boa\Router->__construct($routes) …
›
› $this->processParams($params ?? []);
› }
arguments: {
$params: array:4 [ …4]
}
}
/home/baert/apps/live/releases/844/core/bootstrap.php:284 {
include_once …
› // Handle the routing.
› $router = new Boa\Router($routes);
›
arguments: {
$routes: Symfony\Component\Routing\RouteCollection {#98 …}
}
}
/home/baert/apps/live/releases/844/public/index.php:2 {
› <?php
› include_once '../core/bootstrap.php';
›
arguments: {
"/home/baert/apps/live/releases/844/core/bootstrap.php"
}
}
}
}