Framework: Class log does not exist

Created on 9 Dec 2014  路  14Comments  路  Source: laravel/framework

Uncaught exception 'ReflectionException' with message 'Class log does not exist' in .../laravel\frameworksrc\Illuminate\Container\Container.php on line 745

Most helpful comment

I can't believe I have to say this yet _again_ to you idiots, but do NOT post useless "+1" messages, here on Github or anywhere else, ever. Use the cute, little reaction button to add a thumbs-up to the original report so that you don't rudely notify everyone following the bug that you're experiencing it also.

Honestly, why isn't this basic courtesy obvious to you people?

All 14 comments

+1 the same error.

PHP Fatal error:  Uncaught exception 'ReflectionException' with message 'Class log does not exist' in /home/git/SJFinder/vendor/laravel/framework/src/Illuminate/Container/Container.php:745
Stack trace:
#0 /home/git/SJFinder/vendor/laravel/framework/src/Illuminate/Container/Container.php(745): ReflectionClass->__construct('log')
#1 /home/git/SJFinder/vendor/laravel/framework/src/Illuminate/Container/Container.php(650): Illuminate\Container\Container->build('log', Array)
#2 /home/git/SJFinder/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(505): Illuminate\Container\Container->make('log', Array)
#3 /home/git/SJFinder/vendor/laravel/framework/src/Illuminate/Container/Container.php(856): Illuminate\Foundation\Application->make('Psr\\Log\\LoggerI...')
#4 /home/git/SJFinder/vendor/laravel/framework/src/Illuminate/Container/Container.php(817): Illuminate\Container\Container->resolveClass(Object(ReflectionParameter))
#5 /home/git/SJFinder/vendor/laravel/framework/src/Illuminate/Container/Container.php(782): Illumina in /home/git/SJFinder/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 745

+1

6604

@bonzai, I already moved the config directory to resources, but I still got the problems.

5e2c630 fixed it for me.

I adapted the new structures of the latest update. But I still got this error. Any idea, please.

+1

+1

+1

I can't believe I have to say this yet _again_ to you idiots, but do NOT post useless "+1" messages, here on Github or anywhere else, ever. Use the cute, little reaction button to add a thumbs-up to the original report so that you don't rudely notify everyone following the bug that you're experiencing it also.

Honestly, why isn't this basic courtesy obvious to you people?

@hackel +1

How you fixed this bug?

Should be fixed on 5.4.

We can't backport because it's a major breaking change.

Was this page helpful?
0 / 5 - 0 ratings