Got the same error in Joomla!
System top bar disappeared while in Admin->Global Configuration (com_config).
PHP error can only be seen in title (quite useless): "Error: 0 Function name must be a string".
Digging for several hours led me to /libraries/joomla/database/driver/bclass.php, removing this file fixes the error.
Hope this will save some ...