Getimagesize error

I get the following error intermittently when loading a page...

Warning: getimagesize(http://mysite.co.uk/wp-content/themes/rtpanel/img/rtp-logo.jpg) [function.getimagesize]: could not make seekable - http://mysite.co.uk/wp-content/themes/rtpanel/img/rtp-logo.jpg in /var/sites/d/mysite.co.uk/public_html/wp-content/themes/rtpanel/lib/rtp-post-summaries.php on line 395

It only seems to happen about every 20-30 page loads. Any idea on how to fix it?

This could be beacuse allow_url_fopen is not set to true in your php.ini settings. We are coming up with a fix for this soon. For now you could try suppressing the error by putting an ‘@’ before the getimagesize() on line no. 395 of rtp-post-summaries.php

Thanks Joshua. I’ll give it a try and see if it clears the error.