I have Plesk Obsidian 18.0.23.
When executing the command to get info of a subdomain:
/usr/sbin/plesk bin subdomain -i subdomain.domain.com
I get this error:
[2020-02-12 21:42:44.996] ERR [panel] Call to a member function isMailAutodiscoveryEnabled() on null:
0: /usr/local/psa/admin/plib/report/class.DomainReport.php:715
DomainReport->make_report_summary_mailnames_()
1: /usr/local/psa/admin/plib/report/class.Report.php:278
Report->make_report(integer '171')
2: /usr/local/psa/admin/plib/api-common/AbstractCuDomain.php:2953
AbstractCuDomain->_cmdInfo(string 'subdomain.domain.com')
3: /usr/local/psa/admin/plib/api-common/AbstractCuDomain.php:1673
AbstractCuDomain->_processDomainNameCmd(string 'info', string 'subdomain.domain.com')
4: /usr/local/psa/admin/plib/api-common/cuDomain.php:65
cuDomain->_processDomainNameCmd(string 'info', string 'subdomain.domain.com')
5: /usr/local/psa/admin/plib/api-common/AbstractCuDomain.php:78
AbstractCuDomain->__construct(NULL null)
6: /usr/local/psa/admin/plib/api-common/CuExecutor.php:61
CuExecutor->execUtil(string 'cuSubDomain', NULL null)
7: /usr/local/psa/admin/plib/api-common/CuExecutor.php:131
CuExecutor->run()
8: /usr/local/psa/admin/plib/api-cli/CliUtilityRunner.php:25
CliUtilityRunner->run()
9: /usr/local/psa/admin/plib/api-cli/CliUtilityRunner.php:34
require_once(string '/usr/local/psa/admin/plib/api-cli/CliUtilityRunner.php')
10: /usr/local/psa/admin/plib/api-cli/subdomain.php:4
I have the same problem in all domains on the server.
When executing the command to get info of a subdomain:
/usr/sbin/plesk bin subdomain -i subdomain.domain.com
I get this error:
[2020-02-12 21:42:44.996] ERR [panel] Call to a member function isMailAutodiscoveryEnabled() on null:
0: /usr/local/psa/admin/plib/report/class.DomainReport.php:715
DomainReport->make_report_summary_mailnames_()
1: /usr/local/psa/admin/plib/report/class.Report.php:278
Report->make_report(integer '171')
2: /usr/local/psa/admin/plib/api-common/AbstractCuDomain.php:2953
AbstractCuDomain->_cmdInfo(string 'subdomain.domain.com')
3: /usr/local/psa/admin/plib/api-common/AbstractCuDomain.php:1673
AbstractCuDomain->_processDomainNameCmd(string 'info', string 'subdomain.domain.com')
4: /usr/local/psa/admin/plib/api-common/cuDomain.php:65
cuDomain->_processDomainNameCmd(string 'info', string 'subdomain.domain.com')
5: /usr/local/psa/admin/plib/api-common/AbstractCuDomain.php:78
AbstractCuDomain->__construct(NULL null)
6: /usr/local/psa/admin/plib/api-common/CuExecutor.php:61
CuExecutor->execUtil(string 'cuSubDomain', NULL null)
7: /usr/local/psa/admin/plib/api-common/CuExecutor.php:131
CuExecutor->run()
8: /usr/local/psa/admin/plib/api-cli/CliUtilityRunner.php:25
CliUtilityRunner->run()
9: /usr/local/psa/admin/plib/api-cli/CliUtilityRunner.php:34
require_once(string '/usr/local/psa/admin/plib/api-cli/CliUtilityRunner.php')
10: /usr/local/psa/admin/plib/api-cli/subdomain.php:4
I have the same problem in all domains on the server.