Open RocketDesigner opened 6 years ago
Fatal Error when activating BadgeOS Group Mangement add-on.
Steps to Reproduce
Actual result: Fatal error: Uncaught Error: Call to undefined function get_current_screen() in /home/startupn/public_html/wp-content/plugins/BadgeOS-Group-Management-Add-On-master/includes/badgeos-users.php:227 Stack trace: #0 /home/startupn/public_html/wp-includes/class-wp-hook.php(286): badgeos_schools_control_user_roles(Array) #1 /home/startupn/public_html/wp-includes/plugin.php(203): WP_Hook->apply_filters(Array, Array) #2 /home/startupn/public_html/wp-admin/includes/user.php(242): apply_filters('editable_roles', Array) #3 /home/startupn/public_html/wp-content/plugins/js_composer/include/classes/core/access/class-vc-current-user-access-controller.php(37): get_editable_roles() #4 /home/startupn/public_html/wp-content/plugins/js_composer/include/classes/core/access/class-vc-role-access-controller.php(92): Vc_Current_User_Access_Controller->getRole() #5 /home/startupn/public_html/wp-content/plugins/js_composer/include/autoload/vc-pages/page-design-options.php(24): Vc_Role_Access_Controller->can('vc-color-tab') #6 /home/startupn/public_ in /home/startupn/public_html/wp-content/plugins/BadgeOS-Group-Management-Add-On-master/includes/badgeos-users.php on line 227
Fatal error: Uncaught Error: Call to undefined function get_current_screen() in /home/startupn/public_html/wp-content/plugins/BadgeOS-Group-Management-Add-On-master/includes/badgeos-users.php:227 Stack trace: #0 /home/startupn/public_html/wp-includes/class-wp-hook.php(286): badgeos_schools_control_user_roles(Array) #1 /home/startupn/public_html/wp-includes/plugin.php(203): WP_Hook->apply_filters(Array, Array) #2 /home/startupn/public_html/wp-admin/includes/user.php(242): apply_filters('editable_roles', Array) #3 /home/startupn/public_html/wp-content/plugins/js_composer/include/classes/core/access/class-vc-current-user-access-controller.php(37): get_editable_roles() #4 /home/startupn/public_html/wp-content/plugins/js_composer/include/classes/core/access/class-vc-role-access-controller.php(92): Vc_Current_User_Access_Controller->getRole() #5 /home/startupn/public_html/wp-content/plugins/js_composer/include/autoload/vc-pages/page-design-options.php(24): Vc_Role_Access_Controller->can('vc-color-tab') #6 /home/startupn/public_ in /home/startupn/public_html/wp-content/plugins/BadgeOS-Group-Management-Add-On-master/includes/badgeos-users.php on line 227
Fatal Error when activating BadgeOS Group Mangement add-on.
Steps to Reproduce
Actual result:
Fatal error: Uncaught Error: Call to undefined function get_current_screen() in /home/startupn/public_html/wp-content/plugins/BadgeOS-Group-Management-Add-On-master/includes/badgeos-users.php:227 Stack trace: #0 /home/startupn/public_html/wp-includes/class-wp-hook.php(286): badgeos_schools_control_user_roles(Array) #1 /home/startupn/public_html/wp-includes/plugin.php(203): WP_Hook->apply_filters(Array, Array) #2 /home/startupn/public_html/wp-admin/includes/user.php(242): apply_filters('editable_roles', Array) #3 /home/startupn/public_html/wp-content/plugins/js_composer/include/classes/core/access/class-vc-current-user-access-controller.php(37): get_editable_roles() #4 /home/startupn/public_html/wp-content/plugins/js_composer/include/classes/core/access/class-vc-role-access-controller.php(92): Vc_Current_User_Access_Controller->getRole() #5 /home/startupn/public_html/wp-content/plugins/js_composer/include/autoload/vc-pages/page-design-options.php(24): Vc_Role_Access_Controller->can('vc-color-tab') #6 /home/startupn/public_ in /home/startupn/public_html/wp-content/plugins/BadgeOS-Group-Management-Add-On-master/includes/badgeos-users.php on line 227
Product Versions