Attempted to call an undefined method named "render" of class "AppBundle\Controller\LuckyController"
или
Attempted to call method “getDoctrine” on class "../...Controller"
или
Attempted to call method “getParameter” on class "../...Controller"
Решение
Не забывайте унаследовать свой контроллер от стандартного: