Add $ignoreValidUntil, as onelogin has updated the Settings base class.

Created on 26 May 2025, 14 days ago

I experienced the following error:

Fatal error: Declaration of Drupal\saml_sp\SAML\SamlSPSettings::getSPMetadata($alwaysPublishEncryptionCert = false, $validUntil = null, $cacheDuration = null) must be compatible with OneLogin\Saml2\Settings::getSPMetadata($alwaysPublishEncryptionCert = false, $validUntil = null, $cacheDuration = null, $ignoreValidUntil = false) in /app/htdocs/web/modules/contrib/saml_sp/src/SAML/SamlSPSettings.php on line 22

Making the admin page for the module unusable.

This has to do with the ignoreValidUntil that has been added to the getSPMetadata function of the Settings base class.

MR will follow.

πŸ› Bug report
Status

Active

Version

4.3

Component

Code

Created by

πŸ‡§πŸ‡ͺBelgium yorickdv

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024