timegrid
timegrid copied to clipboard
php artisan key:generate: PHP Fatal error: Uncaught ReflectionException
Prerequisites
- [ x] Are you running the latest version ? version 4.6.0 beta
- [x ] Are you reporting to the correct repository ?
- [x ] Did you perform a search ? System is Debian 10 (buster) with PHP 7.3
Description
Error during installation according to INSTALLING.md step 4: php artisan key:generate
Steps to Reproduce
- execute step 1 to 3 of INSTALLING.md
- php artisan key:generate
Generating optimized class loader
Compiling common classes
root@intranet:/usr/local/share/timegrid# sudo -u www-data -g www-data php artisan key:generate
PHP Fatal error: Uncaught ReflectionException: Class log does not exist in /usr/local/share/timegrid/bootstrap/cache/compiled.php:1341
Stack trace:
#0 /usr/local/share/timegrid/bootstrap/cache/compiled.php(1341): ReflectionClass->__construct('log')
#1 /usr/local/share/timegrid/bootstrap/cache/compiled.php(1295): Illuminate\Container\Container->build('log', Array)
#2 /usr/local/share/timegrid/bootstrap/cache/compiled.php(1857): Illuminate\Container\Container->make('log', Array)
#3 /usr/local/share/timegrid/bootstrap/cache/compiled.php(1396): Illuminate\Foundation\Application->make('log')
#4 /usr/local/share/timegrid/bootstrap/cache/compiled.php(1373): Illuminate\Container\Container->resolveClass(Object(ReflectionParameter))
#5 /usr/local/share/timegrid/bootstrap/cache/compiled.php(1359): Illuminate\Container\Container->getDependencies(Array, Array)
#6 /usr/local/share/timegrid/bootstrap/cache/compiled.php(1295): Illuminate\Container\Container->build('App\\Exceptions\\...', Array)
#7 /usr/local/share/timegrid/bootstrap/cache/co in /usr/local/share/timegrid/bootstrap/cache/compiled.php on line 1341
I got the same error