After the update from 5.2.5 to 5.2.6 I get the following error:
PHP Fatal error: Uncaught ReflectionException: Class log does not exist in /home/vagrant/code/xxx/vendor/laravel/framework/src/Illuminate/Container/Container.php:736
Any suggestion? Thanks.
You have a syntax error in your .env file.
Laravel was previously silently ignoring all entries after the syntax error. Now, we throw an exception.
Thanks! For others having this issue, I placed some quotes around several env variables.
You'll only need to do this when they have spaces, as documented.
This affected me too.. lost a lot of time until i found this issue. Maybe the error message should be more straightforward? Ty
The error message is a different bug in laravel's exception handler.
i can't fix this issue, really bugging me.
Uncaught ReflectionException: Class log does not exist in bla bla bla \vendor\laravel\framework\src\Illuminate\Container\Container.php:738
This affected me too.
But my issue is not something wrong with .env file. It is because i missed a ; in a config file.
Which config file? Mine was working okay until after composer update and this error comes out
in my case only is the :: in the line:
'Datatables' => YajraDatatablesFacadesDatatables::class,
Most helpful comment
Thanks! For others having this issue, I placed some quotes around several env variables.