Skip to content

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

@romtam

Description

@romtam

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions