• I have a new theme that I’m trying out that is using breadcrumbs without a plugin and I think its causing this issue when trying to call a custom post type post.
    Catchable fatal error: Object of class WP_Error could not be converted to string in ..../html/home/wp-content/themes/***/lib/custom.lib.php on line 157

    So the issue here that I’m having is…is this the issue or am I not doing something right? I’ve duplicated the single.php for the “projects” custom type to single-projects.php and created a page named Projects.

    I have also created a dummy article that gave me the above code when I tried to view it. Also, I have to type in the address, as its not showing on the created Projects page.

    I’m sure I’m not doing something right here.

The topic ‘Issue with custom posts in new theme’ is closed to new replies.