You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make GET rest api call in browser (to get xml response)
Expected result (*)
Return xml result
<magento_api>
<messages>
<error>
<data_item>
<code>404</code>
<message>Request does not match any route.</message>
</data_item>
</error>
</messages>
</magento_api>
Actual result (*)
implode method is using legacy signature which is removed in php 8 -- app/code/core/Mage/Api2/Model/Renderer/Xml.php on line 108: $isAssoc = !preg_match('/^\d+$/', implode(array_keys($data), ''));
Fatal error: Uncaught TypeError: implode(): Argument 2 ($array) must be of type ?array, string given in app/code/core/Mage/Api2/Model/Renderer/Xml.php on line 108
6 | 0.1233 | 1754120 | implode( $separator = [0 => 'messages'], $array = '' ) | .../Xml.php:108
The text was updated successfully, but these errors were encountered:
Preconditions (*)
Steps to reproduce (*)
Expected result (*)
Actual result (*)
6 | 0.1233 | 1754120 | implode( $separator = [0 => 'messages'], $array = '' ) | .../Xml.php:108
The text was updated successfully, but these errors were encountered: