• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

undefined method TmplWarnForm

Superkikim

Regular Pleskian
Hi,

I'm trying to use the "domain" script to create a bunch of domains based on a template.

I get the following error message:

PHP Fatal error: Call to undefined method TmplWarnForm::error() in /opt/psa/admin/plib/api-common/cuDomain.php on line 990
PHP Warning: Releasing semaphore 20 in request cleanup in Unknown on line 0

This is related to the -template option usage. My template name is "Standard Hosting". The template exists.

Any advice ? is this a bug ?
 
Same problem for me, template use for command line domain creation is completely broken, I tried a template with no space in the name as well, same error.
 
Hi.

I got it ...

Did you add email address to your client description ?

When you create a domain, it try to send an email to the "owner". This "owner" (usually, client or reseller" should have an email address mentioned in his profile. Otherwise the script fail.
 
Back
Top