• Resolved doczimute

    (@doczimute)


    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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Mircea Sandu

    (@gripgrip)

    Hi @doczimute,

    Thank you for bringing this issue to our attention.

    We can’t replicate this on our end so far but we are going to improve validation in a future version to avoid this.

    Can you please try deactivating and then activating the WPCode plugin again?

    Do you have any PHP snippets active that could maybe interfere with the settings saving?

    Thank you

    Thread Starter doczimute

    (@doczimute)

    Hello, Nothing worked, even after disabling the additional codes that were added.

    Plugin Author Mircea Sandu

    (@gripgrip)

    @doczimute we released an update that should address the issue you encountered. Please update to the latest version of WPCode.

Viewing 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.