What version are you updating from? Sounds like you've an older version of CB on a PHP 7.x install, which it's not compatible with. Downgrade to PHP 5.6 then update CB then go back to PHP 7.x. I do not recommend updating the environment unless your Joomla install and the extensions installed on it are compatible with that new environment or you can hit issues like this.