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

PHP7.4: ErrorException: Trying to access array offset on value of type int [Solution] #554

Closed
romtam opened this issue May 21, 2020 · 1 comment

Comments

@romtam
Copy link

romtam commented May 21, 2020

I'm opening an issue here in hopes that some people might see it, so that they can easily know how to fix.

Current Behavior

When we run /setup with PHP7.4 and click Install, an error is thrown. When we turn on debug, we see:
ErrorException: Trying to access array offset on value of type int

Possible Solution

Implement the fix from this commit, located at /var/www/polr/vendor/symfony/console/Input/ArrayInput.php

Your Environment

  • Version or latest commit hash (git rev-parse HEAD): f9622d7
  • Environment name and version (e.g. Chrome 39, PHP 7.0, etc): PHP 7.4
@romtam romtam changed the title PHP7.4: ErrorException: Trying to access array offset on value of type int PHP7.4: ErrorException: Trying to access array offset on value of type int [Solution] May 21, 2020
@romtam romtam closed this as completed May 22, 2020
@ngunyimacharia
Copy link

Is there any way this can be permanently solved? Bump up the dependancies?

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

2 participants