Slim Application Error

The application could not run because of the following error:

Details

Type: Error
Message: Call to a member function modify() on bool
File: /home/winameety_front/www_00restore/src/Event/Controller/EventController.php
Line: 104

Trace

#0 /home/winameety_front/www_00restore/app/routes.php(73): Event\Controller\EventController->getAll('fr', '20190828')
#1 [internal function]: Closure->{closure}(Object(Slim\Http\Request), Object(Slim\Http\Response), Array)
#2 /home/winameety_front/www_00restore/vendor/slim/slim/Slim/Handlers/Strategies/RequestResponse.php(40): call_user_func(Object(Closure), Object(Slim\Http\Request), Object(Slim\Http\Response), Array)
#3 /home/winameety_front/www_00restore/vendor/slim/slim/Slim/Route.php(281): Slim\Handlers\Strategies\RequestResponse->__invoke(Object(Closure), Object(Slim\Http\Request), Object(Slim\Http\Response), Array)
#4 /home/winameety_front/www_00restore/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\Route->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response))
#5 /home/winameety_front/www_00restore/vendor/slim/slim/Slim/Route.php(268): Slim\Route->callMiddlewareStack(Object(Slim\Http\Request), Object(Slim\Http\Response))
#6 /home/winameety_front/www_00restore/vendor/slim/slim/Slim/App.php(503): Slim\Route->run(Object(Slim\Http\Request), Object(Slim\Http\Response))
#7 /home/winameety_front/www_00restore/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\App->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response))
#8 /home/winameety_front/www_00restore/vendor/slim/slim/Slim/App.php(392): Slim\App->callMiddlewareStack(Object(Slim\Http\Request), Object(Slim\Http\Response))
#9 /home/winameety_front/www_00restore/vendor/slim/slim/Slim/App.php(297): Slim\App->process(Object(Slim\Http\Request), Object(Slim\Http\Response))
#10 /home/winameety_front/www_00restore/app/public/index.php(33): Slim\App->run()
#11 {main}