-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
Update to 4.2.7 - Fatal error: Interface 'TranslatorInterface' not found #31152
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
Comments
same error |
1 similar comment
same error |
does anyone have a solution for this? comopser update seems fine, but i'm getting this error when trying to issue doctrine:cache:clear |
|
thanks! |
Same error. For the moment we go back to version 4.2.6. |
Mailbox spammed by thousands of "same error" mails won't help them to fix it up. ;) |
Thanks @Gemorroj for providing this workaround. |
I have the same issue. The problem here is that |
Same error here |
see #31156 |
…ly (xabbuh) This PR was merged into the 4.2 branch. Discussion ---------- [FrameworkBundle] call method with Translator component only | Q | A | ------------- | --- | Branch? | 4.2 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #31152 | License | MIT | Doc PR | Commits ------- f49881d call method with Translator component only
Workaround for symfony/symfony#31152
…sts passing (pamil) This PR was merged into the 1.3 branch. Discussion ---------- See symfony/symfony#31152 and symfony/symfony#31156. Commits ------- dcb0bf0 Add a workaround for GridBundle & Symfony 4.2.7 to make tests passing
Hi. This bug report is closed but I still get this exception after updating to 4.2.7. Is this already fixed, or how can I apply a workaround to update to the latest version?
|
Something like this can help: TomaszGasior/RadioLista-v3@1c8170d Until new release of framework-bundle you need to fork framework-bundle repository and create your own branch for commit with bugfix. Or you can just install translator component. ;) |
Or you can use this patch: https://github.com/symfony/framework-bundle/commit/9c3f47e28e0ea66b762b99a8573d6d7acaa43244.patch For example with this patch package: https://github.com/cweagans/composer-patches |
|
So the idea to solve that issue is to require something we don't need... |
the other solution is to install the dev version of FrameworkBundle, which already contains the patch, which will be part of the 4.2.8 release. |
@Spomky @stof Or use the Then in composer.json: {
"extra": {
"patches": {
"symfony/framework-bundle": {
"Fix translator": "https://github.com/symfony/framework-bundle/commit/9c3f47e28e0ea66b762b99a8573d6d7acaa43244.patch"
}
}
}
} |
I'm not using "symfony/translation" in my project, But I'm using symfony validator. Up to now it worked fine. Do I have to install "translation" eventhough I'm not using it? Is it so? |
@xabbuh "symfony/framework-bundle": "^4.2,!=4.2.7", |
@featuriz Just install translator and update framework bundle. |
@featuriz or use the patch approach: |
Symfony version(s) affected: 4.2.7
Description
After my composer update from 4.2.6 to 4.2.7 I get the following fatal error.
How to reproduce
Upgrade from 4.2.6 to 4.2.7 via composer update.
The text was updated successfully, but these errors were encountered: