When creating a subdomain to a newly created domain, the virtual host configuration is removed from httpd.conf, and an error occured:
isdedicatedip() requires one argument (this probably means a domain is missing from httpd.conf) at /usr/local/cpanel/Cpanel/DIp.pm line 38
Cpanel::DIp::isdedicatedip(undef) called at /usr/local/cpanel/Cpanel/ExpVar.pm line 185
Cpanel::ExpVar::expvar('!$hasdedicatedip') called at cpanel.pl line 1721
main::execiftag('<cpanelif !$hasdedicatedip>') called at cpanel.pl line 4392
main::dotag(undef) called at cpanel.pl line 4281
main::cpanel_parseblock('SCALAR(0x909bf88)') called at cpanel.pl line 4235
main::cpanel_parse('GLOB(0x92e23cc)') called at cpanel.pl line 1077
Carp::cluck('isdedicatedip() requires one argument (this probably means a dom...') called at /usr/local/cpanel/Cpanel/DIp.pm line 38
Cpanel::DIp::isdedicatedip(undef) called at /usr/local/cpanel/Cpanel/ExpVar.pm line 185
Cpanel::ExpVar::expvar('!$hasdedicatedip') called at cpanel.pl line 1721
main::execiftag('<cpanelif !$hasdedicatedip>') called at cpanel.pl line 4392
main::dotag(undef) called at cpanel.pl line 4281
main::cpanel_parseblock('SCALAR(0x909bf88)') called at cpanel.pl line 4235
main::cpanel_parse('GLOB(0x92e23cc)') called at cpanel.pl line 1077
cpanel 11.11.0 E16942
isdedicatedip() requires one argument (this probably means a domain is missing from httpd.conf) at /usr/local/cpanel/Cpanel/DIp.pm line 38
Cpanel::DIp::isdedicatedip(undef) called at /usr/local/cpanel/Cpanel/ExpVar.pm line 185
Cpanel::ExpVar::expvar('!$hasdedicatedip') called at cpanel.pl line 1721
main::execiftag('<cpanelif !$hasdedicatedip>') called at cpanel.pl line 4392
main::dotag(undef) called at cpanel.pl line 4281
main::cpanel_parseblock('SCALAR(0x909bf88)') called at cpanel.pl line 4235
main::cpanel_parse('GLOB(0x92e23cc)') called at cpanel.pl line 1077
Carp::cluck('isdedicatedip() requires one argument (this probably means a dom...') called at /usr/local/cpanel/Cpanel/DIp.pm line 38
Cpanel::DIp::isdedicatedip(undef) called at /usr/local/cpanel/Cpanel/ExpVar.pm line 185
Cpanel::ExpVar::expvar('!$hasdedicatedip') called at cpanel.pl line 1721
main::execiftag('<cpanelif !$hasdedicatedip>') called at cpanel.pl line 4392
main::dotag(undef) called at cpanel.pl line 4281
main::cpanel_parseblock('SCALAR(0x909bf88)') called at cpanel.pl line 4235
main::cpanel_parse('GLOB(0x92e23cc)') called at cpanel.pl line 1077
cpanel 11.11.0 E16942