Fatal error: Uncaught Error: Call to a member function getStages() on null in /app-formation/src/controllers/StagesController.php:76 Stack trace: #0 /app-formation/src/routes/StagesRoutes.php(31): CAOFormation\controllers\StagesController->stagesGetAction(Object(Slim\Http\Request), Object(Slim\Http\Response), Array) #1 /app-formation/src/routes/StagesRoutes.php(20): CAOFormation\routes\StagesRoutes::callController(Object(Slim\Http\Request), Object(Slim\Http\Response), Array, Object(Slim\Container)) #2 [internal function]: CAOFormation\routes\StagesRoutes->CAOFormation\routes\{closure}(Object(Slim\Http\Request), Object(Slim\Http\Response), Array) #3 /app-formation/vendor/slim/slim/Slim/Handlers/Strategies/RequestResponse.php(40): call_user_func(Object(Closure), Object(Slim\Http\Request), Object(Slim\Http\Response), Array) #4 /app-formation/vendor/slim/slim/Slim/Route.php(281): Slim\Handlers\Strategies\RequestResponse->__invoke(Object(Closure), Object(Slim\Http\Request), Object(Slim\Http\Response), Array) #5 /app-formation/ in /app-formation/src/controllers/StagesController.php on line 76