WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Undefined array key warnings #136

@nlemoine

Description

@nlemoine

Describe the bug

Various warnings related to undefined array (ACFE custom) keys because of weak checks like:

if($field['acfe_group_modal']) {
}

To Reproduce

Field groups registered before ACF extended installation.

Expected behavior

No warnings, make sure the keys exist.

Screenshots

image (1)

WordPress & ACF
WordPress version: 6.7
ACF Pro version: 6.3.11
ACF add-ons: none

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