When attempting to log in to an SP which uses the transparent metadata, accessing the endpoint that ends in the md5sum produces warnings (or, if display_errors is off, leads to a non-functional WAYF screen).
Warning: array_keys() expects parameter 1 to be array, null given in /var/opt/openconext/OpenConext-engineblock-4.4.8/library/EngineBlock/Corto/ProxyServer.php on line 332Warning: Invalid argument supplied for foreach() in /var/opt/openconext/OpenConext-engineblock-4.4.8/library/EngineBlock/Corto/ProxyServer.php on line 334Warning: Invalid argument supplied for foreach() in /var/opt/openconext/OpenConext-engineblock-4.4.8/library/EngineBlock/Corto/ProxyServer.php on line 343
This is most likely due to the setRemoteIdpMd5() function still trying to use the removed _entities attribute.
public function setRemoteIdpMd5($remoteIdPMd5)
{
$remoteEntityIds = array_keys($this->_entities['remote']);
foreach ($remoteEntityIds as $remoteEntityId) {
if (md5($remoteEntityId) === $remoteIdPMd5) {
When attempting to log in to an SP which uses the transparent metadata, accessing the endpoint that ends in the md5sum produces warnings (or, if display_errors is off, leads to a non-functional WAYF screen).
Warning: array_keys() expects parameter 1 to be array, null given in /var/opt/openconext/OpenConext-engineblock-4.4.8/library/EngineBlock/Corto/ProxyServer.php on line 332
Warning: Invalid argument supplied for foreach() in /var/opt/openconext/OpenConext-engineblock-4.4.8/library/EngineBlock/Corto/ProxyServer.php on line 334
Warning: Invalid argument supplied for foreach() in /var/opt/openconext/OpenConext-engineblock-4.4.8/library/EngineBlock/Corto/ProxyServer.php on line 343
This is most likely due to the
setRemoteIdpMd5()
function still trying to use the removed_entities
attribute.