Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error installation on Symfony 3.3.6 (assetic dump) #133

Open
JSkalskiSBG opened this issue Aug 21, 2017 · 0 comments
Open

Error installation on Symfony 3.3.6 (assetic dump) #133

JSkalskiSBG opened this issue Aug 21, 2017 · 0 comments
Labels
Milestone

Comments

@JSkalskiSBG
Copy link

When I type bin/console assetic:dump it shows:

ERROR [assetic] The template "FpJsFormValidatorBundle::javascripts-dev.html.twig" contains an error: Unknown "update_js_lib" function in "FpJsFormValidatorBundle::javascripts-dev.html.twig" at line 13. [] []

On website it shows:

An exception has been thrown during the rendering of a template ("Unable to generate a URL for the named route "_assetic_a4f1674_0" as such route does not exist.").

Problem description:
Assetic tries to get resources from 'test' TWIG file and in this file is call to a function that is definied only in test environment.

System:
Symfony: 3.3.6
PHP: 7.1.8
AsseticBundle: 2.8.2

@66Ton99 66Ton99 added the bug label Aug 21, 2017
@66Ton99 66Ton99 added this to the 1.5.2 milestone Aug 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants