Forum has been created to help all our customers in properly working our theme. We offer complete help with configuration theme and make default look, just like on our Brandon demo. We don`t offer theme customization.

Before creating a new discussion, please:
1. Check on forum if discussion hasn`t been created before. Use the forum Search on the right.
2. Read carefully the documentation included to package.
If you didn`t find what you need and would like to post a new question click the "Start a New Discussion" button on the right.
4. You can post on forum only after registration (you need purchase code to register) .

NOTE!!! If you are starting a new topic and have got problems with your site and you want us to check what`s wrong please always give url to your site because without that we can`t check what`s wrong. Each case may be different because of your installed plugins, servers or other things.

Blog post page : WP_Errror could not be converted to string
  • Hi,

    We have been trying to set up a blog page with posts.

    The blog page showing the summary of the posts works correctly.

    However when going on any specific post only the title is shown and we encounter the following error :

    Catchable fatal error: Object of class WP_Error could not be converted to string in /home/clients/d5b7f0fd779d2d3d23cc1e8bdda18d75/web/wordpress/wp-content/themes/brandon/functions/theme-functions.php on line 316

    The "theme-functions.php" file content for this line is :

    311        // Blog post   
    312        } else {
    313            $cat = get_the_category();
    314            $cat = $cat[0];
    315            echo '<li>';
    316                echo get_category_parents($cat, TRUE, ' <span>/</span>');
    317            echo '</li>';
    318            echo '<li><a href="' . curPageURL() . '">'. wp_title( '',false ) .'</a></li>';
    319        }

    Could you please help us with this issue ?

    Thank you.
  • 5 Comments sorted by
  • We updated the theme to the 1.9.7 version. 

    Now, we no longer have a Message Error on the page.

    However, there is no content showing on the article page. Neither text, nor images. 

    How can we fix it ? 

    Thank you
  • We put the new version in a new folder so no problem with the files of the previous version interfering.
    Here is the list of installed plugins :
    • 3D FlipBook - Light Edition
    • Akismet Anti-Spam
    • BackWpup
    • Contact Form 7
    • Duplicate Post
    • GA Google Analytics
    • Mailjet for Wordpress
    • Really Simple CAPTCHA
    • Redirection
    • Revolution Slider
    • WP Mail SMTP
    • WP Maintenance
    • WPML Multilingual CMS
    • Yoast SEO