WordPress.org

Ready to get started?Download WordPress

Forums

Path
Catchable fatal error (11 posts)

  1. villarroel
    Member
    Posted 1 year ago #

    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:

    http://istudyenglishonline.com/english-expressions-idioms/

    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.

  2. Tara
    Member
    Posted 1 year ago #

    - 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.

  3. villarroel
    Member
    Posted 1 year ago #

    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.
    Thanks!

  4. Sami Keijonen
    WordPress-asiantuntija
    Theme Author

    Posted 1 year ago #

    Is this your custom plugin or public one?

  5. villarroel
    Member
    Posted 1 year ago #

    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.

  6. Sami Keijonen
    WordPress-asiantuntija
    Theme Author

    Posted 1 year ago #

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

  7. villarroel
    Member
    Posted 1 year ago #

    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.

  8. Sami Keijonen
    WordPress-asiantuntija
    Theme Author

    Posted 1 year ago #

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

  9. villarroel
    Member
    Posted 1 year ago #

    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.

    thanks

  10. Sami Keijonen
    WordPress-asiantuntija
    Theme Author

    Posted 1 year ago #

    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' );
  11. villarroel
    Member
    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.