Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1155568
    babyduo
    Participant

    Sorry tried searching but couldn’t find anything in forum, although I’m sure it’s there.

    I use Renew stack. My site auto updated recently but I hadn’t checked anything. Whilst looking tonight I can see my Portfolio items aren’t working properly….
    http://www.wovenwebsites.com/websites/introvert-dog-tog/

    Catchable fatal error: Object of class WP_Error could not be converted to string in /home/XXXXX/public_html/wp-content/themes/x/framework/functions/renew.php on line 54

    #1155571
    babyduo
    Participant

    Should say I have X Version 4.3.4….maybe I need to upgrade?

    #1155629
    babyduo
    Participant

    OK – I’ve updated to the latest version but it’s still a problem.

    I found this in the changelog notes…do I need to do something to help clear this error?

    X Theme 4.5.1 – Notes
    JUNE 1, 2016
    This release of X is a hotfix for issues related to the Renew portfolio page not loading due to a syntax error in the footer.

    #1155638
    Joao
    Moderator

    Hi There,

    Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:

    – Link to your site
    – WordPress Admin username / password
    – FTP credentials

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    Thanks

    Joao

    #1156468
    babyduo
    Participant
    This reply has been marked as private.
    #1156516
    Rad
    Moderator

    Hi there,

    I just checked it and seems like it’s not picking the categories assigned to your portfolio item.

    array(1) { [0]=> object(WP_Error)#4429 (2) { ["errors"]=> array(1) { ["invalid_term"]=> array(1) { [0]=> string(10) "Empty Term" } } ["error_data"]=> array(0) { } } }

    This line return an empty result even though there are existing category on that item since the condition has_term() returns true.

    get_the_terms( get_the_ID(), 'portfolio-category' );

    My guess is that your site has database, object, or transients so I installed Transient Cleaner plugin and your site throws this.

    An external object cache is in use so Transient Cleaner is not required. Please disable the plugin!

    It might be that caches are not synced with your site’s data anymore. Please try contacting your hosting provider and request a way to clear these transient/caches. And please make your caching and optimization plugin disabled temporarily.

    Thanks!

  • <script> jQuery(function($){ $("#no-reply-1155568 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>