Subscribe to Articles

 

DIYThemes Thesis Theme

Category: Themes Tags: Compatibility, Custom Fields, diythemes, error, images, premium-theme, thesis

Nov 14, 2009

Issue
When using the DIYThemes Thesis theme, you may get an error like the following:

Warning: getimagesize() [function.getimagesize]: failed to open stream: No such file or directory in /home/public_html/wp-content/themes/thesis_151/lib/functions/multimedia_box.php on line 158

Problem
AutoBlogged automatically adds a custom field named image to every post it creates. This field contains the HTML code to display an image, including the IMG tag. The Thesis theme also uses a custom field named image that is uses to display thumbnails in various places. If it sees a custom field on a post named image, it will try to process that as an image path.

The problem is that since the AutoBlogged image field contains HTML, Thesis theme will return an error.

Solution
This issue has been fixed in AutoBlogged v2.6 and later. You can download this release here.

Note, however, that this upgrade will not modify existing posts. Unfortunately the only solution to fixing existing posts is to manually edit the custom field for each post so that it only contains the image URL or delete all AutoBlogged posts and start over the feed processing.


Share:
image image image image image image

Comment Form

Print This Post Print This Post