-
Notifications
You must be signed in to change notification settings - Fork 11.1k
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
Lang::get should gracefully handle non-existing keys #1205
Comments
It does show the key. To me it looks like you aren't up to date and maybe need to regenerate the compiled file for your installation. |
I am up-to-date, removing compiled.php has no effect and someone else had the same issue and mentioned it on the forum.. Taylor Otwell notifications@github.comschreef:
|
It's literally impossible that you are up to date if you are getting a |
I also came across this error, but could not really reproduce it with a clean install. I suspect it could have had something to do with composer loading the support class from one of my workbench classes, but I'm not sure. |
I removed all workbench/*/vendor/illuminate files and re-ran the composer installer and updater for all and that seems to have done the trick indeed. A bit of a limitation of the workbenches :( |
Not really, just composer update your workbenches. |
laravel.WARNING: trim(): Passing null to parameter laravel#1 ($string) of type string is deprecated in /srv/api/vendor/laravel/lumen-framework/src/Routing/Router.php on line 151
If a key does not exist, it should not fail with:
but instead show the key.
The text was updated successfully, but these errors were encountered: