Skip to content
This repository has been archived by the owner on Mar 20, 2024. It is now read-only.

php artisan key:generate: PHP Fatal error: Uncaught ReflectionException #204

Open
alex9434 opened this issue Sep 16, 2020 · 1 comment
Open

Comments

@alex9434
Copy link

alex9434 commented Sep 16, 2020

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

  1. execute step 1 to 3 of INSTALLING.md
  2. 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

@samberrry
Copy link

I got the same error

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants