Uncaught ReflectionException: Class log does not exist Laravel 5.2
<p>I am currently trying to clone an existing project of mine from github. After clone I run <code>composer install</code> during the process I receive the following error:</p>

<p><code>Uncaught ReflectionException: Class log does not exist</code></p>

<p>I am running Laravel 5.2 on Centos 7. </p>

<p>I have seen references to: </p>

<ul>
<li>Removing spaces within the <code>.env</code> file. </li>
<li>Removing the vendor directory &amp; re-installing</li>
<li>Removing certain packages required in composer.json </li>
</ul>

<p>I have: </p>

<ul>
<li>Replaced my <code>.env</code> with the <code>example.env</code> to avoid any custom config errors. </li>
<li>I have removed &amp; re-cloned the repo. </li>
<li>I have used the default <code>composer.json</code> shipped with Laravel to see if that makes a difference. </li>
</ul>

<p>None of the above have brought me any joy. I also have the same environment set up on another machine with the application working fine. The only difference here is the machine (working) wasn't cloned from git - it was the initial build environment.  </p>

<p>The stack trace I am receiving: </p>

<pre><code>PHP Fatal error:  Uncaught ReflectionException: Class log does not exist in /var/www/html/Acme/vendor/laravel/framework/src/Illuminate/Container/Container.php:736
    Stack trace:
    #0 /var/www/html/Acme/vendor/laravel/framework/src/Illuminate/Container/Container.php(736): ReflectionClass-&gt;__construct('log')
    #1 /var/www/html/Acme/vendor/laravel/framework/src/Illuminate/Container/Container.php(631): Illuminate\Container\Container-&gt;build('log', Array)
    #2 /var/www/html/Acme/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(674): Illuminate\Container\Container-&gt;make('log', Array)
    #3 /var/www/html/Acme/vendor/laravel/framework/src/Illuminate/Container/Container.php(845): Illuminate\Foundation\Application-&gt;make('log')
    #4 /var/www/html/Acme/vendor/laravel/framework/src/Illuminate/Container/Container.php(800): Illuminate\Container\Container-&gt;resolveClass(Object(ReflectionParameter))
    #5 /var/www/html/Acme/vendor/laravel/framework/src/Illuminate/Container/Container.php(769): Illuminate\Container\Container-&gt;getDependenc in /var/www/html/Acme/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 736
</code></pre>

<p>Any help would be much appreciated. Thanks in advance. </p>