- Plesk 12.5 for Linux
An extention is created to handle domain creation event. It fails with an error:
PHP Fatal error: Call to a member function getParam() on null in /usr/local/psa/admin/plib/api-rpc/AbscractAgentMail.php on line 730
event is launched before mail service is created for the domain.It is Plesk internal issue
, which is planned to be fixed in the one of the next product updates.
There are two options:
Use event 'Physical Hosting Created' - it is launched after both mail and web services are created. Note:
Physical Hosting Createdevent is not applicable for domains without web hosting.
Use delay between the queries:add some timeout before the second request, e.g.,
request2=line in the script.