Skip to content
This repository was archived by the owner on May 16, 2018. It is now read-only.
This repository was archived by the owner on May 16, 2018. It is now read-only.

Warning: each(): Node no longer exists in library\Zend\XmlRpc\Value.php on line 495 #738

Description

@dr-abadis

Hi. I have a problem in xmlrpc call. The error message says

Warning: each(): Node no longer exists in library\Zend\XmlRpc\Value.php on line 495

which is related to

protected static function _extractTypeAndValue(SimpleXMLElement $xml, &$type, &$value) { list($type, $value) = each($xml);

    if (!$type and $value === null) {
        $namespaces = array('ex' => 'http://ws.apache.org/xmlrpc/namespaces/extensions');
        foreach ($namespaces as $namespaceName => $namespaceUri) {
            $namespaceXml = $xml->children($namespaceUri);
            list($type, $value) = each($namespaceXml);
            if ($type !== null) {
                $type = $namespaceName . ':' . $type;
                break;
            }
        }
    }

Is it a bug or am I doing sth wrong?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions