Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Laravel 8: 'Call to undefined function MathiasGrimm\LaravelDotEnvGen\array_get()' #19

Open
tgbv opened this issue Jul 21, 2021 · 0 comments

Comments

@tgbv
Copy link

tgbv commented Jul 21, 2021

The following error occurs while running php artisan env:gen

  Call to undefined function MathiasGrimm\LaravelDotEnvGen\array_get()

  at [...]\vendor\mathiasgrimm\laravel-dot-env-gen\src\DotEnvGenCommand.php:201
    197▕                 $row[0] = "$key";
    198▕                 $row[]  = 'No';
    199▕             }
    200▕
  ➜ 201▕             $row[]  = array_get($this->defaults, $key);
    202▕             $rows[] = $row;
    203▕         }
    204▕
    205▕         $table->setRows($rows);

  1   [...]\vendor\mathiasgrimm\laravel-dot-env-gen\src\DotEnvGenCommand.php:65
      MathiasGrimm\LaravelDotEnvGen\DotEnvGenCommand::showResults()

  2   [...]\vendor\laravel\framework\src\Illuminate\Container\BoundMethod.php:36
      MathiasGrimm\LaravelDotEnvGen\DotEnvGenCommand::handle()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant