Slim Application Error
The application could not run because of the following error:
Details
Type: TypeError
Message: WWLOGIN\Modules_SeminarUndEvents_Seminar::getItem(): Argument #1 ($id) must be of type string, null given, called in /var/www/vhosts/werbewind-login.com/httpdocs/login3/login/src/Modules/SeminarUndEvents/Widget.php on line 91
File: /var/www/vhosts/werbewind-login.com/httpdocs/login3/login/src/Modules/SeminarUndEvents/Seminar.php
Line: 94
Trace
#0 /var/www/vhosts/werbewind-login.com/httpdocs/login3/login/src/Modules/SeminarUndEvents/Widget.php(91): WWLOGIN\Modules_SeminarUndEvents_Seminar->getItem() #1 /var/www/vhosts/werbewind-login.com/httpdocs/login3/api/routes/SeminarUndEvents.php(253): WWLOGIN\Modules_SeminarUndEvents_Widget->__construct() #2 [internal function]: Closure->{closure}() #3 /var/www/vhosts/werbewind-login.com/httpdocs/login3/vendor/slim/slim/Slim/Handlers/Strategies/RequestResponse.php(40): call_user_func() #4 /var/www/vhosts/werbewind-login.com/httpdocs/login3/vendor/slim/slim/Slim/Route.php(281): Slim\Handlers\Strategies\RequestResponse->__invoke() #5 /var/www/vhosts/werbewind-login.com/httpdocs/login3/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\Route->__invoke() #6 /var/www/vhosts/werbewind-login.com/httpdocs/login3/vendor/slim/slim/Slim/Route.php(268): Slim\Route->callMiddlewareStack() #7 /var/www/vhosts/werbewind-login.com/httpdocs/login3/vendor/slim/slim/Slim/App.php(503): Slim\Route->run() #8 /var/www/vhosts/werbewind-login.com/httpdocs/login3/api/index.php(97): Slim\App->__invoke() #9 [internal function]: Closure->{closure}() #10 /var/www/vhosts/werbewind-login.com/httpdocs/login3/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array() #11 [internal function]: Slim\DeferredCallable->__invoke() #12 /var/www/vhosts/werbewind-login.com/httpdocs/login3/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func() #13 /var/www/vhosts/werbewind-login.com/httpdocs/login3/vendor/tuupola/callable-handler/src/CallableHandler.php(51): Slim\App->Slim\{closure}() #14 /var/www/vhosts/werbewind-login.com/httpdocs/login3/vendor/tuupola/slim-basic-auth/src/HttpBasicAuthentication.php(97): Tuupola\Middleware\CallableHandler->handle() #15 /var/www/vhosts/werbewind-login.com/httpdocs/login3/vendor/tuupola/callable-handler/src/DoublePassTrait.php(47): Tuupola\Middleware\HttpBasicAuthentication->process() #16 [internal function]: Tuupola\Middleware\HttpBasicAuthentication->__invoke() #17 /var/www/vhosts/werbewind-login.com/httpdocs/login3/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array() #18 [internal function]: Slim\DeferredCallable->__invoke() #19 /var/www/vhosts/werbewind-login.com/httpdocs/login3/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func() #20 /var/www/vhosts/werbewind-login.com/httpdocs/login3/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\App->Slim\{closure}() #21 /var/www/vhosts/werbewind-login.com/httpdocs/login3/vendor/slim/slim/Slim/App.php(392): Slim\App->callMiddlewareStack() #22 /var/www/vhosts/werbewind-login.com/httpdocs/login3/vendor/slim/slim/Slim/App.php(297): Slim\App->process() #23 /var/www/vhosts/werbewind-login.com/httpdocs/login3/api/index.php(223): Slim\App->run() #24 {main}