Skip to content

Fatal Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, false given #976

Open
@kkmuffme

Description

@kkmuffme

return array_key_exists( $key, $info ) ? $info[ $key ] : null;

can happen if the WP API call fails (e.g. working locally without internet connection, WP API has temporary issues, blocked by a firewall,...)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Good First IssueIssue particularly suitable to be worked on by new contributors[Team] PluginsIssues owned by Plugin Review Team[Type] BugAn existing feature is broken

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions