Navigating to settings page causes fatal error
-
I’m currently experiencing a problem where the admin settings page of the plugin causes a fatal error. This happens as soon as I navigate to /wp-admin/admin.php?page=itsec-dashboard:
[19-Feb-2024 12:56:57 UTC] PHP Fatal error: Uncaught TypeError: array_merge(): Argument #1 must be of type array, null given in /my-site/public/wordpress/wp-includes/class-wp-navigation-fallback.php:39 Stack trace: #0 /my-site/public/wordpress/wp-includes/class-wp-navigation-fallback.php(39): array_merge(NULL, Array) #1 /my-site/public/wordpress/wp-includes/class-wp-hook.php(324): WP_Navigation_Fallback::update_wp_navigation_post_schema(Array) #2 /my-site/public/wordpress/wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, Array) #3 /my-site/public/wordpress/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(2614): apply_filters('rest_wp_navigat...', Array) #4 /my-site/public/wordpress/wp-includes/rest-api/endpoints/class-wp-rest-controller.php(388): WP_REST_Posts_Controller->get_item_schema() #5 /my-site/public/wordpress/wp-includes/rest-api/endpoints/class-wp-rest-controller.php(343): WP_REST_Controller->get_context_param() #6 /my-site/public/wordpress/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(2771): WP_REST_Controller->get_collection_params() #7 /my-site/public/wordpress/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(83): WP_REST_Posts_Controller->get_collection_params() #8 /my-site/public/wordpress/wp-includes/rest-api.php(245): WP_REST_Posts_Controller->register_routes() #9 /my-site/public/wordpress/wp-includes/class-wp-hook.php(324): create_initial_rest_routes(Object(WP_REST_Server)) #10 /my-site/public/wordpress/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #11 /my-site/public/wordpress/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #12 /my-site/public/wordpress/wp-includes/rest-api.php(593): do_action('rest_api_init', Object(WP_REST_Server)) #13 /my-site/public/wordpress/wp-includes/rest-api.php(551): rest_get_server() #14 /my-site/public/wp-content/plugins/better-wp-security/core/admin-pages/page-dashboard.php(35): rest_do_request(Object(WP_REST_Request)) #15 /my-site/public/wordpress/wp-includes/class-wp-hook.php(324): ITSEC_Admin_Page_Loader->{closure}('toplevel_page_i...') #16 /my-site/public/wordpress/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #17 /my-site/public/wordpress/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #18 /my-site/public/wordpress/wp-admin/admin-header.php(118): do_action('admin_enqueue_s...', 'toplevel_page_i...') #19 /my-site/public/wordpress/wp-admin/admin.php(239): require_once('/my-site...') #20 {main} thrown in /my-site/public/wordpress/wp-includes/class-wp-navigation-fallback.php on line 39
This happens on the following installation:
- nginx/1.23.2
- PHP 8.1.26
- WordPress 6.4.3
- Solid: Install Type: Basic
- Solid: Initial Build: 4128
- Plugin version 9.3.1
I can’t find the root cause of this problem and hope you can help me find it.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Navigating to settings page causes fatal error’ is closed to new replies.