In public/authenticate.php line 22: `throw new SimpleSAML_Error_BadRequest(` should be changed to `throw new SimpleSAML\Error\BadRequest(`.