• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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