Closed mtekk closed 4 years ago
Apparently, some users have deleted the administrator role. This will cause a fatal error when attempting to add the bcn_manage_options capability to that role. Let's make sure to check that the item returned by get_role is a WP_Role object instance. See https://wordpress.org/support/topic/fatal-error-on-all-admin-pages-in-6-5-0/#post-13006832
administrator
bcn_manage_options
get_role
WP_Role
Apparently, some users have deleted the
administrator
role. This will cause a fatal error when attempting to add thebcn_manage_options
capability to that role. Let's make sure to check that the item returned byget_role
is aWP_Role
object instance. See https://wordpress.org/support/topic/fatal-error-on-all-admin-pages-in-6-5-0/#post-13006832