• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Clone in Plesk Onyx 17.8.11 returning 500 TypeError because pm_Domain

Ron Rossman JR

New Pleskian
TITLE:
Clone in Plesk Onyx 17.8.11 returning 500 TypeError because pm_Domain
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE:
Ubuntu 16.04 LTS, Plesk Onyx 17.8.11 Update #15
PROBLEM DESCRIPTION:
We ran into this with a clean install via the custom method, and are now hitting it in an install from the One-Click installer.

On the custom install version: End user created the master WordPress site, and went to clone it, but ended up hitting the 500 TypeError.

On the one-click installer version: End user created the master WordPress site, cloned it and it appeared to work, but there was an issue with a redirect going to HTTPS, so they deleted the second site and went to clone again, but ended up hitting the 500 TypeError.​
STEPS TO REPRODUCE:
Custom version: Create master site, try to clone to new site

One-Click install version: Create master site, clone to new site. Delete new site, try to clone site again​
ACTUAL RESULT:
Clicking the "Clone" button leads to a Server 500 TypeError​
EXPECTED RESULT:
Site is cloned successfully​
ANY ADDITIONAL INFORMATION:
==> panel.log <==
[2018-07-27 11:48:31.632] ERR [panel] Argument 2 passed to PleskExt\WpToolkit\Form\Cloning\Settings::_getDefaultDbSettings() must be an instance of pm_Domain, null given, called in /opt/psa/admin/plib/modules/wp-toolkit/library/Form/Cloning/Settings.php on line 114:
0: /opt/psa/admin/plib/modules/wp-toolkit/library/Form/Cloning/Settings.php:303
PleskExt\WpToolkit\Form\Cloning\Settings->_getDefaultDbSettings(array, NULL null, array)
1: /opt/psa/admin/plib/modules/wp-toolkit/library/Form/Cloning/Settings.php:114
PleskExt\WpToolkit\Form\Cloning\Settings->init()
2: /opt/psa/admin/plib/vendor/plesk/zendframework/library/Zend/Form.php:239
Zend_Form->__construct(array)
3: /opt/psa/admin/plib/CommonPanel/Form.php:89
CommonPanel_Form->__construct(array)
4: /opt/psa/admin/plib/pm/Form/SubForm.php:19
pm_Form_SubForm->__construct(array)
5: /opt/psa/admin/plib/modules/wp-toolkit/library/Form/SubForm.php:24
PleskExt\WpToolkit\Form\SubForm->__construct(array)
6: /opt/psa/admin/plib/modules/wp-toolkit/library/Form/Cloning.php:62
PleskExt\WpToolkit\Form\Cloning->init()
7: /opt/psa/admin/plib/vendor/plesk/zendframework/library/Zend/Form.php:239
Zend_Form->__construct(array)
8: /opt/psa/admin/plib/CommonPanel/Form.php:89
CommonPanel_Form->__construct(array)
9: /opt/psa/admin/plib/pm/Form/Simple.php:20
pm_Form_Simple->__construct(array)
10: /opt/psa/admin/plib/modules/wp-toolkit/library/Controller/Action/CloneAndSync.php:90
PleskExt\WpToolkit\Controller\Action->cloneAction()
11: /opt/psa/admin/plib/vendor/plesk/zendframework/library/Zend/Controller/Action.php:516
Zend_Controller_Action->dispatch(string 'cloneAction')
12: /opt/psa/admin/plib/vendor/plesk/zendframework/library/Zend/Controller/Dispatcher/Standard.php:308
Zend_Controller_Dispatcher_Standard->dispatch(object of type Zend_Controller_Request_Http, object of type Zend_Controller_Response_Http)
13: /opt/psa/admin/plib/vendor/plesk/zendframework/library/Zend/Controller/Front.php:954
Zend_Controller_Front->dispatch()
14: /opt/psa/admin/plib/pm/Application.php:99
pm_Application->run()
15: /opt/psa/admin/htdocs/modules/wp-toolkit/index.php:4
[2018-07-27 11:48:31.638] ERR [1] Argument 2 passed to PleskExt\WpToolkit\Form\Cloning\Settings::_getDefaultDbSettings() must be an instance of pm_Domain, null given, called in /opt/psa/admin/plib/modules/wp-toolkit/library/Form/Cloning/Settings.php on line 114
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM:
Confirm bug
 
Looks like database inconsistency. Have you tried to fix it with

# plesk repair db

first?
 
IgorG
I have not, and am very new to plesk.

I'll try that if it comes up again (I trashed that VM and built a new test one).

Thanks!

-- Ron
 
Back
Top