Slim Application Error

Slim Application Error

The application could not run because of the following error:

Details

Type: Error
Code: 0
Message: Non-static method App\controller\ImpressumController::index() cannot be called statically
File: /app/public/index.php
Line: 78

Trace

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