title: Laravel 5 on php artisan config:clear generated Closure::__set_state() error
body: <p>My code in on production and I ran </p>
  
  <pre><code>php artisan config:clear
  </code></pre>
  
  <p>After that, my code was not running. The index pages and all other pages went white screen and gave 500 internal server error in firebug. When I tried to run </p>
  
  <pre><code>php artisan
  </code></pre>
  
  <p>it gave me error as </p>
  
  <pre><code>PHP Fatal error:  Call to undefined method Closure::__set_state() in /var/www/live/vendor/config.php on line 56
  </code></pre>
  
  <p>My code is in production!! /vendor/config.php file was not present before, what happened with that code??
  Have you faced any such error?
  I had given all permissions to storage/ folder and vendor/.
  Any help/guide would be much appreciated.</p>