Throw an error in Core\Configuration if a config value from the DB is requested but the instance is constructed with $enable_db = false