Argument 1 error when migrating site

Hey I am getting this one error when loading my page and i can't for the life of me figure out why my database is not functioning correctly. i have updated my database file with the new database and credentials and still i get this error.

Argument 1 passed to Concrete\Core\Database\Driver\DriverManager::configExtensions() must be of the type array, null given, called in /home/lc745q8ot9jq/public_html/concrete/src/Database/DatabaseServiceProvider.php on line 23 and defined

I am new to Concrete5 but not new to screwing things up.

View Replies:
JohntheFish replied on at Permalink Reply
Sometimes such errors after updating disappear when you clear the cache.
Tdavis42 replied on at Permalink Reply
Actually ended up solving with a very simple and obvious change.

I wasn't changing the localhost.database file to point to the new database and credentials.