4 months ago

Password reset fails on upgrade to Laravel 6.0

Posted 4 months ago by srk23

I have just upgraded an app that I am working on from 5.8 to 6.0. Everything is working as expected on my development server. I have copied all changes to my production server, but am hitting a problem with sending password reset e-mails.

I am using the built in auth. When I visit /password/reset and enter a valid e-mail address, I get an error stating that "Method Illuminate\Translation\Translator::getFromJson does not exist." This does not happen on my development server.

I can see from the Laravel 6.0 upgrade guide that the Lang:getFromJson method has been removed, but cannot work out what is calling it and why it should work on my development server but not production!

Please sign in or create an account to participate in this conversation.