• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Issue ERROR: Class 'Hosting_Options_Description' not found

udii

New Pleskian
Hi all,

I have had this issue for a while and have not been able to find a resolution anywhere.

Click Domains > Click on Domain Name > click "open in control panel" ... you get the error
Click Domains > Click on Domain Name > click "sync" ... you get the error
Click Domains > Click on Domain Name > click "edit hosting settings" ... you get the error

I have attached the error log associated with it when running plesk log panel.log via ssh and proceeding to click on "open in control panel"

I believe this error is causing subsequent other errors such as the inability to update plesk as well.

Any ideas on how to fix???

Thanks!!!!

Error log:
Code:
[root psa]# plesk log panel.log
Log files: /usr/local/psa/admin/logs/panel.log

#18 /usr/local/psa/admin/plib/AdminPanel/Form/Abstract/ServicePlan/Resources.php(75): AdminPanel_Form_Abstract_ServicePlan_Resources->_addOverusePolicySection(Object(AdminPanel_Form_Final_ServicePlan_Resources))
#19 /usr/local/psa/admin/externals/Zend/Form.php(240): AdminPanel_Form_Abstract_ServicePlan_Resources->init()
#20 /usr/local/psa/admin/plib/CommonPanel/Form.php(76): Zend_Form->__construct(Array)
#21 /usr/local/psa/admin/plib/AdminPanel/Form/Abstract/ServicePlan.php(232): CommonPanel_Form->__construct(Array)
#22 /usr/local/psa/admin/plib/AdminPanel/Form/Abstract/ServicePlan.php(157): AdminPanel_Form_Abstract_ServicePlan->_addResourcesTab(Object(CommonPanel_Form_TabbedSubForm))
#23 /usr/local/psa/admin/plib/AdminPanel/Form/Abstract/ServicePlan.php(74): AdminPanel_Form_Abstract_ServicePlan->_addTabs(Object(AdminPanel_Form_Final_ServicePlan_Customer))
#24 /usr/local/psa/admin/plib/AdminPanel/Form/Abstract/ServicePlan/Customer.php(15): AdminPanel_Form_Abstract_ServicePlan->init()
#25 /usr/local/psa/admin/externals/Zend/Form.php(240): AdminPanel_Form_Abstract_ServicePlan_Customer->init()
#26 /usr/local/psa/admin/plib/CommonPanel/Form.php(76): Zend_Form->__construct(Array)
#27 /usr/local/psa/admin/application/admin/controllers/CustomerServicePlanController.php(203): CommonPanel_Form->__construct(Array)
#28 /usr/local/psa/admin/plib/AdminPanel/Controller/Action/ServicePlan.php(111): Admin_CustomerServicePlanController->_getForm(Object(Db_Table_Row_Plan_Domain))
#29 /usr/local/psa/admin/application/admin/controllers/CustomerServicePlanController.php(146): AdminPanel_Controller_Action_ServicePlan->_processForm(Object(Db_Table_Row_Plan_Domain), true)
#30 /usr/local/psa/admin/externals/Zend/Controller/Action.php(516): Admin_CustomerServicePlanController->editAction()
#31 /usr/local/psa/admin/externals/Zend/Controller/Dispatcher/Standard.php(295): Zend_Controller_Action->dispatch('editAction')
#32 /usr/local/psa/admin/externals/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#33 /usr/local/psa/admin/plib/Application/Web.php(38): Zend_Controller_Front->dispatch(NULL)
#34 /usr/local/psa/admin/htdocs/application.php(15): Plesk\Application_Web->run()
#35 {main}

[14-Jun-2017 19:13:03 America/Los_Angeles] PHP Fatal error:  Class 'Hosting_Options_Description' not found in /usr/local/psa/admin/plib/Db/Table/Dictionary/PlanProperties.php on line 148
[14-Jun-2017 19:30:07 America/Los_Angeles] PHP Warning: include_once(Hosting/Options/Description.php): failed to open stream: No such file or directory; File: /usr/local/psa/admin/plib/Loader.php, Line: 97

[14-Jun-2017 19:30:07 America/Los_Angeles] Exception: PHP Warning: include_once(Hosting/Options/Description.php): failed to open stream: No such file or directory; File: /usr/local/psa/admin/plib/Loader.php, Line: 97

file: /usr/local/psa/admin/plib/Smb/Exception/Syntax.php
line: 56
code: 0
trace: #0 /usr/local/psa/admin/plib/Loader.php(97): Smb_Exception_Syntax::handleError(2, 'include_once(Ho...', '/usr/local/psa/...', 97, Array)
#1 /usr/local/psa/admin/plib/Loader.php(97): Loader::loadClass()
#2 /usr/local/psa/admin/plib/Loader.php(37): Loader::loadClass('Hosting_Options...')
#3 [internal function]: Loader::autoload('Hosting_Options...')
#4 /usr/local/psa/admin/plib/Db/Table/Row/Plan/Domain.php(332): spl_autoload_call('Hosting_Options...')
#5 /usr/local/psa/admin/plib/Db/Table/Row/Subscription/Domain.php(620): Db_Table_Row_Plan_Domain->getCompositePlan(Array)
#6 /usr/local/psa/admin/plib/Sitebuilder/Restrictions.php(65): Db_Table_Row_Subscription_Domain->getPlan()
#7 /usr/local/psa/admin/plib/Smb/View/Web/SiteRenderer.php(66): Sitebuilder_Restrictions::isNewSitesPublishingAllowedOnWebspace(Object(Webspace))
#8 /usr/local/psa/admin/plib/Smb/View/Web/SiteRenderer.php(82): Smb_View_Web_SiteRenderer->_setupPermissions(Object(Smb_Subscription_Domain))
#9 /usr/local/psa/admin/plib/Smb/View/List/Sites.php(83): Smb_View_Web_SiteRenderer->getSiteRecord(Object(PhDomain))
#10 /usr/local/psa/admin/plib/CommonPanel/View/List/Abstract.php(401): Smb_View_List_Sites->_getDataProvider()
#11 /usr/local/psa/admin/plib/CommonPanel/View/List/Abstract.php(201): CommonPanel_View_List_Abstract->_setupPaginator()
#12 /usr/local/psa/admin/plib/CommonPanel/View/List/Abstract.php(192): CommonPanel_View_List_Abstract->_setupList()
#13 /usr/local/psa/admin/application/smb/controllers/WebController.php(2149): CommonPanel_View_List_Abstract->__construct(Object(Zend_View), Object(Zend_Controller_Request_Http), Array)
#14 /usr/local/psa/admin/application/smb/controllers/WebController.php(66): Smb_WebController->_getSitesList()
#15 /usr/local/psa/admin/externals/Zend/Controller/Action.php(516): Smb_WebController->viewAction()
#16 /usr/local/psa/admin/externals/Zend/Controller/Dispatcher/Standard.php(295): Zend_Controller_Action->dispatch('viewAction')
#17 /usr/local/psa/admin/externals/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#18 /usr/local/psa/admin/plib/Application/Web.php(38): Zend_Controller_Front->dispatch(NULL)
#19 /usr/local/psa/admin/htdocs/application.php(15): Plesk\Application_Web->run()
#20 {main}

[14-Jun-2017 19:30:07 America/Los_Angeles] PHP Warning: include_once(): Failed opening 'Hosting/Options/Description.php' for inclusion (include_path='/usr/local/sb/include:/usr/local/psa/admin/plib:/usr/local/psa/admin/externals:/usr/local/sb/include:/usr/local/sb/include/PEAR'); File: /usr/local/psa/admin/plib/Loader.php, Line: 97

[14-Jun-2017 19:30:07 America/Los_Angeles] Exception: PHP Warning: include_once(): Failed opening 'Hosting/Options/Description.php' for inclusion (include_path='/usr/local/sb/include:/usr/local/psa/admin/plib:/usr/local/psa/admin/externals:/usr/local/sb/include:/usr/local/sb/include/PEAR'); File: /usr/local/psa/admin/plib/Loader.php, Line: 97

file: /usr/local/psa/admin/plib/Smb/Exception/Syntax.php
line: 56
code: 0
trace: #0 /usr/local/psa/admin/plib/Loader.php(97): Smb_Exception_Syntax::handleError(2, 'include_once():...', '/usr/local/psa/...', 97, Array)
#1 /usr/local/psa/admin/plib/Loader.php(97): Loader::loadClass()
#2 /usr/local/psa/admin/plib/Loader.php(37): Loader::loadClass('Hosting_Options...')
#3 [internal function]: Loader::autoload('Hosting_Options...')
#4 /usr/local/psa/admin/plib/Db/Table/Row/Plan/Domain.php(332): spl_autoload_call('Hosting_Options...')
#5 /usr/local/psa/admin/plib/Db/Table/Row/Subscription/Domain.php(620): Db_Table_Row_Plan_Domain->getCompositePlan(Array)
#6 /usr/local/psa/admin/plib/Sitebuilder/Restrictions.php(65): Db_Table_Row_Subscription_Domain->getPlan()
#7 /usr/local/psa/admin/plib/Smb/View/Web/SiteRenderer.php(66): Sitebuilder_Restrictions::isNewSitesPublishingAllowedOnWebspace(Object(Webspace))
#8 /usr/local/psa/admin/plib/Smb/View/Web/SiteRenderer.php(82): Smb_View_Web_SiteRenderer->_setupPermissions(Object(Smb_Subscription_Domain))
#9 /usr/local/psa/admin/plib/Smb/View/List/Sites.php(83): Smb_View_Web_SiteRenderer->getSiteRecord(Object(PhDomain))
#10 /usr/local/psa/admin/plib/CommonPanel/View/List/Abstract.php(401): Smb_View_List_Sites->_getDataProvider()
#11 /usr/local/psa/admin/plib/CommonPanel/View/List/Abstract.php(201): CommonPanel_View_List_Abstract->_setupPaginator()
#12 /usr/local/psa/admin/plib/CommonPanel/View/List/Abstract.php(192): CommonPanel_View_List_Abstract->_setupList()
#13 /usr/local/psa/admin/application/smb/controllers/WebController.php(2149): CommonPanel_View_List_Abstract->__construct(Object(Zend_View), Object(Zend_Controller_Request_Http), Array)
#14 /usr/local/psa/admin/application/smb/controllers/WebController.php(66): Smb_WebController->_getSitesList()
#15 /usr/local/psa/admin/externals/Zend/Controller/Action.php(516): Smb_WebController->viewAction()
#16 /usr/local/psa/admin/externals/Zend/Controller/Dispatcher/Standard.php(295): Zend_Controller_Action->dispatch('viewAction')
#17 /usr/local/psa/admin/externals/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#18 /usr/local/psa/admin/plib/Application/Web.php(38): Zend_Controller_Front->dispatch(NULL)
#19 /usr/local/psa/admin/htdocs/application.php(15): Plesk\Application_Web->run()
#20 {main}

[14-Jun-2017 19:30:07 America/Los_Angeles] PHP Fatal error:  Class 'Hosting_Options_Description' not found in /usr/local/psa/admin/plib/Db/Table/Row/Plan/Domain.php on line 332
 

Attachments

  • error.txt
    8.5 KB · Views: 0
Try to fix it with following commands:

# plesk installer --select-release-current --reinstall-patch --upgrade-installed-components
# plesk repair installation
 
hi IgorG .. thank you so much for your response. I still get errors when running plesk installer command as above. Also plesk repair installation command isn't recognized.

most notable errors are:
*********
mkdir: cannot create directory `/var/lib/psa': No such file or directory
touch: cannot touch `/var/lib/psa/dumps/mysql.preupgrade.12.0.18-12.0.18.20170615-084932.dump.gz': No such file or directory

Trying to backup MySQL database...
ERROR while trying to backup MySQL database
Check the error reason(see log file: /var/log/plesk/install/plesk_12.0.18_installation.log), fix and try again

chcon: /usr/local/psa/bin/yum_install: Operation not supported
*********

i have attached the plesk_12.0.18_installation.log for reference although it doesn't seem to have any clues on how to fix the error.

Any ideas??

thanks everyone
 

Attachments

  • plesk_12.0.18_installation (1).log
    2.6 KB · Views: 1
Looks like your Plesk server is seriously damaged. I can only recommend creating a request to support team to do the in-depth investigation to find the reason and to fix it. Please create a ticket to support at Help Center
 
Thanks... Sorry i forgot to mention that i was using Plesk 12.0.18
so the repair command is:
plesk bin repair --run

However .. i run that and still get an error.

Code:
plesk bin repair --run
PHP Warning: include_once(WebServerManager/Adapter/Apache.php): failed to open stream: No such file or directory; File: /usr/local/psa/admin/plib/Loader.php, Line: 97

PHP Warning: include_once(): Failed opening 'WebServerManager/Adapter/Apache.php' for inclusion (include_path='/usr/local/psa/admin/plib:/usr/local/psa/admin/externals'); File: /usr/local/psa/admin/plib/Loader.php, Line: 97

PHP Fatal error:  Class 'WebServerManager_Adapter_Apache' not found in /usr/local/psa/admin/plib/api-common/cu.php on line 195

I guess it's still pretty messed up. Any other ideas before support?
Thank you so much!
 
A lot of important and critical for correct Plesk operation files are missing. I strongly recommend you contact Support Team. Repairing your damaged Plesk by forum discussions without access to your server is just a waste of time.
 
Back
Top