Ultimate Branding Warning in_array

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

This warning appears at the footer of the subsite website.

Any ideas?

Cheers,

Johnny