• 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 PHP Error: "Please reload the page in a few seconds."

Azurel

Silver Pleskian
Server operating system version
AlmaLinux 8.6
Plesk version and microupdate number
18.0.47
Is here something in plesk changed? Very rare user can create a php error because of memory error.

previous output was:
500 - Internal Server Error.
Please reload the page in a few seconds.
and in error_log I found the reason. Thats was perfect. Now visitors see/report the reason:
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /var/www/vhosts/......./file.php on line XXXX
500 - Internal Server Error.
Please reload the page in a few seconds.

How I remove the first line? I never want that visitors see the reason or/and full script path.
I have a PHP-Error-Handler, but this error comes from php/plesk and stopps there. Is this a new bug in settings of plesk/php?
 
Have you tested with phpinfo() if the setting is actually turned off?

Also, could there be anything in your website/app that would overrule the default value for display_errors? Like for example ini_set('display_errors', 1) in any of the code?
 
Last edited:
Back
Top