• Resolved munzee

    (@munzee)


    The wordpress error email states the following:

    WordPress version 6.4.2
    Active theme: Astra Child (version 1.0.0)
    Current plugin: LiteSpeed Cache (version 6.0.0.1)
    PHP version 8.1.22

    Error Details
    =============
    An error of type E_ERROR was caused in line 736 of the file /home/shopbeon/domains/…/plugins/litespeed-cache/src/object.lib.php. Error message: Allowed memory size of 268435456 bytes exhausted (tried to allocate 2662400 bytes)

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support qtwrk

    (@qtwrk)

    as the error message suggests, please try raise the PHP memory_limit

    Thread Starter munzee

    (@munzee)

    Please be so kind to advise how to raise the PHP memory_limit? And what value should it be set to preferably.

    Thank you in advance

    Thread Starter munzee

    (@munzee)

    Also note that this error only occurs when the litespeed cache plugin is activated

    • This reply was modified 10 months, 3 weeks ago by munzee.
    Plugin Support qtwrk

    (@qtwrk)

    define('WP_MEMORY_LIMIT', '4096M');
    define('WP_MAX_MEMORY_LIMIT', '4096M');

    you can add something like this to your wp-config.php

    or

    php_value memory_limit 4096M

    in .htaccess

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Critical error when trying to edit pages’ is closed to new replies.