Today when I upgraded my server running a Laravel 5.1 application to php7.0 it stopped working with the following error message

PHP Fatal error: Uncaught exception 'ReflectionException' with message 'Class log does not exist' in /Users/freek/dev/laravel/vendor/laravel/framework/src/Illuminate/Container/Container.php:776 Stack trace:

After few hours of debugging i figured out that the issue was because of some dependencies missing.

I installed the following and the error got fixed





Hope will help someone..

Php Laravel Class log does not exist error
Tagged on:     

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.