Slim Application Error

The application could not run because of the following error:

Details

Type: TypeError
Message: Argument 1 passed to Prismic\Api::getByID() must be of the type string, null given, called in /var/www/testing.vitronic.com/app/controller/Controller.php on line 1862
File: /var/www/testing.vitronic.com/vendor/prismic/php-sdk/src/Prismic/Api.php
Line: 466

Trace

#0 /var/www/testing.vitronic.com/app/controller/Controller.php(1862): Prismic\Api->getByID()
#1 /var/www/testing.vitronic.com/app/model/extensions/TeaserCardGroup.php(104): Controller->fetchByID()
#2 /var/www/testing.vitronic.com/app/model/extensions/BlogEdition.php(47): TeaserCardGroup::setTeaserCardGroup()
#3 /var/www/testing.vitronic.com/app/model/extensions/BlogEdition.php(22): BlogEdition->formatData()
#4 /var/www/testing.vitronic.com/app/views/blog-edition.php(27): BlogEdition->__construct()
#5 /var/www/testing.vitronic.com/app/includes/http.php(16): require('/var/www/testin...')
#6 /var/www/testing.vitronic.com/app/app.php(802): render()
#7 [internal function]: Closure->{closure}()
#8 /var/www/testing.vitronic.com/vendor/slim/slim/Slim/Handlers/Strategies/RequestResponse.php(40): call_user_func()
#9 /var/www/testing.vitronic.com/vendor/slim/slim/Slim/Route.php(281): Slim\Handlers\Strategies\RequestResponse->__invoke()
#10 /var/www/testing.vitronic.com/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\Route->__invoke()
#11 /var/www/testing.vitronic.com/vendor/slim/slim/Slim/Route.php(268): Slim\Route->callMiddlewareStack()
#12 /var/www/testing.vitronic.com/vendor/slim/slim/Slim/App.php(503): Slim\Route->run()
#13 /var/www/testing.vitronic.com/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\App->__invoke()
#14 /var/www/testing.vitronic.com/vendor/slim/slim/Slim/App.php(392): Slim\App->callMiddlewareStack()
#15 /var/www/testing.vitronic.com/vendor/slim/slim/Slim/App.php(297): Slim\App->process()
#16 /var/www/testing.vitronic.com/public/index.php(251): Slim\App->run()
#17 {main}
Blog de Logística inteligente | VITRONIC