Fatal error: Call to undefined function App\MainBundle\Controller\getActive() in /app/src/App/MainBundle/Controller/EventSignupController.php on line 51

Fatal error: Uncaught exception 'Symfony\Component\Debug\Exception\UndefinedFunctionException' with message 'Attempted to call function "getActive" from namespace "App\MainBundle\Controller".' in /app/src/App/MainBundle/Controller/EventSignupController.php:51 Stack trace: #0 {main} Next exception 'RuntimeException' with message 'Failed to start the session because headers have already been sent by "/app/src/App/MainBundle/Controller/EventSignupController.php" at line 51.' in /app/app/cache/prod/classes.php:118 Stack trace: #0 /app/app/cache/prod/classes.php(186): Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->start() #1 /app/app/cache/prod/classes.php(559): Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->getBag('flashes') #2 /app/app/cache/prod/classes.php(563): Symfony\Component\HttpFoundation\Session\Session->getBag('flashes') #3 [internal function]: Symfony\Component\HttpFoundation\Session\Session->getFlashBag() #4 /app/app/cache/prod/classes.php(5455): call_user_func_arr in /app/app/cache/prod/classes.php on line 5331