Notice: Undefined index: ip_address in /usr/local/cwpsrv/htdocs/resources/admin/modules/vhost_rebuild.php(1) : eval()'d code(1) : eval()'d code on line 55
I confirm the vhost_rebuild.php have an issue.
On a fresh install of CWP, domain's template is call only for the owner domain (the one at user register).
For all other the subdomain template is call.
The issue appears when you rebuild subdomains hasn't got any IP address.
For a quick fixed, if no IP take the shared IP of the panel.