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

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

@alex9434

Description

@alex9434

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions