Skip to content

Conversation

@oussaka
Copy link
Contributor

@oussaka oussaka commented Jun 28, 2018

Hello,

I have this error after submitting the form

Block "subject" on template "MremiContactBundle:Contact:email.txt.twig" does not exist in "MremiContactBundle:Contact:email.txt.twig".

@mremi
Copy link
Owner

mremi commented Jul 4, 2018

Hi @oussaka ,

Can you paste the full stack trace please?
And rebase from master to fix the CI.

Thx

@mremi
Copy link
Owner

mremi commented Jul 5, 2018

@oussaka there are some conflicts, can you resolve it please?
And give me the stack trace about the issue you encountered.

Thx

@oussaka oussaka force-pushed the master branch 3 times, most recently from 019bdad to 2789329 Compare July 5, 2018 19:06
@oussaka
Copy link
Contributor Author

oussaka commented Jul 5, 2018

stack trace :

Twig_Error_Runtime:
Block "subject" on template "MremiContactBundle:Contact:email.txt.twig" does not exist in "MremiContactBundle:Contact:email.txt.twig".

at vendor/twig/twig/lib/Twig/Template.php:211
at Twig_Template->displayBlock('subject', array('contact' => object(Contact)), array(), true)
(vendor/twig/twig/lib/Twig/Template.php:255)
at Twig_Template->renderBlock('subject', array('contact' => object(Contact)))
(vendor/mremi/contact-bundle/Mremi/ContactBundle/Mailer/TwigSwiftMailer.php:76)
at Mremi\ContactBundle\Mailer\TwigSwiftMailer->sendMessage(object(Contact))
(vendor/mremi/contact-bundle/Mremi/ContactBundle/EventListener/EmailConfirmationListener.php:68)
at Mremi\ContactBundle\EventListener\EmailConfirmationListener->onSubmitSuccess(object(FormEvent), 'mremi_contact.form.success', object(TraceableEventDispatcher))
at call_user_func(array(object(EmailConfirmationListener), 'onSubmitSuccess'), object(FormEvent), 'mremi_contact.form.success', object(TraceableEventDispatcher))
(vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/WrappedListener.php:104)
at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke(object(FormEvent), 'mremi_contact.form.success', object(ContainerAwareEventDispatcher))
(vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php:212)
at Symfony\Component\EventDispatcher\EventDispatcher->doDispatch(array(object(WrappedListener)), 'mremi_contact.form.success', object(FormEvent))
(vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php:44)
at Symfony\Component\EventDispatcher\EventDispatcher->dispatch('mremi_contact.form.success', object(FormEvent))
(vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/TraceableEventDispatcher.php:139)
at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch('mremi_contact.form.success', object(FormEvent))
(vendor/mremi/contact-bundle/Mremi/ContactBundle/Controller/ContactController.php:104)
at Mremi\ContactBundle\Controller\ContactController->indexAction(object(Request))
(vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:151)
at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1)
(vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:68)
at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true)
(vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php:200)
at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
(web/app_dev.php:29)
at require('/var/www/contactsf3/web/app_dev.php')
(vendor/symfony/symfony/src/Symfony/Bundle/WebServerBundle/Resources/router.php:42)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants