Slim Application Error

The application could not run because of the following error:

Details

Type: Prismic\Exception\RequestFailureException
Code: 400
Message: The GET request to the repository vicwebsite2019.cdn.prismic.io resulted in a 400 Bad Request error. Complete URL: https://vicwebsite2019.cdn.prismic.io/api/v2/documents/search?page=1&pageSize=20&access_token=MC5YY3FfeWhBQUFDTUEyY1VF.DO-_vQbvv71Benp7D2Tvv711Y--_ve-_vUjvv715Ue-_ve-_ve-_vVXvv73vv71O77-977-9anTvv702&ref=ZzdX2RAAACEA-aAP&q=%5B%5B%3Ad%20%3D%20at%28my.author.uid%2C%20%22%3Cstrong%20style%3D%22color%3A%20%23772b28%3B%22%3EAutor%20is%20mandatory%20and%20currently%20missing%3C%2Fstrong%3E%22%29%5D%5D&lang=fr-fr
File: /var/www/vitronic.com/vendor/prismic/php-sdk/src/Prismic/Exception/RequestFailureException.php
Line: 52

Trace

#0 /var/www/vitronic.com/vendor/prismic/php-sdk/src/Prismic/Exception/RequestFailureException.php(25): Prismic\Exception\RequestFailureException::fromGuzzleRequestException()
#1 /var/www/vitronic.com/vendor/prismic/php-sdk/src/Prismic/SearchForm.php(359): Prismic\Exception\RequestFailureException::fromGuzzleException()
#2 /var/www/vitronic.com/vendor/prismic/php-sdk/src/Prismic/SearchForm.php(251): Prismic\SearchForm->submitRaw()
#3 /var/www/vitronic.com/vendor/prismic/php-sdk/src/Prismic/Api.php(437): Prismic\SearchForm->submit()
#4 /var/www/vitronic.com/vendor/prismic/php-sdk/src/Prismic/Api.php(451): Prismic\Api->query()
#5 /var/www/vitronic.com/vendor/prismic/php-sdk/src/Prismic/Api.php(483): Prismic\Api->queryFirst()
#6 /var/www/vitronic.com/app/controller/Controller.php(1649): Prismic\Api->getByUID()
#7 /var/www/vitronic.com/app/controller/Controller.php(762): Controller->fetchTypeByUID()
#8 /var/www/vitronic.com/app/model/extensions/ApplicationTechnicalData.php(177): Controller->fetchAuthorByUID()
#9 /var/www/vitronic.com/app/model/extensions/ApplicationTechnicalData.php(23): ApplicationTechnicalData->formatData()
#10 /var/www/vitronic.com/app/views/application-technical-data.php(10): ApplicationTechnicalData->__construct()
#11 /var/www/vitronic.com/app/includes/http.php(16): require('/var/www/vitron...')
#12 /var/www/vitronic.com/app/app.php(305): render()
#13 [internal function]: Closure->{closure}()
#14 /var/www/vitronic.com/vendor/slim/slim/Slim/Handlers/Strategies/RequestResponse.php(40): call_user_func()
#15 /var/www/vitronic.com/vendor/slim/slim/Slim/Route.php(281): Slim\Handlers\Strategies\RequestResponse->__invoke()
#16 /var/www/vitronic.com/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\Route->__invoke()
#17 /var/www/vitronic.com/vendor/slim/slim/Slim/Route.php(268): Slim\Route->callMiddlewareStack()
#18 /var/www/vitronic.com/vendor/slim/slim/Slim/App.php(503): Slim\Route->run()
#19 /var/www/vitronic.com/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\App->__invoke()
#20 /var/www/vitronic.com/vendor/slim/slim/Slim/App.php(392): Slim\App->callMiddlewareStack()
#21 /var/www/vitronic.com/vendor/slim/slim/Slim/App.php(297): Slim\App->process()
#22 /var/www/vitronic.com/public/index.php(256): Slim\App->run()
#23 {main}

Previous exception

Type: GuzzleHttp\Exception\ClientException
Code: 400
Message: Client error: `GET https://vicwebsite2019.cdn.prismic.io/api/v2/documents/search?page=1&pageSize=20&access_token=MC5YY3FfeWhBQUFDTUEyY1VF.DO-_vQbvv71Benp7D2Tvv711Y--_ve-_vUjvv715Ue-_ve-_ve-_vVXvv73vv71O77-977-9anTvv702&ref=ZzdX2RAAACEA-aAP&q=%5B%5B%3Ad%20%3D%20at%28my.author.uid%2C%20%22%3Cstrong%20style%3D%22color%3A%20%23772b28%3B%22%3EAutor%20is%20mandatory%20and%20currently%20missing%3C%2Fstrong%3E%22%29%5D%5D&lang=fr-fr` resulted in a `400 Bad Request` response: {"type":"api_parsing_error","message":"']' expected but '[' found on line:1 col:2 in query '[[:d = at(my.author.uid, \"< (truncated...)
File: /var/www/vitronic.com/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php
Line: 113

Trace

#0 /var/www/vitronic.com/vendor/guzzlehttp/guzzle/src/Middleware.php(65): GuzzleHttp\Exception\RequestException::create()
#1 /var/www/vitronic.com/vendor/guzzlehttp/promises/src/Promise.php(204): GuzzleHttp\Middleware::GuzzleHttp\{closure}()
#2 /var/www/vitronic.com/vendor/guzzlehttp/promises/src/Promise.php(153): GuzzleHttp\Promise\Promise::callHandler()
#3 /var/www/vitronic.com/vendor/guzzlehttp/promises/src/TaskQueue.php(48): GuzzleHttp\Promise\Promise::GuzzleHttp\Promise\{closure}()
#4 /var/www/vitronic.com/vendor/guzzlehttp/promises/src/Promise.php(248): GuzzleHttp\Promise\TaskQueue->run()
#5 /var/www/vitronic.com/vendor/guzzlehttp/promises/src/Promise.php(224): GuzzleHttp\Promise\Promise->invokeWaitFn()
#6 /var/www/vitronic.com/vendor/guzzlehttp/promises/src/Promise.php(269): GuzzleHttp\Promise\Promise->waitIfPending()
#7 /var/www/vitronic.com/vendor/guzzlehttp/promises/src/Promise.php(226): GuzzleHttp\Promise\Promise->invokeWaitList()
#8 /var/www/vitronic.com/vendor/guzzlehttp/promises/src/Promise.php(62): GuzzleHttp\Promise\Promise->waitIfPending()
#9 /var/www/vitronic.com/vendor/guzzlehttp/guzzle/src/Client.php(182): GuzzleHttp\Promise\Promise->wait()
#10 /var/www/vitronic.com/vendor/prismic/php-sdk/src/Prismic/SearchForm.php(357): GuzzleHttp\Client->request()
#11 /var/www/vitronic.com/vendor/prismic/php-sdk/src/Prismic/SearchForm.php(251): Prismic\SearchForm->submitRaw()
#12 /var/www/vitronic.com/vendor/prismic/php-sdk/src/Prismic/Api.php(437): Prismic\SearchForm->submit()
#13 /var/www/vitronic.com/vendor/prismic/php-sdk/src/Prismic/Api.php(451): Prismic\Api->query()
#14 /var/www/vitronic.com/vendor/prismic/php-sdk/src/Prismic/Api.php(483): Prismic\Api->queryFirst()
#15 /var/www/vitronic.com/app/controller/Controller.php(1649): Prismic\Api->getByUID()
#16 /var/www/vitronic.com/app/controller/Controller.php(762): Controller->fetchTypeByUID()
#17 /var/www/vitronic.com/app/model/extensions/ApplicationTechnicalData.php(177): Controller->fetchAuthorByUID()
#18 /var/www/vitronic.com/app/model/extensions/ApplicationTechnicalData.php(23): ApplicationTechnicalData->formatData()
#19 /var/www/vitronic.com/app/views/application-technical-data.php(10): ApplicationTechnicalData->__construct()
#20 /var/www/vitronic.com/app/includes/http.php(16): require('/var/www/vitron...')
#21 /var/www/vitronic.com/app/app.php(305): render()
#22 [internal function]: Closure->{closure}()
#23 /var/www/vitronic.com/vendor/slim/slim/Slim/Handlers/Strategies/RequestResponse.php(40): call_user_func()
#24 /var/www/vitronic.com/vendor/slim/slim/Slim/Route.php(281): Slim\Handlers\Strategies\RequestResponse->__invoke()
#25 /var/www/vitronic.com/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\Route->__invoke()
#26 /var/www/vitronic.com/vendor/slim/slim/Slim/Route.php(268): Slim\Route->callMiddlewareStack()
#27 /var/www/vitronic.com/vendor/slim/slim/Slim/App.php(503): Slim\Route->run()
#28 /var/www/vitronic.com/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\App->__invoke()
#29 /var/www/vitronic.com/vendor/slim/slim/Slim/App.php(392): Slim\App->callMiddlewareStack()
#30 /var/www/vitronic.com/vendor/slim/slim/Slim/App.php(297): Slim\App->process()
#31 /var/www/vitronic.com/public/index.php(256): Slim\App->run()
#32 {main}
Capture automatisée des expéditions | VITRONIC | Données techniques