PHP Fatal error: Out of memory
-
Hi Support,
I’m sometimes getting HTTP ERROR 500 on my website when switching to opposite language (English). My memory limit is set to 512M. Can you please help me fix this?
Copied from my wp-config.php
@link https://www.ads-software.com/support/article/debugging-in-wordpress/
*/
define( ‘WP_DEBUG’, true );
define( ‘WP_DEBUG_LOG’, true );/* Add any custom values between this line and the “stop editing” line. */
define( ‘WP_CACHE’, true ); // Added by WP Rocket
define( ‘WP_MEMORY_LIMIT’, ‘512M’ );
define( ‘DISABLE_WP_CRON’, true );
define( ‘ALLOW_UNFILTERED_UPLOADS’, true);————————————————————————————
Copied from my debug.log
[01-Aug-2023 16:50:48 UTC] PHP Fatal error: Out of memory (allocated 2097152) (tried to allocate 20480 bytes) in /home/gallerif/domains/gallerifusion.dk/public_html/wp-content/plugins/translatepress-multilingual/assets/lib/simplehtmldom/simple_html_dom.php on line 2149
[01-Aug-2023 16:50:48 UTC] PHP Fatal error: Unknown: Cannot use output buffering in output buffering display handlers in Unknown on line 0[01-Aug-2023 16:50:50 UTC] PHP Fatal error: Out of memory (allocated 2097152) (tried to allocate 20480 bytes) in /home/gallerif/domains/gallerifusion.dk/public_html/wp-content/plugins/translatepress-multilingual/assets/lib/simplehtmldom/simple_html_dom.php on line 2071
[01-Aug-2023 16:50:50 UTC] PHP Fatal error: Unknown: Cannot use output buffering in output buffering display handlers in Unknown on line 0
[ Please do not bump. ]The page I need help with: [log in to see the link]
- The topic ‘PHP Fatal error: Out of memory’ is closed to new replies.