JMSTranslationBundle icon indicating copy to clipboard operation
JMSTranslationBundle copied to clipboard

Error on extract with symfony 2.6.3

Open mrcmorales opened this issue 10 years ago • 3 comments

This is the error whit symfony 2.6.3

[InvalidArgumentException]
The template does not support the "bundle" parameter.

mrcmorales avatar Jan 07 '15 16:01 mrcmorales

@mrcmorales check discussions here: https://github.com/symfony/symfony/pull/12894 and here: https://github.com/symfony/AsseticBundle/issues/331

and also explanation here: https://github.com/Spea/SpBowerBundle/issues/119

issue is related to template notation like {% extend 'layout.html.twig' %}

krzysztof-alboszta avatar Jan 07 '15 16:01 krzysztof-alboszta

Experienced the same problem. In my case updating the AsseticBundle resolved the issue (see second link provided by @krzysztof-alboszta). In your composer.json you should have: "symfony/assetic-bundle": "dev-master"

trajan-p avatar Jan 24 '15 18:01 trajan-p

I know it was a long time ago you posted this issue. Do you still experiencing this? Or is it fixed in the latest version of the bundle?

Nyholm avatar Aug 04 '16 15:08 Nyholm