• 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.

Resolved Trouble with error messages

lassos

New Pleskian
[2020-05-13 15:15:14.512] ERR [panel] Argument 3 passed to Db_Table_Row_PhpSettings::getConfigurationText() must be of the type string, array given, called in /opt/psa/admin/plib/Template/Variable/Domain/PhysicalHosting.php on line 556

Could it be a bug ?

Still have been made a reboot and also:

plesk repair all -y
repair web -y gemacht. Wir haben
/usr/local/psa/admin/sbin/httpdmng --reconfigure-all

a bootstrapper -repair, but still get error in config files:

plesk repair web -server

Checking web server configuration
File not found: die-carls.de.conf
File not found: dherrmann.de.conf

Repairing server-wide configuration parameters for web servers .. [OK]

Error messages: 1; Warnings: 0; Errors resolved: 0

But missing files are not recovered cause of this error message:

[2020-05-13 11:58:35.872] ERR [panel] Argument 3 passed to Db_Table_Row_PhpSettings::getConfigurationText() must be of the type string, array given, called in /opt/psa/admin/plib/Template/Variable/Domain/PhysicalHosting.php on line 556


root@srv7 ~ # plesk db "select * from Configurations where status <>'OK'"
+------+-------------+---------------+------+----------------------+------------+----------+--------+--------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------+
| id | name | serviceNodeId | file | version | objectType | objectId | status | active | description | errorFile |
+------+-------------+---------------+------+----------------------+------------+----------+--------+--------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------+
| 1893 | domainVhost | 1 | NULL | 15893638670.49878800 | domain | 7 | error | true | Template processing failed: file = /opt/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 /opt/psa/admin/plib/Template/Variable/Domain/PhysicalHosting.php on line 556
file: /opt/psa/admin/plib/Temp


Repairing is not working, also plesk web configurationstool only ends in error:

Aufgrund folgender Fehler in den Konfigurations-Templates konnten keine neuen Konfigurationsdateien für den Apache Webserver erstellt werden: Template processing failed: file = /opt/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 /opt/psa/admin/plib/Template/Variable/Domain/PhysicalHosting.php on line 556 file: /opt/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 /opt/psa/admin/plib/Template/Variable/Domain/PhysicalHosting.php on line 556 file: /opt/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 /opt/psa/admin/plib/Template/Variable/Domain/PhysicalHosting.php on line 556 file: /opt/psa/admin/plib/Db/Table/Row/PhpSettings.php line: 59 code: 0. Ausführliche Fehlerbeschreibungen wurden Ihnen per E-Mail zugesendet. Bitte lösen Sie das Problem und klicken Sie hier, um die beschädigten Konfigurationsdateien erneut zu erstellen, oder hier, um alle Konfigurationsdateien zu erstellen. Einzelheiten

Only deleting domain and add new domain solves the conflict. But it it to much work for 120 domains.

Any help ? The plesk php files are encoded :
/opt/psa/admin/plib/Template/Variable/Domain/PhysicalHosting.php on line 556
 
Hello,
The bug is confirmed as PPP-48975, thank you for reporting it!
I assume the compatibility mode for the legacy option "Separate SSL/TLS and non-SSL/TLS content" is enabled on these domains in Hosting Settings? Please consider disabling it.
 
Jo made my day, yes, the migration of customer to new server comes from an very old server. so there was still "Separate SSL/TLS and non-SSL/TLS content" option. disabling it solves the problem. config files could be built
 
Back
Top