zwankie
Basic Pleskian
Hi everyone,
After an upgrade from Plesk Obsidian 18.0.26 to 18.0.27 there are now errors and issues:
On the Plesk Main Page:
New configuration files for the Apache web server were not created due to the errors in configuration templates: Template processing failed: file = /usr/local/psa/admin/conf/templates/default/domainVhost.php, error = Template_Exception: Argument 3 passed to Db_Table_Row_PhpSettings::getConfigurationText() must be of the type string, array given, called in /usr/local/psa/admin/plib/Template/Variable/Domain/PhysicalHosting.php on line 556 file: /usr/local/psa/admin/plib/Template/Processor.php line: 28 code: 0 Previous error: Template_Exception: Argument 3 passed to Db_Table_Row_PhpSettings::getConfigurationText() must be of the type string, array given, called in /usr/local/psa/admin/plib/Template/Variable/Domain/PhysicalHosting.php on line 556 file: /usr/local/psa/admin/plib/Template/Processor.php line: 28 code: 0 Previous error: TypeError: Argument 3 passed to Db_Table_Row_PhpSettings::getConfigurationText() must be of the type string, array given, called in /usr/local/psa/admin/plib/Template/Variable/Domain/PhysicalHosting.php on line 556 file: /usr/local/psa/admin/plib/Db/Table/Row/PhpSettings.php line: 59 code: 0. Detailed error descriptions were sent to you by email. Please resolve the issues and click here to generate broken configuration files once again or here to generate all configuration files.
When running plesk bin php_settings -u
ERR [panel] Argument 3 passed to Db_Table_Row_PhpSettings::getConfigurationText() must be of the type string, array given, called in /usr/local/psa/admin/plib/PHostingManager/Apache.php on line 289:
0: /usr/local/psa/admin/plib/Db/Table/Row/PhpSettings.php:59
Db_Table_Row_PhpSettings->getConfigurationText(integer '0', string 'sub-domain-name-here', array, string '/var/www/vhosts/domain-name-here', string '/tmp')
1: /usr/local/psa/admin/plib/PHostingManager/Apache.php:289
PHostingManager_Apache->{closure}(boolean false, boolean true)
2: /usr/local/psa/admin/plib/PHostingManager/Apache.php:311
PHostingManager_Apache->configurePhpSettings(boolean false)
3: /usr/local/psa/admin/plib/PHostingManager/Apache.php:229
PHostingManager_Apache->transactionalUpdate(object of type Transaction_Rollback)
4: /usr/local/psa/admin/plib/Transaction/Rollback.php:19
Transaction_Rollback->commit(array)
5: /usr/local/psa/admin/plib/PHostingManager/Apache.php:174
PHostingManager_Apache->update()
6: /usr/local/psa/admin/plib/api-common/cuPhpSettings.php:49
cuPhpSettings->_updateAllCommand()
7: /usr/local/psa/admin/plib/api-common/cuApp.php:79
cuApp->_callCommandMethod(array)
8: /usr/local/psa/admin/plib/api-common/cuApp.php:73
cuApp->_executeCommand()
9: /usr/local/psa/admin/plib/api-common/cuApp.php:53
cuApp->runFromCliGate()
10: /usr/local/psa/admin/plib/api-common/CuExecutor.php:69
CuExecutor->execUtil(string 'cuPhpSettings', string 'runFromCliGate')
11: /usr/local/psa/admin/plib/api-common/CuExecutor.php:131
CuExecutor->run()
12: /usr/local/psa/admin/plib/api-cli/CliUtilityRunner.php:25
CliUtilityRunner->run()
13: /usr/local/psa/admin/plib/api-cli/CliUtilityRunner.php:34
require_once(string '/usr/local/psa/admin/plib/api-cli/CliUtilityRunner.php')
14: /usr/local/psa/admin/plib/api-cli/php_settings.php:4
ERROR: TypeError: Argument 3 passed to Db_Table_Row_PhpSettings::getConfigurationText() must be of the type string, array given, called in /usr/local/psa/admin/plib/PHostingManager/Apache.php on line 289 (PhpSettings.php:59)
exit status 1
I've run plesk repair all and plesk repair web but these issues return the next day.
Any advice?
After an upgrade from Plesk Obsidian 18.0.26 to 18.0.27 there are now errors and issues:
On the Plesk Main Page:
New configuration files for the Apache web server were not created due to the errors in configuration templates: Template processing failed: file = /usr/local/psa/admin/conf/templates/default/domainVhost.php, error = Template_Exception: Argument 3 passed to Db_Table_Row_PhpSettings::getConfigurationText() must be of the type string, array given, called in /usr/local/psa/admin/plib/Template/Variable/Domain/PhysicalHosting.php on line 556 file: /usr/local/psa/admin/plib/Template/Processor.php line: 28 code: 0 Previous error: Template_Exception: Argument 3 passed to Db_Table_Row_PhpSettings::getConfigurationText() must be of the type string, array given, called in /usr/local/psa/admin/plib/Template/Variable/Domain/PhysicalHosting.php on line 556 file: /usr/local/psa/admin/plib/Template/Processor.php line: 28 code: 0 Previous error: TypeError: Argument 3 passed to Db_Table_Row_PhpSettings::getConfigurationText() must be of the type string, array given, called in /usr/local/psa/admin/plib/Template/Variable/Domain/PhysicalHosting.php on line 556 file: /usr/local/psa/admin/plib/Db/Table/Row/PhpSettings.php line: 59 code: 0. Detailed error descriptions were sent to you by email. Please resolve the issues and click here to generate broken configuration files once again or here to generate all configuration files.
When running plesk bin php_settings -u
ERR [panel] Argument 3 passed to Db_Table_Row_PhpSettings::getConfigurationText() must be of the type string, array given, called in /usr/local/psa/admin/plib/PHostingManager/Apache.php on line 289:
0: /usr/local/psa/admin/plib/Db/Table/Row/PhpSettings.php:59
Db_Table_Row_PhpSettings->getConfigurationText(integer '0', string 'sub-domain-name-here', array, string '/var/www/vhosts/domain-name-here', string '/tmp')
1: /usr/local/psa/admin/plib/PHostingManager/Apache.php:289
PHostingManager_Apache->{closure}(boolean false, boolean true)
2: /usr/local/psa/admin/plib/PHostingManager/Apache.php:311
PHostingManager_Apache->configurePhpSettings(boolean false)
3: /usr/local/psa/admin/plib/PHostingManager/Apache.php:229
PHostingManager_Apache->transactionalUpdate(object of type Transaction_Rollback)
4: /usr/local/psa/admin/plib/Transaction/Rollback.php:19
Transaction_Rollback->commit(array)
5: /usr/local/psa/admin/plib/PHostingManager/Apache.php:174
PHostingManager_Apache->update()
6: /usr/local/psa/admin/plib/api-common/cuPhpSettings.php:49
cuPhpSettings->_updateAllCommand()
7: /usr/local/psa/admin/plib/api-common/cuApp.php:79
cuApp->_callCommandMethod(array)
8: /usr/local/psa/admin/plib/api-common/cuApp.php:73
cuApp->_executeCommand()
9: /usr/local/psa/admin/plib/api-common/cuApp.php:53
cuApp->runFromCliGate()
10: /usr/local/psa/admin/plib/api-common/CuExecutor.php:69
CuExecutor->execUtil(string 'cuPhpSettings', string 'runFromCliGate')
11: /usr/local/psa/admin/plib/api-common/CuExecutor.php:131
CuExecutor->run()
12: /usr/local/psa/admin/plib/api-cli/CliUtilityRunner.php:25
CliUtilityRunner->run()
13: /usr/local/psa/admin/plib/api-cli/CliUtilityRunner.php:34
require_once(string '/usr/local/psa/admin/plib/api-cli/CliUtilityRunner.php')
14: /usr/local/psa/admin/plib/api-cli/php_settings.php:4
ERROR: TypeError: Argument 3 passed to Db_Table_Row_PhpSettings::getConfigurationText() must be of the type string, array given, called in /usr/local/psa/admin/plib/PHostingManager/Apache.php on line 289 (PhpSettings.php:59)
exit status 1
I've run plesk repair all and plesk repair web but these issues return the next day.
Any advice?