Support » Themes and Templates » Path » Catchable fatal error

Catchable fatal error

  • Hi,

    I’ve added a custom post type to this theme and have created various categories for them. When I try and use the Categories widget, I get this message on the page where it should show up:


    Catchable fatal error: Object of class WP_Error could not be converted to string in /home/content/47/8650547/html/istudyenglishonline/wp-includes/formatting.php on line 2583

    I don’t really know much about CSS, so don’t want to play around too much. I have Path’s child theme installed and my site is http://istudyenglishonline.com/

    Any help would be greatly appreciated.

Viewing 10 replies - 1 through 10 (of 10 total)
  • Moderator t-p


    Volunteer Moderator

    – To rule out any theme-specific issue, try switching to the unedited default Twenty Twelve theme for a moment using the WP dashboard. If you don’t have access to your admin area, you can switch to the default theme by renaming your current theme’s folder in wp-content/themes and adding “-old” to the end of the folder name using via FTP or SFTP or whatever file management application your host provides.

    Thanks for your reply.

    I tried what you suggested and with the Twenty Twelve theme the widget worked in the sense that it displayed the category where I have a post assigned to it (I’ve just assigned one post to one category as a test for now). However, when I clicked on the category name, it said “apologies but there are currently no posts in this category”. So, in summary, changing the theme seemed to fix half the problem.

    Any more help you can provide would be great.

    Theme Author Sami Keijonen



    Is this your custom plugin or public one?

    Hi Sami,

    Are you referring to the Categories plugin? It’s the one that is already installed in WP, without having to add it separately.

    Theme Author Sami Keijonen



    No, I meant how have you enabled your custom post type.

    Ah sorry, this is the plugin that I used: http://wordpress.org/extend/plugins/custom-post-type-ui/

    However, I’ve tried adding some test blogs to the normal blog section and the categories are not working for that either.

    Theme Author Sami Keijonen



    It’s hard to say what is wrong. Have you tried to ask from plugin author?

    I will ask them now to see what they say. As the plugin seemed to work with other themes, I assumed it would be a theme issue.


    Theme Author Sami Keijonen



    It can be theme issue of course. Try this one. It removes theme widgets and original WP widgets come back alive.

    Put this code in child theme functions.php inside setup function.

    remove_theme_support( 'hybrid-core-widgets' );

    I tried that code and as you say it removes the widget entirely. However, when I place another category widget in it’s place, it doesn’t show up. What I’m wanting to do, is have a list of all my categories which when clicked on show a search results page with all the posts in that category.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Catchable fatal error’ is closed to new replies.
Skip to toolbar