79091225

Date: 2024-10-15 18:15:55
Score: 1
Natty:
Report link

Given the error message and the code, it looks like in the line new Value($fields, 'array') in the fetchData method, $fields is an array of plain php strings. It should be an array of XmlRpc\Value objects.

You can either do that conversion manually, or simplify your code by having recursive wrapping of native php values into XmlRpc\Value objects by using XmlRpc\Encoder::encode() method, as seen f.e. in https://github.com/gggeek/phpxmlrpc/blob/master/demo/client/proxy.php

Reasons:
  • Contains signature (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: gggeek