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

WebUI throws an error #501

Open
picks44 opened this issue Oct 23, 2018 · 0 comments
Open

WebUI throws an error #501

picks44 opened this issue Oct 23, 2018 · 0 comments

Comments

@picks44
Copy link

picks44 commented Oct 23, 2018

Q A
Bundle version 1.4.3
SF version 3.4.17

I've just implemented the bundle with the basic conf, but when i try to access the WebUI, I get the following error. Any clue? Thanks!

Catchable Fatal Error: Argument 1 passed to JMS\TranslationBundle\Controller\TranslateController::__construct() must be an instance of JMS\TranslationBundle\Translation\ConfigFactory, none given, called in C:\wamp\www\PicksEta\var\cache\dev\classes.php on line 4176 and defined

Here is my config

jms_translation:
    configs:
        app:
            dirs: ["%kernel.root_dir%/Resources/views", "%kernel.root_dir%/../src"]
            output_dir: "%kernel.root_dir%/Resources/translations"
            excluded_names: ["*TestCase.php", "*Test.php"]
            excluded_dirs: [cache, data, logs]

And my routing_dev.yml

JMSTranslationBundle_ui:
    resource: "@JMSTranslationBundle/Controller/"
    type:     annotation
    prefix:   /_trans
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

No branches or pull requests

1 participant