Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1325755

    Hello,

    I am currently running WordPress 5.8.1 and Enfold 4.8.6.5

    When I enable PHP 7.4 on my VPS my site throws the following errors. How can I resolve the error related to Enfold.

    Errors I am receiving with debug mode turned on
    Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 32768 bytes) in /home/mysite/public_html/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-html-helper.php on line 1701

    Any help much appreciated,
    Thanks,
    John O Connor

    #1325756

    Hey John,

    Thanks for contacting us!

    Please contact your hosting provider and ask them to increase PHP memory limit to 256M and that should help :)

    Regards,
    Yigit

    #1325757

    Hello again,

    I have resolved the issue by doing the following.

    I increased the memory limit in wp-includes/default-constants.php

    done a find for
    define( ‘WP_MEMORY_LIMIT’, ’40M’ );
    and replaced with
    define( ‘WP_MEMORY_LIMIT’, ‘256M’ );

    Hope this helps anyone who sees “Allowed memory size bytes exhausted issues when enabling php 7.4

    Thanks,
    John O Connor.

    #1325760

    Hey,

    Glad you figured it out and thanks for sharing your solution :)

    Let us know if you have any other questions and enjoy the rest of your day!

    Best regards,
    Yigit

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Enfold – debug error showing whne upgrade to php 7.4’ is closed to new replies.