Warning: Trying to access array offset on value of type bool in /app/source/model/entity/Tipp.php on line 16

Warning: Trying to access array offset on value of type bool in /app/source/model/entity/Tipp.php on line 17

Warning: Trying to access array offset on value of type bool in /app/source/model/entity/Tipp.php on line 18

Warning: Trying to access array offset on value of type bool in /app/source/model/entity/Tipp.php on line 19
Slim Application Error

Slim Application Error

The application could not run because of the following error:

Details

Type: TypeError
Code: 0
Message: App\model\repo\TippsRepository::getAllTippsExceptOne(): Argument #1 ($id) must be of type int, string given, called in /app/source/controller/TippsController.php on line 16
File: /app/source/model/repo/TippsRepository.php
Line: 25

Trace

#0 /app/source/controller/TippsController.php(16): App\model\repo\TippsRepository::getAllTippsExceptOne()
#1 /app/public/index.php(63): App\controller\TippsController::show()
#2 /app/vendor/slim/slim/Slim/Handlers/Strategies/RequestResponse.php(38): {closure}()
#3 /app/vendor/slim/slim/Slim/Routing/Route.php(358): Slim\Handlers\Strategies\RequestResponse->__invoke()
#4 /app/vendor/slim/slim/Slim/MiddlewareDispatcher.php(65): Slim\Routing\Route->handle()
#5 /app/vendor/slim/slim/Slim/MiddlewareDispatcher.php(65): Slim\MiddlewareDispatcher->handle()
#6 /app/vendor/slim/slim/Slim/Routing/Route.php(315): Slim\MiddlewareDispatcher->handle()
#7 /app/vendor/slim/slim/Slim/Routing/RouteRunner.php(68): Slim\Routing\Route->run()
#8 /app/vendor/slim/slim/Slim/Middleware/ErrorMiddleware.php(76): Slim\Routing\RouteRunner->handle()
#9 /app/vendor/slim/slim/Slim/MiddlewareDispatcher.php(121): Slim\Middleware\ErrorMiddleware->process()
#10 /app/vendor/slim/slim/Slim/MiddlewareDispatcher.php(65): Psr\Http\Server\RequestHandlerInterface@anonymous->handle()
#11 /app/vendor/slim/slim/Slim/App.php(199): Slim\MiddlewareDispatcher->handle()
#12 /app/vendor/slim/slim/Slim/App.php(183): Slim\App->handle()
#13 /app/public/index.php(102): Slim\App->run()
#14 {main}
Go Back