Error

Exception - Argument 2 passed to pgsql_native_moodle_database::select_db_handle() must be of the type string, null given, called in [dirroot]/lib/dml/moodle_read_slave_trait.php on line 274