Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
veptune opened this issue Nov 11, 2023 · 2 comments

Comments

@veptune
Copy link

veptune commented Nov 11, 2023

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

@gggeek
Copy link
Owner

gggeek commented Nov 11, 2023

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
Copy link
Owner

gggeek commented Sep 7, 2024

Almost one year since feedback. I'll close this one soon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants