Skip to content

[TwigBundle] Scope::has returns error: array_key_exists() expects parameter 2 to be array, null given #7342

Closed
@stevelacey

Description

@stevelacey

Looks like there's now a problem when testing if a data is visible from current scope?

Twig_Error_Runtime: An exception has been thrown during the compilation of a template ("Warning: array_key_exists() expects parameter 2 to be array, null given in .../vendor/symfony/symfony/src/Symfony/Bridge/Twig/NodeVisitor/Scope.php line 94")

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions