Dashboard page Uncaught Error
-
Hello,
I just noticed theres an error in the Dashboard page of the plugin that does not allow me to access it.
Also Firewall page is blank.I am running on PHP 8.1 & WordPress 6.3.2
Plugin functionality are not affected.
I specifically started noticing the error after upgrading from PHP 7.4 to 8.1. But it might have been present before that.
The error on dashboard page:
Fatal error: Uncaught Error: Attempt to modify property "data" on array in /wp-includes/rest-api.php:1209 Stack trace: #0 /wp-includes/class-wp-hook.php(312): rest_add_application_passwords_to_index(Array) #1 /wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, Array) #2 /wp-includes/rest-api/class-wp-rest-server.php(1300): apply_filters('rest_index', Object(WP_REST_Response), Object(WP_REST_Request)) #3 /wp-includes/rest-api/class-wp-rest-server.php(1194): WP_REST_Server->get_index(Object(WP_REST_Request)) #4 /wp-includes/rest-api/class-wp-rest-server.php(1041): WP_REST_Server->respond_to_request(Object(WP_REST_Request), '/', Array, NULL) #5 /wp-includes/rest-api.php(545): WP_REST_Server->dispatch(Object(WP_REST_Request)) #6 /wp-content/plugins/better-wp-security/core/lib.php(2068): rest_do_request(Object(WP_REST_Request)) #7 /wp-content/plugins/better-wp-security/core/admin-pages/page-dashboard.php(68): ITSEC_Lib::preload_rest_requests(Array) #8 /wp-includes/class-wp-hook.php(310): ITSEC_Admin_Page_Loader->{closure}('toplevel_page_i...') #9 /wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(NULL, Array) #10 /wp-includes/plugin.php(517): WP_Hook->do_action(Array) #11 /wp-admin/admin-header.php(118): do_action('admin_enqueue_s...', 'toplevel_page_i...') #12 /wp-admin/admin.php(239): require_once('/www') #13 /.composer/vendor/laravel/valet/server.php(234): require('/www') #14 {main} thrown in /wp-includes/rest-api.php on line 1209
The topic ‘Dashboard page Uncaught Error’ is closed to new replies.