Fatal error while validating the settings
-
Hello
In the plugin settings, when I tried to disable the admin bar, I got a critical error:
Fatal error: Uncaught TypeError: array_merge(): Argument #1 must be of type array, string given in /wp-content/plugins/insert-headers-and-footers/includes/class-wpcode-settings.php:156 Stack trace: #0 /wp-content/plugins/insert-headers-and-footers/includes/class-wpcode-settings.php(156): array_merge(”, Array) #1 /wp-content/plugins/insert-headers-and-footers/includes/admin/pages/class-wpcode-admin-page-settings.php(320): WPCode_Settings->bulk_update_options(Array) #2 /wp-includes/class-wp-hook.php(324): WPCode_Admin_Page_Settings->submit_listener(”) #3 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #4 /wp-includes/plugin.php(517): WP_Hook->do_action(Array) #5 /wp-admin/admin.php(176): do_action(‘admin_init’) #6 {main} thrown in /wp-content/plugins/insert-headers-and-footers/includes/class-wpcode-settings.php on line 156
This error is also obtained, without modifications, by simply validating the settings.
Slt, Daniel.
You must be logged in to reply to this topic.