Catchable fatal error
-
Hello everyone
I’ve been trying to research and debug this issue myself with no resolve yet, so I am hoping someone can assist me here.
https://beta.albertacraneservice.com/listings/tadano-tr-280xl/ is my website (linked right to page required). Whenever I click on the image I get this error
Home
Catchable fatal error: Object of class WP_Error could not be converted to string in /****/******/beta.albertacraneservice.com/wp-content/themes/enigma/functions.php on line 235Enigma Theme functions.php line 235 as followed
echo get_category_parents($cat, TRUE, ' ' . $delimiter . ' ');
OF
} elseif (is_attachment()) { $parent = get_post($post->post_parent); $cat = get_the_category($parent->ID); $cat = $cat[0]; echo get_category_parents($cat, TRUE, ' ' . $delimiter . ' '); echo '<li><a href="' . get_permalink($parent) . '">' . $parent->post_title . '</a></li> ' . $delimiter . ' '; echo $before . get_the_title() . $after; }
Enigma Theme, with BePro listings plugin
If I missed anything, let me know
Thank you in advance.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Catchable fatal error’ is closed to new replies.