webloyer
webloyer copied to clipboard
"Trying to access array offset on value of type int"
I run into this when trying to install with php artisan webloyer:install -v (-v for a more verbose error message).

My configuration:
- OS: MacOS 10.14.6
- Apache/2.4.41
- PHP 7.4.3
- MySQL 8.0.19
- PHP, MySQL and Apache installed with Brew
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?
Solution: downgrade to PHP 7.3.16
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,