I'm using the code from here: Plesk XML API Error 2204: Login name is empty
But replaced a section with this:
<vrt_hst>
<property>
<name>ftp_login</name>
<value>site-$plesk_username</value>
</property>
<property>
<name>ftp_password</name>
<value>$user_password</value>
</property>
<ip_address>104.238.170.144</ip_address>
</vrt_hst>
And I am having an issue where this is created successfully, but the script stops and does not run any other commands after. It then shows my custom suspended error page (https://broomfieldhosting.co.uk/error_docs/maintenance.html). Is this to do with not having enough RAM or system resources? It's on the default unlimited service plan with overuse allowed.
I have also done some debugging to check this isn't caused by my payment processing API by putting die("test") in between, but I still got the error page, so clearly it never reached that command.
I am using the domain testsite.com, and Let's Encrypt is not automatic.