Class Log not found into a PHP7 server while running composer install

Posted 3 years ago by angelorigo

Hello!

I try to git clone a laravel app into a php 7 using nginx webserver.

The class Log was not found, i check and the class is there !

This was while runnnig a composer install.

[RuntimeException] Error Output: PHP Fatal error: Uncaught ReflectionException: Class log does not exist in /nginx/myapp/vendor/larave l/framework/src/Illuminate/Container/Container.php:737

Stack trace: #0 /nginx/myapp/vendor/laravel/framework/src/Illuminate/Container/Container.php(737): ReflectionClass->__construct(' log')

#1 /nginx/myapp/vendor/laravel/framework/src/Illuminate/Container/Container.php(627): Illuminate\Container\Container ->build('log', Array)

#2 /nginx/myapp/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(674): Illuminate\Container\Contai ner->make('log', Array)

#3 /nginx/myapp/vendor/laravel/framework/src/Illuminate/Container/Container.php(838): Illuminate\Foundation\Applicat ion->make('log')

#4 /nginx/myapp/vendor/laravel/framework/src/Illuminate/Container/Container.php(801): Illuminate\Container\Container ->resolveClass(Object(ReflectionParameter))

#5 /nginx/myapp/vendor/laravel/f in /nginx/myapp/vendor/laravel/framework/src/Illuminate/Contai ner/Container.php on line 737

Please sign in or create an account to participate in this conversation.