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

PHP String could not be parsed as XML #947

Open
namax opened this issue Jul 27, 2023 · 0 comments
Open

PHP String could not be parsed as XML #947

namax opened this issue Jul 27, 2023 · 0 comments

Comments

@namax
Copy link

namax commented Jul 27, 2023

Hi,

We are using "kaltura/api-client-library": "^v18.1.0",
and found this error

String could not be parsed as XML

#0 /vendor/kaltura/api-client-library/library/Kaltura/Client/Service/SearchService.php(106): SimpleXMLElement->__construct()
#1 Kaltura\Client\Service\SearchService->search()

it happens when we call
$searchResults = $this->initializeClient()->getSearchService()->search($search, $pager);
the initializeClient method returns instance of vendor/kaltura/api-client-library/library/Kaltura/Client/Client.php

$this->client->doQueue(); returns something that can't be handled by new \SimpleXMLElement constructor.

image

Would it be too difficult to add some verification?

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

No branches or pull requests

1 participant