Unable to connect to database.

A database error occurred while processing this request.

Fatal error: Call to a member function query() on a non-object in /var/mini/version-1/deploy/concrete/models/package.php on line 84