• Hey all,

    I’ve recently been getting the following error message where my Special Recent Posts widget should be appearing:

    Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 40800 bytes) in /home/sarahioa/public_html/wordpress/wp-content/plugins/special-recent-posts/lib/phpthumb/GdThumb.inc.php on line 111

    Any ideas what I need to do to fix? It was working fine until yesterday so not sure what went wrong. The only thing I’ve been doing on the site is adding posts.

    https://www.ads-software.com/extend/plugins/special-recent-posts/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Go to your wp-config.php and put the following code in that page. Thanks.

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

    Thread Starter imnikkilee

    (@imnikkilee)

    Thanks for the quick response!

    I had actually tried that already before posting my original question and it had’t worked. I just tried it again just in case, but I’m still getting the same fatal error.

    Any other ideas?

    In case this extra info helps…
    I’m currently filtering 3 categories into the Special Recent Posts widget. Let’s say they have IDs 1, 2, and 3. When I take out category 3 from the filtering list (leaving 1 and 2), the fatal error goes away. If I add category 3 back in but take out 2 (leaving 1 and 3) the fatal error is back. So something’s going on with the one particular category, not the amount of categories I’m using.
    Again, I don’t know if that helps but it’s just something I noticed when playing around.

    If there’s any other info I could provide, let me know. I’d love to sort this out.

    Thanks so much for your help!

    Hi,

    Where did you put the widget? Is it in the sidebar or in a template? Mine works properly in the index.php. Anyway, I’m glad that you had solved the first problem out. ??

    Thread Starter imnikkilee

    (@imnikkilee)

    Hi again,
    I’m using it in a widget, not a template. Think that makes a difference?

    Can I see your site? Give me the url, here.

    Plugin Author Luca Grandicelli

    (@lgrandicelli)

    Hello imnikkilee,
    That errors comes out when the plugin tries to manipulate an image which weight is definetely too high. So please, check your posts one by one trying to find the alleged one.

    @ romanpicisan
    thankyou – your suggestion worked for me

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Fatal Error: Allowed Memory Size Exhausted’ is closed to new replies.