Updated to latest version and hit with this error. (pasted below)

It sounds like the config/global.php file was not updated properly during the update. You can replace it with https://raw.githubusercontent.com/matomo-org/matomo/3.x-dev/config/global.php or perform the manual three step update: Update Piwik User Guide - Analytics Platform - Matomo (this will ensure every file is correct).