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

notice with failed request #55

Open
metallou opened this issue Feb 28, 2019 · 0 comments
Open

notice with failed request #55

metallou opened this issue Feb 28, 2019 · 0 comments

Comments

@metallou
Copy link

Hi,

I am getting a notice with a seeminlgy failed request:

Notice: Undefined offset: 0 in C:\DEV\sites\tools-si\vendor\plesk\api-php-lib\src\Api\Client.php on line 163

dumping the $xml variable yields the following:
object(PleskX\Api\XmlResponse)[475]
public '@attributes' =>
array (size=1)
'version' => string '1.6.9.0' (length=7)
public 'site' =>
object(PleskX\Api\XmlResponse)[241]
public 'get' =>
object(PleskX\Api\XmlResponse)[474]

there is no 'result' attribute under 'get'

Here's my request:




PARENT_NAME


<gen_info />



<disk_usage />



with PARENT_NAME being the name of a webspace as speciefied by the guide: https://docs.plesk.com/en-US/onyx/api-rpc/about-xml-api/reference/managing-sites-domains/available-filters.66544/

plesk version for this server is 17.0

running with "plesk/api-php-lib": "1.0.4" in composer.json

It would be awesome for all these info to be available with php and not though requests

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

1 participant