Closed
Description
Preconditions (*)
- OpenMage 20.0.10
- PHP 8.0
Steps to reproduce (*)
- Open http://example.com/index.php/api/v2_soap/index/?wsdl in browser
Expected result (*)
- URL can be opened
Actual result (*)
The URL can't be opened. The error
Fatal error: Declaration of Mage_Api_Model_Wsdl_Config_Element::getChildren($source) must be compatible with SimpleXMLElement::getChildren() in [...]/app/code/core/Mage/Api/Model/Wsdl/Config/Element.php on line 179
is shown.
This works in PHP 7.4. It only fails since PHP 8.0. I'm not sure if this is caused because PHP 8.0 is more strict towards incompatible method signatures. Or if SimpleXMLElement has got a new method getChildren() in PHP 8.0.