phpxmlrpc icon indicating copy to clipboard operation
phpxmlrpc copied to clipboard

Uncaught Error: Call to a member function serialize() on string in /vendor/phpxmlrpc/phpxmlrpc/src/Value.php:373

Open veptune opened this issue 1 year ago • 2 comments

Hello,

I got this error :

Fatal error: Uncaught Error: Call to a member function serialize() on string in /vendor/phpxmlrpc/phpxmlrpc/src/Value.php:373

The library has been installed with : composer require phpxmlrpc/phpxmlrpc

Thanks

veptune avatar Nov 11 '23 13:11 veptune

You have created a Struct value whose member is a plain php string. You should pass in instead a string wrappped in another Xmlrpc Value obejct

gggeek avatar Nov 11 '23 23:11 gggeek