Single podpress posts do not display anymore.
-
When I try and open a post with a podPress file attached. I get the following error:
Catchable fatal error: Object of class WP_Error could not be converted to string in /hermes/waloraweb060/b1755/pow.thesheep/htdocs/wp-content/themes/responsive/core/includes/functions.php on line 576
Here is where 576 is (its the
$cats = str_replace('<a', $linkBefore . '<a' . $linkAttr, $cats);line)} elseif ( is_attachment() ) { $parent = get_post($post->post_parent); $cat = get_the_category($parent->ID); $cat = $cat[0]; $cats = get_category_parents($cat, true, $delimiter); $cats = str_replace('<a', $linkBefore . '<a' . $linkAttr, $cats); $cats = str_replace('</a>', '</a>' . $linkAfter, $cats); echo $cats; printf($link, get_permalink($parent), $parent->post_title); if ($showCurrent == 1) echo $delimiter . $before . get_the_title() . $after;
If I take out the following lines from the above, the posts open just fine.$cats = get_category_parents($cat, true, $delimiter); $cats = str_replace('<a', $linkBefore . '<a' . $linkAttr, $cats); $cats = str_replace('</a>', '</a>' . $linkAfter, $cats); echo $cats;Also, the site is http://www.thesheep.ca
The other odd thing is that on the page with posts (http://www.thesheep.ca/bleats/) is the player does not look like 1PixelOut. When viewing a post by itself, it shows just a link, not player at all. I have already posted a question to the Responsive theme people, but because all other posts open (ones without a podpress), perhaps this is an issue with podpress.
Any help would be great. Thanks.
The topic ‘Single podpress posts do not display anymore.’ is closed to new replies.