api-php-lib
api-php-lib copied to clipboard
notice with failed request
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:
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