24.1 error [SOLVED]
24.1 error
Debian 12
Can't save domain changes.
PHP Fatal error: Uncaught TypeError: trim(): Argument #1 ($string) must be of type string, array given in /home/keyhelp/www/keyhelp/core/SystemConfig/Webserver/PhpFpmPoolConfig.php:349
Re: 24.1 error
Especially this question is important: Steps to reproduce
The error reporting template is there for a reason, so that we don't have to ask for everything problem related.
Please answer at least this question and show the content of all fields within the KeyHelp UI you have filled out to reproduce this.
STOP - Please read the next lines carefully!
1) Please fill out the post template below completely!
2) The members of this forum provide their valuable time to help! In return, please provide as much information as possible and be specific in your error description. Posts that show little initiative will probably not get good responses!
You may remove this top portion of the post template.
However, do not remove the following post template under any circumstances.
---------------------------------------------------------------------------
I'm sure the cause of the problem is within KeyHelp
(Problems not related to KeyHelp belong in the Offtopic forum)
Server operating system + version
(e.g. Ubuntu 20.04)
Server virtualization technology used
(e.g. none, OpenVZ, KVM, XEN, etc.)
KeyHelp version + build number
(e.g. 22.0 - Build 2366)
Problem description / error messages
Expected result
Actual result
Steps to reproduce
Additional information
(e.g. recent changes to the server, excerpts from log files (/var/log/*, /var/log/keyhelp/php-error.log, etc.))
Alexander Mahr
**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
Re: 24.1 error
It appeared after updating to 24.1
Server operating system + version
Debian 12.5
Server virtualization technology used
none
KeyHelp version + build number
24.1 (Build 3285)
Problem description / error messages
Not save domain after edit it
Expected result
Domain saved and its status 1
Actual result
Domain status - 4
Steps to reproduce
Domain edit -> save
Important warning: two (or more) php versions must be installed.
Additional information
/var/log/keyhelp/php-error.log
[11-Jun-2024 09:18:01 Europe/Chisinau] PHP Fatal error: Uncaught TypeError: trim(): Argument #1 ($string) must be of type string, array given in /home/keyhelp/www/keyhelp/core/SystemConfig/Webserver/PhpFpmPoolConfig.php:349
Stack trace:
#0 /home/keyhelp/www/keyhelp/core/SystemConfig/Webserver/PhpFpmPoolConfig.php(349): trim()
#1 /home/keyhelp/www/keyhelp/core/SystemConfig/Webserver/PhpFpmPoolConfig.php(254): PhpFpmPoolConfig->generate()
#2 /home/keyhelp/www/keyhelp/core/pending/Apache.php(1189): PhpFpmPoolConfig->save()
#3 /home/keyhelp/www/keyhelp/core/pending/Apache.php(905): Apache->applyUserConfigs()
#4 /home/keyhelp/www/keyhelp/cronjob/jobs/update.php(2300): Apache->applyAllConfigChanges()
#5 /home/keyhelp/www/keyhelp/cronjob/mastercronjob.php(464): unknown()
#6 {main}
thrown in /home/keyhelp/www/keyhelp/core/SystemConfig/Webserver/PhpFpmPoolConfig.php on line 349
Re: 24.1 error [SOLVED]
Please show the exact content of the 'Additional PHP directives' fields of the corresponding client.Alexander wrote:Please answer at least this question and show the content of all fields within the KeyHelp UI you have filled out to reproduce this.
Alexander Mahr
**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
Re: 24.1 error
Tobi
-----------------------------
wewoco.de
Das Forum für Reseller, Digital-Agenturen, Bildschirmarbeiter und Mäuseschubser