A
A
Alexander Ampleev2019-11-22 11:13:44
Laravel
Alexander Ampleev, 2019-11-22 11:13:44

Why won't Laravel 6.5.2 run locally?

Decided to try running the new version locally.. The error is not googled at all..
Symfony\Component\Debug\Exception\FatalErrorException
Declaration of Symfony\Component\Translation\TranslatorInterface::setLocale($locale) must be compatible with Symfony\Contracts\ Translation\LocaleAwareInterface::setLocale(string $locale)
5dd79887b1cb6166146038.png
5dd7989c4e73b752346757.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
betev, 2019-11-26
@Ampleev

The point, apparently, is in the symfony/translation 4.4.0 update. Add "symfony/translation": "4.3.8" to composer.json to rollback the version. Helped me. Hope it helps you too)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question