Skip to content

Error installation on Symfony 3.3.6 (assetic dump) #133

@JSkalskiSBG

Description

@JSkalskiSBG

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions