Ok, I modified the code, but am still getting the same error:

$ php exercise/console programs:send-daily-emails
PHP Fatal error:  Call to a member function getRequestFormat() on a
non-object in exercise/cache/prod/classes-ba4e4.php on line 524

The new code is:

                $rendered = $this->container->get('templating')-
>render('ProgramBundle:Frontend:daily-email.html.twig', array(
                    'userProgram' => $userProgram,
                    'receiverEmail' => $user->getEmail(),
                ));


any other ideas?
thanks

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en

Reply via email to