I get the following error when I removed the main WordPress

I get the following error when I removed the main WordPress menu and clicked Save. Help please?

Warning: array_diff(): Argument #1 is not an array in /..../public_html/wp-content/plugins/ultimate-branding/ultimate-branding-files/modules/custom-admin-bar-files/inc/UB_Admin_Bar.php on line 223

Warning: Cannot modify header information - headers already sent by (output started at /..../public_html/wp-content/plugins/ultimate-branding/ultimate-branding-files/modules/custom-admin-bar-files/inc/UB_Admin_Bar.php:223) in /home/momekh/public_html/wp-includes/pluggable.php on line 1121

  • Jack Kitterhing

    Hi there @Momekh,

    Hope you're well today and thanks for your question.

    As those are warnings and not errors everything should continue to work correctly.

    Headers already sent, normally means theres whitespace at the end of a plugin file.

    Though if WP_DEBUG is false, these shouldn't show.

    Can you check in your wp-config.php if WP_DEBUG is false like this

    define( 'WP_DEBUG', false );

    You can find your wp-config.php via FTP or cPanel > File Manager :slight_smile:

    Thank you!

    Kind Regards
    Jack.

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.