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

[Symfony\Component\Debug\Exception\ContextErrorException] Catchable Fatal Error: Argument 2 passed to JMS\TranslationBundle\Translation\Extractor\FileExtractor::__construct() must be an instance of Symfony\Component\HttpKernel\Log\LoggerInterface, instance of Symfony\Bridge\Monolog\Logger given, called in... #293

Closed
cluster28 opened this issue Feb 10, 2016 · 5 comments
Labels

Comments

@cluster28
Copy link

I get:

[Symfony\Component\Debug\Exception\ContextErrorException] Catchable Fatal Error: Argument 2 passed to JMS\TranslationBundle\Translation\Extractor\FileExtractor::__construct() must be an instance of Symfony\Component\HttpKernel\Log\LoggerInterface, instance of Symfony\Bridge\Monolog\Logger given, called in ...

extracting routes in Symfony 3.0.1

`
jms_translation:

configs:

    rutas:

        dirs: [%kernel.root_dir%, %kernel.root_dir%/../src]

        output_dir: %kernel.root_dir%/Resources/translations/routes

        ignored_domains: [routes]

        excluded_dirs: [cache, data, logs]`
@cluster28
Copy link
Author

I had to downgrade to Symfony 2.8

@pfx2
Copy link

pfx2 commented Feb 16, 2016

Same here

@support-inqbation
Copy link

Check out the PR at: #285, which hasn't been merged to that branch

@MaximeThoonsen
Copy link

@support-inqbation Just merged

@Nyholm
Copy link
Collaborator

Nyholm commented Mar 23, 2016

About Symfony 3.0 support. Have a look at #306

@Nyholm Nyholm closed this as completed Mar 23, 2016
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

5 participants