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

php artisan tenant:create gives error #4

Open
fbc opened this issue Oct 5, 2020 · 0 comments
Open

php artisan tenant:create gives error #4

fbc opened this issue Oct 5, 2020 · 0 comments

Comments

@fbc
Copy link

fbc commented Oct 5, 2020

I'm using php7.4.3 and Laravel 8.

Creating tenant, please wait...
 0/2 [░░░░░░░░░░░░░░░░░░░░░░░░░░░░]   0%
   ErrorException  : Trying to access array offset on value of type int

  at /home/xxx/Laravel Root/multi-tenant-laravel-starter-boilerplate/vendor/symfony/console/Input/ArrayInput.php:135
    131|                 return;
    132|             }
    133|             if (0 === strpos($key, '--')) {
    134|                 $this->addLongOption(substr($key, 2), $value);
  > 135|             } elseif ('-' === $key[0]) {
    136|                 $this->addShortOption(substr($key, 1), $value);
    137|             } else {
    138|                 $this->addArgument($key, $value);
    139|             }

  Exception trace:

  1   Illuminate\Foundation\Bootstrap\HandleExceptions::handleError()
      /home/xxx/Laravel Root/multi-tenant-laravel-starter-boilerplate/vendor/symfony/console/Input/ArrayInput.php:135

  2   Symfony\Component\Console\Input\ArrayInput::parse()
      /home/xxx/Laravel Root/multi-tenant-laravel-starter-boilerplate/vendor/symfony/console/Input/Input.php:55

  Please use the argument -v to see more details.
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