Skip to content

Invalid argument exception when no active syncer is found. #6

Description

@andrebonon

The error below happens when there is no sync active.

TypeError: in_array(): Argument #2 ($haystack) must be of type array, null given in in_array() (line 81 of modules/contrib/ymca_sync/src/Form/SettingsForm.php).

Proposed resolution:
Set an empty array to $active instead of null.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions