You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However if $pages is say an empty string then the first expression is true but the second is false and throws an PHP warning "count(): Parameter must be an array or an object that implements Countable"
plugin version: 1.3.3
php version: 7.4
file: composer-includes/bu-navigation-core-widget/src/data-format.php#L171
function: pages_by_parent
the current if is written as
However if $pages is say an empty string then the first expression is true but the second is false and throws an PHP warning "count(): Parameter must be an array or an object that implements Countable"
I think the statement should be written as
The text was updated successfully, but these errors were encountered: