Framework: [5.2] Update v5.2.5 -> 5.2.6 Uncaught ReflectionException: Class log does not exist

Created on 4 Jan 2016  路  11Comments  路  Source: laravel/framework

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.

Most helpful comment

Thanks! For others having this issue, I placed some quotes around several env variables.

All 11 comments

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,

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kerbylav picture kerbylav  路  3Comments

Anahkiasen picture Anahkiasen  路  3Comments

gabriellimo picture gabriellimo  路  3Comments

CupOfTea696 picture CupOfTea696  路  3Comments

iivanov2 picture iivanov2  路  3Comments