Symptoms
After Plesk upgrade domain creation based on domain template fails with the following error:
ERROR: PleskFatalException
Unable to create PhDomain object: Domain does not exist.
0: C:\Program Files\SWsoft\Plesk\admin\plib\common_func.php3:151
psaerror(string 'Unable to create PhDomain object: Domain does not exist.')
1: C:\Program Files\SWsoft\Plesk\admin\auto_prepend\auth.php3:280
Cause
Some fields in templates became to be mandatory in the latest Plesk version, but they are not specified in the corresponding domain template.
Resolution
Please go to Clients, Client Name, Domain Templates,Domain template Name and ensure that all fields which are marked with (*) are selected.
Then please try to create domain again.