Skip to content
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

Class 'log' not found in latest dev commit #6604

Closed
ash-rain opened this issue Dec 8, 2014 · 5 comments
Closed

Class 'log' not found in latest dev commit #6604

ash-rain opened this issue Dec 8, 2014 · 5 comments

Comments

@ash-rain
Copy link
Contributor

ash-rain commented Dec 8, 2014

Hi, since yesterday I get this same error wherever I update with Composer:

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

@ash-rain
Copy link
Contributor Author

ash-rain commented Dec 8, 2014

Turned out to be updated folder structure. For future reference: check out the latest laravel/laravel repo and move config, views, etc.

@cerw
Copy link

cerw commented May 27, 2015

I am having same issue on Laravel "version": "v5.0.31", ?

@ash-rain
Copy link
Contributor Author

Have you set up proper (write) permissions for your storage/ dir? That's one common reason.

@matteusbarbosa
Copy link

Try removing some dynamic object handling inside code on config files. Start by removing constants declared inside of config/constants.php. It just works for me when i removed a dynamic Date generator from it...

@asolenzal
Copy link

Thanks @matteusbarbosa worked for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants