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

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

Open
BramEsposito opened this issue Mar 27, 2020 · 2 comments
Open

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

BramEsposito opened this issue Mar 27, 2020 · 2 comments
Assignees
Labels

Comments

@BramEsposito
Copy link

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

image

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?

@BramEsposito
Copy link
Author

Solution: downgrade to PHP 7.3.16

@ngmy ngmy added the bug label Mar 29, 2020
@ngmy ngmy self-assigned this Mar 29, 2020
@ngmy
Copy link
Owner

ngmy commented Mar 29, 2020

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,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants