Ultimate Branding - Multisite - Error/Warning

I am getting the following error on wordpress admin sites when I activate Ultimate Branding;

Warning: in_array() expects parameter 2 to be array, null given in /home/wp-content/plugins/ultimate-branding/ultimate-branding-files/modules/custom-admin-bar-files/inc/UB_Admin_Bar.php on line 612

How do I create a branding in multisite for any site on the network that the user cannot change?

  • Vaughan

    Hi Charlie,

    Hope you're well?

    That's just a warning, most likely because you haven't actually changed any settings in the custom admin bar options yet.

    Make a change and hit save and hopefully it should go away.

    If not, it would be recommended to prevent DEBUG notices from appearing on screen.

    To do this, add the following lines to your wp-config.php

    define( 'WP_DEBUG_LOG', true );
    define( 'WP_DEBUG_DISPLAY', false );

    Then set WP_DEBUG to true in wp-config.php

    Now instead of debug notices being output to screen, they will instead be stored in a file called debug.log located in /wp-content/

    With regards to your second question, can you elaborate on what you mean exactly?

    How do I create a branding in multisite for any site on the network that the user cannot change?

    Thanks

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.