Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1102639

    I got a fresh license of enfold. After activating this theme and correcting the wellknown code errors, I could no more sign in to wp_admin because I got the message
    Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 332389 bytes) in <my domain>/wp-content/themes/enfold /css/dynamic-css.php on line 985.

    In line 984 to 985 of dynamic-css.php I found the code
    //compress output
    $output = preg_replace(‘/\r|\n|\t/’, ”, $output);

    It seems to cause a deadloop (don’t know why!). I solved the problem by deactivating the css code compression, so now it works:
    //compress output
    // $output = preg_replace(‘/\r|\n|\t/’, ”, $output);

    • This topic was modified 5 years, 7 months ago by Hermandl.
    #1103231

    Hey Hermann,

    Thank you for using Enfold.

    This seems to be a PHP memory limit (67 MB).

    Can you check with your hoster to increase to at least 128MB or higher.

    You also might need to update wp-config.php (see http://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP and also https://docs.woocommerce.com/document/increasing-the-wordpress-memory-limit/)

    Best regards,
    Günter

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.