Steps to replicate the issue (include links if applicable):
- Wikis report PHP Warnings related to PluggableAuth with the following configuration:
wfLoadExtension( 'PluggableAuth' );
$wgPluggableAuth_Config['Log in using SAML'] = [
'plugin' => 'SimpleSAMLphp',
'data' => [
'authSourceId' => 'test-sp',
'usernameAttribute' => 'cn',
'realNameAttribute' => 'givenName',
'emailAttribute' => 'mail'
]
];What happens?:
The following warnings occur:
PHP Warning: Undefined array key "query" in /var/www/html/extensions/PluggableAuth/includes/PluggableAuthHooks.php on line 201 PHP Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /var/www/html/includes/GlobalFunctions.php on line 395
What should have happened instead?:
No warnings
Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):
MediaWiki 1.43.6
PHP 8.3.30
PluggableAuth 7.5.0
Other information (browser name/version, screenshots, etc.):