The server returned a "500 Internal Server Error". #350

Closed
opened 2026-04-05 20:27:09 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @brunobincoletto on 8/24/2023

CloudPanel version(s) affected

v2.3.2

Description

When I try to access any domain that uses PHP, it returns error above:

Oops! An Error Occurred
The server returned a "500 Internal Server Error".
Something is broken. Please let us know what you were doing when this error occurred. We will fix it as soon as possible. Sorry for any inconvenience caused.

How to reproduce

I don't know exactly, it started showing the error from one hour to another.

Possible Solution

No response

Additional Context

CLP php error log


[24-Aug-2023 18:26:20] WARNING: [pool clp] child 2232 said into stderr: "{"message":"Stored the security token in the session.","context":{"key":"_security_main"},"level":100,"level_name":"DEBUG","channel":"security","datetime":"2023-08-24T21:26:20.741243+00:00","extra":{}}"
[24-Aug-2023 18:27:05] WARNING: [pool clp] child 2232 said into stderr: "{"message":"Matched route \"clp_site_settings\".","context":{"route":"clp_site_settings","route_parameters":{"_route":"clp_site_settings","_controller":"App\\Controller\\Frontend\\SitesController::settings","domainName":"cliente.bedigital.com.br"},"request_uri":"https://bs1.bedigital.com.br/site/cliente.bedigital.com.br/settings","method":"GET"},"level":200,"level_name":"INFO","channel":"request","datetime":"2023-08-24T21:27:05.022489+00:00","extra":{}}"
[24-Aug-2023 18:27:05] WARNING: [pool clp] child 2232 said into stderr: "{"message":"Read existing security token from the session.","context":{"key":"_security_main","token_class":"Symfony\\Component\\Security\\Http\\Authenticator\\Token\\PostAuthenticationToken"},"level":100,"level_name":"DEBUG","channel":"security","datetime":"2023-08-24T21:27:05.118250+00:00","extra":{}}"
[24-Aug-2023 18:27:05] WARNING: [pool clp] child 2232 said into stderr: "{"message":"User was reloaded from a user provider.","context":{"provider":"App\\Security\\UserProvider","username":"bedigital"},"level":100,"level_name":"DEBUG","channel":"security","datetime":"2023-08-24T21:27:05.119027+00:00","extra":{}}"
[24-Aug-2023 18:27:05] WARNING: [pool clp] child 2232 said into stderr: "{"message":"Checking for authenticator support.","context":{"firewall_name":"main","authenticators":1},"level":100,"level_name":"DEBUG","channel":"security","datetime":"2023-08-24T21:27:05.119115+00:00","extra":{}}"
[24-Aug-2023 18:27:05] WARNING: [pool clp] child 2232 said into stderr: "{"message":"Checking support on authenticator.","context":{"firewall_name":"main","authenticator":"App\\Security\\LoginFormAuthenticator"},"level":100,"level_name":"DEBUG","channel":"security","datetime":"2023-08-24T21:27:05.119118+00:00","extra":{}}"
[24-Aug-2023 18:27:05] WARNING: [pool clp] child 2232 said into stderr: "{"message":"Authenticator does not support the request.","context":{"firewall_name":"main","authenticator":"App\\Security\\LoginFormAuthenticator"},"level":100,"level_name":"DEBUG","channel":"security","datetime":"2023-08-24T21:27:05.119124+00:00","extra":{}}"
[24-Aug-2023 18:27:05] WARNING: [pool clp] child 2232 said into stderr: "{"message":"Uncaught Error: Unsupported operand types: string + int","context":{"exception":{"class":"TypeError","message":"Unsupported operand types: string + int","code":0,"file":"/home/clp/htdocs/app/files/src/Form/SitePhpSettingsType.php:2"}},"level":500,"level_name":"CRITICAL","channel":"php","datetime":"2023-08-24T21:27:05.131020+00:00","extra":{}}"
[24-Aug-2023 18:27:05] WARNING: [pool clp] child 2232 said into stderr: "{"message":"Uncaught PHP Exception TypeError: \"Unsupported operand types: string + int\" at /home/clp/htdocs/app/files/src/Form/SitePhpSettingsType.php line 2","context":{"exception":{"class":"TypeError","message":"Unsupported operand types: string + int","code":0,"file":"/home/clp/htdocs/app/files/src/Form/SitePhpSettingsType.php:2"}},"level":500,"level_name":"CRITICAL","channel":"request","datetime":"2023-08-24T21:27:05.131396+00:00","extra":{}}"
[24-Aug-2023 18:27:05] WARNING: [pool clp] child 2232 said into stderr: "{"message":"Stored the security token in the session.","context":{"key":"_security_main"},"level":100,"level_name":"DEBUG","channel":"security","datetime":"2023-08-24T21:27:05.133711+00:00","extra":{}}"
*Originally created by @brunobincoletto on 8/24/2023* ### CloudPanel version(s) affected v2.3.2 ### Description When I try to access any domain that uses PHP, it returns error above: Oops! An Error Occurred The server returned a "500 Internal Server Error". Something is broken. Please let us know what you were doing when this error occurred. We will fix it as soon as possible. Sorry for any inconvenience caused. ### How to reproduce I don't know exactly, it started showing the error from one hour to another. ### Possible Solution _No response_ ### Additional Context CLP php error log ``` [24-Aug-2023 18:26:20] WARNING: [pool clp] child 2232 said into stderr: "{"message":"Stored the security token in the session.","context":{"key":"_security_main"},"level":100,"level_name":"DEBUG","channel":"security","datetime":"2023-08-24T21:26:20.741243+00:00","extra":{}}" [24-Aug-2023 18:27:05] WARNING: [pool clp] child 2232 said into stderr: "{"message":"Matched route \"clp_site_settings\".","context":{"route":"clp_site_settings","route_parameters":{"_route":"clp_site_settings","_controller":"App\\Controller\\Frontend\\SitesController::settings","domainName":"cliente.bedigital.com.br"},"request_uri":"https://bs1.bedigital.com.br/site/cliente.bedigital.com.br/settings","method":"GET"},"level":200,"level_name":"INFO","channel":"request","datetime":"2023-08-24T21:27:05.022489+00:00","extra":{}}" [24-Aug-2023 18:27:05] WARNING: [pool clp] child 2232 said into stderr: "{"message":"Read existing security token from the session.","context":{"key":"_security_main","token_class":"Symfony\\Component\\Security\\Http\\Authenticator\\Token\\PostAuthenticationToken"},"level":100,"level_name":"DEBUG","channel":"security","datetime":"2023-08-24T21:27:05.118250+00:00","extra":{}}" [24-Aug-2023 18:27:05] WARNING: [pool clp] child 2232 said into stderr: "{"message":"User was reloaded from a user provider.","context":{"provider":"App\\Security\\UserProvider","username":"bedigital"},"level":100,"level_name":"DEBUG","channel":"security","datetime":"2023-08-24T21:27:05.119027+00:00","extra":{}}" [24-Aug-2023 18:27:05] WARNING: [pool clp] child 2232 said into stderr: "{"message":"Checking for authenticator support.","context":{"firewall_name":"main","authenticators":1},"level":100,"level_name":"DEBUG","channel":"security","datetime":"2023-08-24T21:27:05.119115+00:00","extra":{}}" [24-Aug-2023 18:27:05] WARNING: [pool clp] child 2232 said into stderr: "{"message":"Checking support on authenticator.","context":{"firewall_name":"main","authenticator":"App\\Security\\LoginFormAuthenticator"},"level":100,"level_name":"DEBUG","channel":"security","datetime":"2023-08-24T21:27:05.119118+00:00","extra":{}}" [24-Aug-2023 18:27:05] WARNING: [pool clp] child 2232 said into stderr: "{"message":"Authenticator does not support the request.","context":{"firewall_name":"main","authenticator":"App\\Security\\LoginFormAuthenticator"},"level":100,"level_name":"DEBUG","channel":"security","datetime":"2023-08-24T21:27:05.119124+00:00","extra":{}}" [24-Aug-2023 18:27:05] WARNING: [pool clp] child 2232 said into stderr: "{"message":"Uncaught Error: Unsupported operand types: string + int","context":{"exception":{"class":"TypeError","message":"Unsupported operand types: string + int","code":0,"file":"/home/clp/htdocs/app/files/src/Form/SitePhpSettingsType.php:2"}},"level":500,"level_name":"CRITICAL","channel":"php","datetime":"2023-08-24T21:27:05.131020+00:00","extra":{}}" [24-Aug-2023 18:27:05] WARNING: [pool clp] child 2232 said into stderr: "{"message":"Uncaught PHP Exception TypeError: \"Unsupported operand types: string + int\" at /home/clp/htdocs/app/files/src/Form/SitePhpSettingsType.php line 2","context":{"exception":{"class":"TypeError","message":"Unsupported operand types: string + int","code":0,"file":"/home/clp/htdocs/app/files/src/Form/SitePhpSettingsType.php:2"}},"level":500,"level_name":"CRITICAL","channel":"request","datetime":"2023-08-24T21:27:05.131396+00:00","extra":{}}" [24-Aug-2023 18:27:05] WARNING: [pool clp] child 2232 said into stderr: "{"message":"Stored the security token in the session.","context":{"key":"_security_main"},"level":100,"level_name":"DEBUG","channel":"security","datetime":"2023-08-24T21:27:05.133711+00:00","extra":{}}" ```
Sign in to join this conversation.