Critical Error after logging in as Editor with Accessibility Checker 1.2.13
-
Hi
With ver. 1.2.13 of Accessibility Checker installed on our sites as “Admins” we can log in fine, but users with just “Editor” role, logging in causes a critical error:
WordPress caught an error with one of your plugins, Accessibility Checker.
WordPress version 6.0.1
Current plugin: Accessibility Checker (version 1.2.13)
PHP version 8.0.16Error Details
=============
An error of type E_ERROR was caused in line 17 of the file /www/site/wp-content/plugins/accessibility-checker/includes/options-page.php. Error message: Uncaught TypeError: array_intersect(): Argument #2 must be of type array, bool given in /www/site/wp-content/plugins/accessibility-checker/includes/options-page.php:17
Stack trace:
#0 /www/site/wp-content/plugins/accessibility-checker/includes/options-page.php(17): array_intersect()
#1 /www/site/wp-content/plugins/accessibility-checker/includes/options-page.php(31): edac_user_can_ignore()
#2 /www/site/wp-includes/class-wp-hook.php(307): edac_add_options_page()
#3 /www/site/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
#4 /www/site/wp-includes/plugin.php(476): WP_Hook->do_action()
#5 /www/site/wp-admin/includes/menu.php(155): do_action()
#6 /www/site/wp-admin/menu.php(394): require_once(‘…’)
#7 /www/site/wp-admin/admin.php(158): require(‘…’)
#8 /www/site/wp-admin/index.php(10): require_once(‘…’)
#9 {main}
thrown===============================================
Have gone back to our previous version of 1.2.11, and everything is working fine – for all users
- The topic ‘Critical Error after logging in as Editor with Accessibility Checker 1.2.13’ is closed to new replies.