• Resolved jonasojczyk

    (@jonasojczyk)


    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]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Since this looks a lot like a conflict with some other code, the first recommended step is the conflict test (ideally in a staging environment):

    ??Briefly disable all other plugins and enable the default Twenty Twenty theme. Please also disable all add-ons. If this fixes the problem, as it probably will, enable everything one by one, checking each time to see when the problem returns.

    Please let us know when you find the conflict so that we can take a look and see what we can do about it.

    Thread Starter jonasojczyk

    (@jonasojczyk)

    @sdenis

    I’m waiting to test it.

    Plugin Support Alex

    (@alexcozmoslabs)

    We need to take the pulse of this ticket. Is there still an issue?
    In the meantime, I set this ticket as Resolved. You can also change its status back to unresolved and let us know by replying to this topic if your reqeust still needs attention.
    Another option is to let this ticket as it is and open a new one where to mention the issue again and ask for support.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘PHP Fatal error: Out of memory’ is closed to new replies.