Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1148143
    Scot B
    Participant

    Hi, not sure what might be causing this.. initial research seems to point at menus??

    Catchable fatal error: Object of class WP_Error could not be converted to string in /home/zoomingw/public_html/zoomfeet/wp-content/themes/x/framework/views/integrity/_content-post-footer.php on line 13

    any ideas or help please

    https://www.devon.photography/devon-photography-blog/

    #1148148
    Scot B
    Participant

    this is the line that was causing the problem
    <?php echo get_the_tag_list(); ?>

    I have removed it temporarily, but would like to fix the problem please

    #1148393
    Scot B
    Participant

    This problem appears to be a WordPress Core 4.6 issue

    When I run my site on the previous version of wordpress all works well,

    yet when I update to 4.6 and the database updates, I get the error…
    Catchable fatal error: Object of class WP_Error could not be converted to string in /home/zoomingw/public_html/zoomfeet/wp-content/themes/x/framework/views/integrity/_content-post-footer.php on line 13

    also when this error is present, it causes a crash in edit post (when Yoast is active). removing yoast resolves edit post crash but not the original problem

    I have backed out wordpress 4.6 to the previous version and also restored the database prior to database upgrade and the problem disappears

    I suspect therefore that wordpress 4.6 is creating problems in the database

    any help please?

    #1148412
    Jade
    Moderator

    Hi Scot,

    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.

    #1148614
    Scot B
    Participant
    This reply has been marked as private.
    #1149083
    Rue Nel
    Moderator

    Hello There,

    Thanks for providing the information. I have login and it seems that there is an Error 500 in your WP dashboard. It usually means there is a fatal PHP error. Can you please enable WP_DEBUG mode? You can do this by opening wp-config.php and adding
    define( 'WP_DEBUG' , true ); just above /* That's all, stop editing! Happy blogging. */ For example:

    define('WP_DEBUG', true);
    
    /* That's all, stop editing! Happy blogging. */

    And to better assist you with this issue, would you mind providing us the ftp login credentials so we can take a closer look? This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your credentials, we will be happy to assist you with everything.

    To do this, you can make a post with the following info:
    – FTP Hostname
    – FTP Username
    – FTP Password

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

    Thank you.

    #1149411
    Scot B
    Participant
    This reply has been marked as private.
    #1149419
    Scot B
    Participant
    This reply has been marked as private.
    #1149469
    Lely
    Moderator

    Hi Scot,

    I tried to login via FTP, unfortunately it doesn’t work. I am getting the following error:

    530 Login authentication failed
    Error:	Critical error: Could not connect to server -> FOR FILEZILLA
    Access Denied for WinSCP

    Please check.

    #1149473
    Scot B
    Participant
    This reply has been marked as private.
    #1149489
    Rue Nel
    Moderator

    Hello There,

    Thank you for providing the information. After reviewing the issue with the information provided above, I would try checking with your hosting provider on this particular issue as it sounds like something related to your setup is causing this. Typically, this is due server configuration problems (i.e. underpowered, traceroute issues, packet loss, permissions errors, et cetera). Additionally, your host will be able to diagnose things much better due to the fact that they have a more complete view of your account and can work behind the scenes with you. If the problem you are experiencing persists after working with your host, don’t hesitate to let us know and we will be happy to assist you. Any relevant information that you can share with us from your host is also greatly appreciated as it will help us to better ascertain the source of the problem.

    Please let us know how it goes.

    #1149502
    Scot B
    Participant

    strangely my host says its theme related.. I tried that route first

    thanks though, I’ll just not update to WP 5.6

    #1149528
    Rad
    Moderator

    Hi there,

    This file has this code /home/zoomingw/public_html/zoomfeet/wp-content/themes/x/framework/views/integrity/_content-post-footer.php

    <?php
    
    // =============================================================================
    // VIEWS/INTEGRITY/_CONTENT-POST-FOOTER.PHP
    // -----------------------------------------------------------------------------
    // Standard <footer> output for various posts.
    // =============================================================================
    
    ?>
    
    <?php if ( has_tag() ) : ?>
      <footer class="entry-footer cf">
        <?php echo get_the_tag_list(); ?>
      </footer>
    <?php endif; ?>

    Line 13 is the <?php echo get_the_tag_list(); ?> and get_the_tag_list() is a WordPress’s reserved function. Which is part of WordPress core. It’s not the theme that’s throwing the error, but that function built-in to WordPress. Hence yes, the issue might be related to WordPress core files which are specific to its version. Though, I’m not getting that issue on my installation which also means WordPress core files and hosting setup might have something that causing it.

    Thanks!

    #1149557
    Scot B
    Participant

    Thank you for that..

    I did find when I removed that <?php echo get_the_tag_list(); ?> entry, the crash message disappeared

    but not the underlying problem as it also affected the Yoast plugin.

    I do agree with you that these seems to be related to WP 4.6. My host seem to have washed their hands of the problem (not too impressed about that) and it looks like the answer to my problem is to skip this update for now.

    Thank you all for your help with this problem

    #1149565
    Thai
    Moderator

    If you need anything else please let us know.

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