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
It appears that WAP processes page in a menu bar differently than pages not in a menu bar. So when a page is in a menu bar access control is checked and the current code doesn't check the access control properly. The access control features for pages/post NOT in a menu bar work just fine.
function get_wa_post_meta() expects an array to be passed into it holding the metadata of a post but currently a post ID is being sent into it and thus line 1882 throws an error when trying to see if an array key exists in a string
if (array_key_exists(self::RESTRICTED_GROUPS, $meta)) {
$restricted_groups = $meta[self::RESTRICTED_GROUPS][0];
}
if (array_key_exists(self::RESTRICTED_LEVELS, $meta)) {
$restricted_levels = $meta[self::RESTRICTED_LEVELS][0];
}
To simulate error try logging in with MPG credentials [email protected]/
the membership level and group sync just fine to the account in WordPress
But ALL pages whether they have access control or not yield this error:
The text was updated successfully, but these errors were encountered: