Fatal error: Uncaught TypeError: Return value of App\Application\Actions\ActionPayload::jsonSerialize() must be an instance of App\Application\Actions\mixed, array returned in /www/doc/www.cestujsbenefity.cz/www/src/Application/Actions/ActionPayload.php:79
Stack trace:
#0 [internal function]: App\Application\Actions\ActionPayload->jsonSerialize()
#1 /www/doc/www.cestujsbenefity.cz/www/src/Application/Handlers/HttpErrorHandler.php(62): json_encode(Object(App\Application\Actions\ActionPayload), 128)
#2 /www/doc/www.cestujsbenefity.cz/www/vendor/slim/slim/Slim/Handlers/ErrorHandler.php(178): App\Application\Handlers\HttpErrorHandler->respond()
#3 /www/doc/www.cestujsbenefity.cz/www/vendor/slim/slim/Slim/Middleware/ErrorMiddleware.php(127): Slim\Handlers\ErrorHandler->__invoke(Object(Slim\Psr7\Request), Object(Slim\Exception\HttpMethodNotAllowedException), true, false, false)
#4 /www/doc/www.cestujsbenefity.cz/www/vendor/slim/slim/Slim/Middleware/ErrorMiddleware.php(109): Slim\Middleware\ErrorMiddleware->handleException(Objec in /www/doc/www.cestujsbenefity.cz/www/src/Application/Actions/ActionPayload.php on line 79
Fatal error: Uncaught TypeError: Return value of App\Application\Actions\ActionPayload::jsonSerialize() must be an instance of App\Application\Actions\mixed, array returned in /www/doc/www.cestujsbenefity.cz/www/src/Application/Actions/ActionPayload.php:79
Stack trace:
#0 [internal function]: App\Application\Actions\ActionPayload->jsonSerialize()
#1 /www/doc/www.cestujsbenefity.cz/www/src/Application/Handlers/HttpErrorHandler.php(62): json_encode(Object(App\Application\Actions\ActionPayload), 128)
#2 /www/doc/www.cestujsbenefity.cz/www/vendor/slim/slim/Slim/Handlers/ErrorHandler.php(178): App\Application\Handlers\HttpErrorHandler->respond()
#3 /www/doc/www.cestujsbenefity.cz/www/src/Application/Handlers/ShutdownHandler.php(77): Slim\Handlers\ErrorHandler->__invoke(Object(Slim\Psr7\Request), Object(Slim\Exception\HttpInternalServerErrorException), true, false, false)
#4 [internal function]: App\Application\Handlers\ShutdownHandler->__invoke()
#5 {main}
thrown in /www/doc/www.cestujsbenefity.cz/www/src/Application/Actions/ActionPayload.php on line 79