multi-tenant-laravel-starter-boilerplate icon indicating copy to clipboard operation
multi-tenant-laravel-starter-boilerplate copied to clipboard

php artisan tenant:create gives error

Open fbc opened this issue 4 years ago • 0 comments

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.

fbc avatar Oct 05 '20 13:10 fbc