Function Error While Updating "Ultimate Branding" Plugin on MultiSite

I got the following error while updating the Ultimate Branding plugin on a MultiSite installation and am now locked out of the dashboard.

Fatal error: Call to a member function is_main_query() on a non-object in /wp-includes/query.php on line 734

Is anyone aware of this type of error and what I can do about it? Please see attached screenshots.
Thanks
Mike