-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Description
I get this error by trying to test the example from php-plesk: ListEmailAddresses
Fatal error: Uncaught pmill\Plesk\ApiRequestException: Error: Incorrect request parameters submitted in C:\wamp64\www\src\pmill\Plesk\BaseRequest.php:87 Stack trace: #0 C:\wamp64\www\src\pmill\Plesk\ListEmailAddresses.php(44): pmill\Plesk\BaseRequest->__construct(Array, Array) #1 C:\wamp64\www\config.php(37): pmill\Plesk\ListEmailAddresses->__construct(Array, Array) #2 {main} thrown in C:\wamp64\www\src\pmill\Plesk\BaseRequest.php on line 87
here is the code:
$config = array(
'host'=>'MYDOMAIN.DOM',
'username'=>'USER',
'password'=>'PASSWORD',
);
$params = array(
'domain'=>'mydomain.dom',
);
$request = new \pmill\Plesk\ListEmailAddresses($config, $params);
$info = $request->process();
var_dump($info);
can any help me?
Plesk version is: 17.5.3
Metadata
Metadata
Assignees
Labels
No labels