Skip to content

confirm array or object parts exist before using#372

Merged
norcross merged 2 commits intomainfrom
fix/foreach-check
Dec 11, 2025
Merged

confirm array or object parts exist before using#372
norcross merged 2 commits intomainfrom
fix/foreach-check

Conversation

@norcross
Copy link
Member

@norcross norcross commented Dec 11, 2025

in addition to the error mentioned in #367 there is also a PHP Warning: Undefined property: stdClass::$sections in /wp-content/plugins/fair-plugin/inc/packages/namespace.php on line 177 error when a particular plugin does not have sections in their metadata (Query Monitor does this)

this PR addresses both of these instances

@norcross norcross requested review from afragen and costdev December 11, 2025 16:48
@github-actions
Copy link
Contributor

@costdev costdev added this to the 1.3 milestone Dec 11, 2025
@norcross norcross merged commit d108beb into main Dec 11, 2025
46 checks passed
@norcross norcross deleted the fix/foreach-check branch December 11, 2025 17:16
@johnbillion
Copy link
Contributor

I think this partially addresses #350

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants