ngmy / webloyer

Webloyer is a web UI for managing Deployer deployments
MIT License
218 stars 35 forks source link

"Trying to access array offset on value of type int" #95

Open BramEsposito opened 4 years ago

BramEsposito commented 4 years ago

I run into this when trying to install with php artisan webloyer:install -v (-v for a more verbose error message).

image

My configuration:

Exception trace:
 () at /Users/bram/Sites/deploy/webloyer/vendor/symfony/console/Input/ArrayInput.php:135
 Illuminate\Foundation\Bootstrap\HandleExceptions->handleError() at /Users/bram/Sites/deploy/webloyer/vendor/symfony/console/Input/ArrayInput.php:135
 Symfony\Component\Console\Input\ArrayInput->parse() at /Users/bram/Sites/deploy/webloyer/vendor/symfony/console/Input/Input.php:62
 Symfony\Component\Console\Input\Input->bind() at /Users/bram/Sites/deploy/webloyer/vendor/symfony/console/Command/Command.php:221
 Symfony\Component\Console\Command\Command->run() at /Users/bram/Sites/deploy/webloyer/vendor/laravel/framework/src/Illuminate/Console/Command.php:155
 Illuminate\Console\Command->run() at /Users/bram/Sites/deploy/webloyer/vendor/symfony/console/Application.php:794
 Symfony\Component\Console\Application->doRunCommand() at /Users/bram/Sites/deploy/webloyer/vendor/symfony/console/Application.php:186
 Symfony\Component\Console\Application->doRun() at /Users/bram/Sites/deploy/webloyer/vendor/symfony/console/Application.php:117
 Symfony\Component\Console\Application->run() at /Users/bram/Sites/deploy/webloyer/vendor/laravel/framework/src/Illuminate/Console/Application.php:64
 Illuminate\Console\Application->call() at /Users/bram/Sites/deploy/webloyer/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php:170
 Illuminate\Foundation\Console\Kernel->call() at /Users/bram/Sites/deploy/webloyer/bootstrap/cache/compiled.php:6327
 Illuminate\Support\Facades\Facade::__callStatic() at /Users/bram/Sites/deploy/webloyer/app/Console/Commands/Webloyer/Install.php:87
 App\Console\Commands\Webloyer\Install->handle() at n/a:n/a
 call_user_func_array() at /Users/bram/Sites/deploy/webloyer/bootstrap/cache/compiled.php:1257
 Illuminate\Container\Container->call() at /Users/bram/Sites/deploy/webloyer/vendor/laravel/framework/src/Illuminate/Console/Command.php:169
 Illuminate\Console\Command->execute() at /Users/bram/Sites/deploy/webloyer/vendor/symfony/console/Command/Command.php:256
 Symfony\Component\Console\Command\Command->run() at /Users/bram/Sites/deploy/webloyer/vendor/laravel/framework/src/Illuminate/Console/Command.php:155
 Illuminate\Console\Command->run() at /Users/bram/Sites/deploy/webloyer/vendor/symfony/console/Application.php:794
 Symfony\Component\Console\Application->doRunCommand() at /Users/bram/Sites/deploy/webloyer/vendor/symfony/console/Application.php:186
 Symfony\Component\Console\Application->doRun() at /Users/bram/Sites/deploy/webloyer/vendor/symfony/console/Application.php:117
 Symfony\Component\Console\Application->run() at /Users/bram/Sites/deploy/webloyer/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php:107
 Illuminate\Foundation\Console\Kernel->handle() at /Users/bram/Sites/deploy/webloyer/artisan:35

Any suggestions on how to start debugging this?

BramEsposito commented 4 years ago

Solution: downgrade to PHP 7.3.16

ngmy commented 4 years ago

Hi,

This is a problem with the version of symfony/console on which Laravel 5.2 depends.

I will upgrade Webloyer's Laravel in the near future.

Regards,