24.1 error  [SOLVED]

Have you discovered a bug? Tell us about it.
Post Reply
User avatar
kivamp
Posts: 6
Joined: Mon 25. Oct 2021, 18:17

24.1 error

Post by kivamp »

Keyhelp 24.1
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
User avatar
Alexander
Keyweb AG
Posts: 4177
Joined: Wed 20. Jan 2016, 02:23

Re: 24.1 error

Post by Alexander »

Why you did not fill out the required error reporting template?

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.))
Mit freundlichen Grüßen / Best regards
Alexander Mahr

**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
User avatar
kivamp
Posts: 6
Joined: Mon 25. Oct 2021, 18:17

Re: 24.1 error

Post by kivamp »

I'm sure the cause of the problem is within KeyHelp

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
User avatar
Alexander
Keyweb AG
Posts: 4177
Joined: Wed 20. Jan 2016, 02:23

Re: 24.1 error  [SOLVED]

Post by Alexander »

Unfortunately you have not read this:
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.
Please show the exact content of the 'Additional PHP directives' fields of the corresponding client.
Mit freundlichen Grüßen / Best regards
Alexander Mahr

**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
User avatar
Tobi
Community Moderator
Posts: 3061
Joined: Thu 5. Jan 2017, 13:24

Re: 24.1 error

Post by Tobi »

Did you change the operating system PHP version manually?
Gruß,
Tobi


-----------------------------
wewoco.de
Das Forum für Reseller, Digital-Agenturen, Bildschirmarbeiter und Mäuseschubser
Post Reply