Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
  • #26790

    I recently uploaded the Enfold theme to my site. It shows up when you go to my site, but if I try to go to the dashboard or make any changes at all, I get this message

    Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 30720 bytes) in /data/20/2/111/5/2763168/user/3037856/htdocs/blog/wp-admin/includes/plugin.php on line 106

    Any ideas? Help please! I love the look of this theme, but want to make it work for my website.



    If you get a php error (or “white screen of death”) please increase the allocated php memory to 128M:

    Best regards,



    Hi Peter,

    I cannot even get to my dashboard to fix this. How can I update it without the dashboard?


    Okay, tried to do it on my end with my host…now it shows this on my website define(‘WP_MAX_MEMORY_LIMIT’, ‘256M’);

    and still won’t let me get past the main front page.



    Increase the memory limit. Edit wp-config.php, add this code.

    define('WP_MEMORY_LIMIT', '128M');

    If that is not working, we suggest to create a new installation of wordpress and configure the php memory limit options right before you activate the Enfold theme.




    Hi kaylakeigley,

    This blog post has a good walk through of the couple of ways to do it:

    However, looking at your site now it seems your host is only allowing 40mb. You will most likely need to contact your host to have it adjusted. That is entirely too low for WordPress and any number of plugins to run smoothly. Add in a theme like Enfold which has a lot of back end additional features and you’ll run into issues.




    Okay, potentially dumb question.

    My host will not increase the PHP, meaning I have to do it myself. Where do I go to put it? I am in my File Manager, but have no clue what folder to put it in or where in a blank page I would insert the text.

    In fact, I tried to insert it somewhere and now it is at the top of my website for all to see saying, “define…’256m'” Which I would like to remove, but don’t know how to find where it is.

    I may have ruined my website……


    If the host isn’t letting you increase it then there isn’t anything you could do on your end to force it. Unless you mean that they wont do it for you and you must do it.

    If they don’t allow it then I would strongly suggest going with any other host just about anywhere. 40mb is simply not enough anymore even if it is the bare minimum wordpress will run on. Some great alternatives that I have used are Dreamhost, Bluehost, MediaTemplate or you can try any of them listed here



    Yes. They won’t do it for me. I have to do it on my own, which is fine. I just have very little experience in coding.



    Please follow this link:

    Look for the part where you need to edit the wp-config.php. Add the code:

    define('WP_MEMORY_LIMIT', '256M');



Viewing 10 posts - 1 through 10 (of 10 total)

The topic ‘Help!’ is closed to new replies.