Skip to content

PHP String could not be parsed as XML #947

Description

@namax

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?

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions