Support » Plugin: Special Recent Posts » [Plugin: Special Recent Posts] Occasional PHP fatal error

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Luca Grandicelli


    Thanks Lincoln,
    this bug usually comes out when an invalid image url is passed to the thumbnail-generator engine.
    I’ve noticed that some users has been occasionally experiencing this problem too, so the best that i can do is to have a look at the image url that is being passed.

    To do so, next time this issue occurs, i’ll be grateful if you take note of the image url that is affected by this error.
    It’s quite simple: it will be the one which is not showing at all 🙂

    Thanks, that’s the odd thing though, all my images show up fine, or rather, I think they do the next time another query is made for the images. I think what might be happening is that it’s timing out before it can find and show the image and thus results in an error, and maybe that’s why it only pops up every now and then.

    I’ll keep an eye on it though, hopefully I’ll be able to catch it in time to see what the image url looks like.

    After a while I finally managed to capture this problem while the image wasn’t showing, although it seems to be happening a LOT now for some reason.

    The PHP error is: File is not a valid image: /home/xxx/public_html/wp-content/uploads/ Fatal error</b>: Call to a member function adaptiveResize() on a non-object in /home/xxx/public_html/wp-content/plugins/special-recent-posts/lib/phpimage.php on line 42

    Here’s the broken image link:

    I’ve compared this to the other image links and the only obvious difference I can tell is that the broken one is much shorter. Any help appreciated!

    Plugin Author Luca Grandicelli


    Lincon, this issue should be fixed in v2.0
    At the moment, no patch is expected for version 1.9 because the release of v2.0 is quite imminent.

    Delete Me


    Hope it’s coming soon!

    I have the same problem. First it was fine, and now I’m getting this error every time:

    Image file not found: //files/2011/09/plakat-analizujac-islamofobie-718×1024.jpg
    Fatal error: Call to a member function adaptiveResize() on a non-object in /wp-content/plugins/special-recent-posts/lib/phpimage.php on line 44

    And here’s the image link:×1024.jpg

    Is there some code we could insert that would fix that? I’ll turn thumbs off for now, but I’ll need them soon.

    I have disabled special-recent-posts Plugin but I still get this error in my apache “error.log”: PHP Fatal error: Call to a member function adaptiveResize

    [Thu Dec 01 05:38:29 2011] [error] [client] PHP Fatal error: Call to a member function adaptiveResize() on a non-object in /wp-content/plugins/special-recent-posts/lib/phpimage.php on line 42

    I don´t use this plugin anymore why do I still get this error? Should I delete this plugin, or will it cause more problems by deleting?

    I use Thumbnail function from Plugin: custom-image-sizes
    I don’t understand how to find who is creating this error.. the Thumbnails?

    Thank you for all advices

    Plugin Author Luca Grandicelli


    Uninstall the plugin, via WordPress.

    I had deactivated this plugin via WordPress but it was still spitting out errors in error.log – Now I have deleted this plugin via WordPress and the error is gone 🙂
    But now I wonder about other 70 Plugins which I have installed but they all are deactivated cause I don’t use them right now but soon I will need to combine/edit/improve and make some useful plugins to suite my site and don’t want to search/download again.
    I thought it was safe to “deactivate” plugins but now I should delete everything that I don’t use.
    Do WordPress VERIFY plugins that they offer on WordPress Plugin Download section or can anyone upload anything there which can cause errors even when its deactivated?

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘[Plugin: Special Recent Posts] Occasional PHP fatal error’ is closed to new replies.