jeudi 13 juin 2019

Laravel 5.2: Class log does not exist in /vendor/laravel/framework/src/Illuminate/Container/Container.php:734

I had to clear config and cache, I ran into the following exception :

PHP Fatal error: Uncaught ReflectionException: Class log does not exist in /usr/share/nginx/html/_crm2-dev/bootstrap/cache/compiled.php:1355

I removed bootstrap/compiled.php and ran php artisan clear-compiled, Then the exception got changed a little bit.

Class log does not exist in /usr/share/nginx/html/_crm2-dev/vendor/laravel/framework/src/Illuminate/Container/Container.php:734

Steps i took to solve it :

  • Checked env for spaces and syntax errors, Which had a blank space and i removed it, but still my php artisan commands are not working.
  • Ran composer update | Still not working
  • Some people associate the error with mbstring and php-mysql extensions which i both have.

What am i missing, How should be done ?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire