Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1284055
    Nilesh L
    Participant

    Update post returns blank page after updating WordPress to 4.7. Post still updates but it’s irritating to see a blank after post update.

    What’s the best way to debug this?

    #1284191
    Rupok
    Member

    Hi there,

    Can you 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. */`

    When you revisit the page with the white screen, you should have some error output describing the issue in more detail.

    #1284814
    Nilesh L
    Participant

    I enabled debugging. Updated a page and saw the issue again but this time with these logs.

    What may be causing this?

    
    
    Notice: is_tax was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.) in /var/www/html/wp-includes/functions.php on line 4091
    
    Notice: is_tax was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.) in /var/www/html/wp-includes/functions.php on line 4091
    
    Notice: is_feed was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.) in /var/www/html/wp-includes/functions.php on line 4091
    
    Notice: is_feed was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.) in /var/www/html/wp-includes/functions.php on line 4091
    
    Notice: is_feed was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.) in /var/www/html/wp-includes/functions.php on line 4091
    
    Notice: is_feed was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.) in /var/www/html/wp-includes/functions.php on line 4091
    
    Notice: is_feed was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.) in /var/www/html/wp-includes/functions.php on line 4091
    
    Notice: Object of class WP_Term could not be converted to int in /var/www/html/wp-includes/taxonomy.php on line 2868
    
    Catchable fatal error: Object of class WP_Term could not be converted to string in /var/www/html/wp-includes/taxonomy.php on line 2285
    
    #1284824
    Nilesh L
    Participant

    fatal error seems to be

    
    Catchable fatal error: Object of class WP_Term could not be converted to string in /var/www/html/wp-includes/taxonomy.php on line 2285
    

    Does this look WordPress core issue?

    @since 4.7.0 Refactored to use WP_Term_Query, and to support any WP_Term_Query arguments.

    #1284890
    Rupok
    Member

    Hi there,

    Thanks for writing back. Would you please revert to the older version. As it’s just released, you might face some issue. It would be safe to update after some more days.

    #1285608
    Nilesh L
    Participant

    I see a different error now.

    
    Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/wp-includes/functions.php:3996) in /var/www/html/wp-admin/post.php on line 197
    
    Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/wp-includes/functions.php:3996) in /var/www/html/wp-includes/pluggable.php on line 1174
    

    What may be originating this?

    #1285613
    Nilesh L
    Participant

    When I edit a page and attempt to see a preview, I get a blank page with this error.

    
    Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/wp-includes/functions.php:3996) in /var/www/html/wp-includes/pluggable.php on line 1174
    
    #1285689
    Nilesh L
    Participant

    moar logs.

    
    [08-Dec-2016 06:04:56 UTC] PHP Notice:  Object of class WP_Term could not be converted to int in /var/www/html/wp-admin/includes/template.php on line 209
    [08-Dec-2016 06:04:56 UTC] PHP Notice:  Object of class WP_Term could not be converted to int in /var/www/html/wp-admin/includes/template.php on line 209
    [08-Dec-2016 06:04:56 UTC] PHP Notice:  Object of class WP_Term could not be converted to int in /var/www/html/wp-admin/includes/template.php on line 209
    [08-Dec-2016 06:04:56 UTC] PHP Notice:  Object of class WP_Term could not be converted to int in /var/www/html/wp-admin/includes/template.php on line 209
    [08-Dec-2016 06:04:56 UTC] PHP Notice:  Object of class WP_Term could not be converted to int in /var/www/html/wp-admin/includes/template.php on line 209
    [08-Dec-2016 06:04:56 UTC] PHP Notice:  Object of class WP_Term could not be converted to int in /var/www/html/wp-admin/includes/template.php on line 209
    [08-Dec-2016 06:04:56 UTC] PHP Notice:  Object of class WP_Term could not be converted to int in /var/www/html/wp-admin/includes/template.php on line 209
    [08-Dec-2016 06:04:56 UTC] PHP Notice:  Object of class WP_Term could not be converted to int in /var/www/html/wp-admin/includes/template.php on line 156
    [08-Dec-2016 06:04:56 UTC] PHP Notice:  Object of class WP_Term could not be converted to int in /var/www/html/wp-admin/includes/template.php on line 156
    [08-Dec-2016 06:04:56 UTC] PHP Notice:  Object of class WP_Term could not be converted to int in /var/www/html/wp-admin/includes/template.php on line 156
    [08-Dec-2016 06:04:56 UTC] PHP Notice:  Object of class WP_Term could not be converted to int in /var/www/html/wp-admin/includes/template.php on line 156
    [08-Dec-2016 06:04:56 UTC] PHP Notice:  Object of class WP_Term could not be converted to int in /var/www/html/wp-admin/includes/template.php on line 156
    [08-Dec-2016 06:04:56 UTC] PHP Notice:  Object of class WP_Term could not be converted to int in /var/www/html/wp-admin/includes/template.php on line 156
    [08-Dec-2016 06:04:56 UTC] PHP Notice:  Object of class WP_Term could not be converted to int in /var/www/html/wp-admin/includes/template.php on line 156
    [08-Dec-2016 06:04:56 UTC] PHP Notice:  Object of class WP_Term could not be converted to int in /var/www/html/wp-admin/includes/template.php on line 156
    [08-Dec-2016 06:04:56 UTC] PHP Notice:  Object of class WP_Term could not be converted to int in /var/www/html/wp-admin/includes/template.php on line 156
    [08-Dec-2016 06:04:56 UTC] PHP Notice:  Object of class WP_Term could not be converted to int in /var/www/html/wp-admin/includes/template.php on line 156
    [08-Dec-2016 06:04:56 UTC] PHP Notice:  Object of class WP_Term could not be converted to int in /var/www/html/wp-admin/includes/template.php on line 156
    [08-Dec-2016 06:04:56 UTC] PHP Notice:  Object of class WP_Term could not be converted to int in /var/www/html/wp-admin/includes/template.php on line 156
    [08-Dec-2016 06:04:56 UTC] PHP Notice:  Object of class WP_Term could not be converted to int in /var/www/html/wp-admin/includes/template.php on line 156
    [08-Dec-2016 06:04:56 UTC] PHP Notice:  Object of class WP_Term could not be converted to int in /var/www/html/wp-admin/includes/template.php on line 156
    [08-Dec-2016 06:04:56 UTC] PHP Notice:  Object of class WP_Term could not be converted to int in /var/www/html/wp-admin/includes/template.php on line 156
    [08-Dec-2016 06:04:56 UTC] PHP Notice:  Object of class WP_Term could not be converted to int in /var/www/html/wp-admin/includes/template.php on line 156
    [08-Dec-2016 06:04:56 UTC] PHP Notice:  Object of class WP_Term could not be converted to int in /var/www/html/wp-admin/includes/class-walker-category-checklist.php on line 104
    [08-Dec-2016 06:04:56 UTC] PHP Notice:  Object of class WP_Term could not be converted to int in /var/www/html/wp-admin/includes/class-walker-category-checklist.php on line 104
    [08-Dec-2016 06:04:56 UTC] PHP Notice:  Object of class WP_Term could not be converted to int in /var/www/html/wp-admin/includes/class-walker-category-checklist.php on line 104
    [08-Dec-2016 06:04:56 UTC] PHP Notice:  Object of class WP_Term could not be converted to int in /var/www/html/wp-admin/includes/class-walker-category-checklist.php on line 104
    [08-Dec-2016 06:04:56 UTC] PHP Notice:  Object of class WP_Term could not be converted to int in /var/www/html/wp-admin/includes/class-walker-category-checklist.php on line 104
    [08-Dec-2016 06:04:56 UTC] PHP Notice:  Object of class WP_Term could not be converted to int in /var/www/html/wp-admin/includes/class-walker-category-checklist.php on line 104
    [08-Dec-2016 06:04:56 UTC] PHP Notice:  Object of class WP_Term could not be converted to int in /var/www/html/wp-admin/includes/class-walker-category-checklist.php on line 104
    [08-Dec-2016 06:04:56 UTC] PHP Notice:  Object of class WP_Term could not be converted to int in /var/www/html/wp-admin/includes/class-walker-category-checklist.php on line 104
    [08-Dec-2016 06:04:56 UTC] PHP Notice:  Object of class WP_Term could not be converted to int in /var/www/html/wp-admin/includes/class-walker-category-checklist.php on line 104
    [08-Dec-2016 06:04:56 UTC] PHP Notice:  Object of class WP_Term could not be converted to int in /var/www/html/wp-admin/includes/class-walker-category-checklist.php on line 104
    [08-Dec-2016 06:04:56 UTC] PHP Notice:  Object of class WP_Term could not be converted to int in /var/www/html/wp-admin/includes/class-walker-category-checklist.php on line 104
    [08-Dec-2016 06:04:56 UTC] PHP Notice:  Object of class WP_Term could not be converted to int in /var/www/html/wp-admin/includes/class-walker-category-checklist.php on line 104
    [08-Dec-2016 06:04:56 UTC] PHP Notice:  Object of class WP_Term could not be converted to int in /var/www/html/wp-admin/includes/class-walker-category-checklist.php on line 104
    [08-Dec-2016 06:04:56 UTC] PHP Notice:  Object of class WP_Term could not be converted to int in /var/www/html/wp-admin/includes/class-walker-category-checklist.php on line 104
    [08-Dec-2016 06:04:56 UTC] PHP Notice:  Object of class WP_Term could not be converted to int in /var/www/html/wp-admin/includes/class-walker-category-checklist.php on line 104
    [08-Dec-2016 06:04:56 UTC] PHP Notice:  Object of class WP_Term could not be converted to int in /var/www/html/wp-admin/includes/class-walker-category-checklist.php on line 104
    [08-Dec-2016 06:04:56 UTC] PHP Notice:  wp_kses_js_entities is <strong>deprecated</strong> since version 4.7.0 with no alternative available. in /var/www/html/wp-includes/functions.php on line 3786
    [08-Dec-2016 06:05:19 UTC] PHP Notice:  is_tax was called <strong>incorrectly</strong>. Conditional query tags do not work before the query is run. Before then, they always return false. Please see <a href="https://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.1.0.) in /var/www/html/wp-includes/functions.php on line 4091
    [08-Dec-2016 06:05:19 UTC] PHP Notice:  is_tax was called <strong>incorrectly</strong>. Conditional query tags do not work before the query is run. Before then, they always return false. Please see <a href="https://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.1.0.) in /var/www/html/wp-includes/functions.php on line 4091
    [08-Dec-2016 06:05:19 UTC] PHP Notice:  is_feed was called <strong>incorrectly</strong>. Conditional query tags do not work before the query is run. Before then, they always return false. Please see <a href="https://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.1.0.) in /var/www/html/wp-includes/functions.php on line 4091
    [08-Dec-2016 06:05:19 UTC] PHP Notice:  is_feed was called <strong>incorrectly</strong>. Conditional query tags do not work before the query is run. Before then, they always return false. Please see <a href="https://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.1.0.) in /var/www/html/wp-includes/functions.php on line 4091
    [08-Dec-2016 06:05:19 UTC] PHP Notice:  is_feed was called <strong>incorrectly</strong>. Conditional query tags do not work before the query is run. Before then, they always return false. Please see <a href="https://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.1.0.) in /var/www/html/wp-includes/functions.php on line 4091
    [08-Dec-2016 06:05:19 UTC] PHP Notice:  is_feed was called <strong>incorrectly</strong>. Conditional query tags do not work before the query is run. Before then, they always return false. Please see <a href="https://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.1.0.) in /var/www/html/wp-includes/functions.php on line 4091
    [08-Dec-2016 06:05:19 UTC] PHP Notice:  is_feed was called <strong>incorrectly</strong>. Conditional query tags do not work before the query is run. Before then, they always return false. Please see <a href="https://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.1.0.) in /var/www/html/wp-includes/functions.php on line 4091
    [08-Dec-2016 06:05:20 UTC] PHP Catchable fatal error:  Object of class WP_Term could not be converted to string in /var/www/html/wp-includes/taxonomy.php on line 2285
    
    #1285717
    Paul R
    Moderator

    Hi,

    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.

    #1285722
    Nilesh L
    Participant

    This wordpress is a staging area inside a KVM/libvirt based kubernetes on fedora cluster. Let me setup a replica for you to access from outside. Will take me some time to enable stage access. Thanks.

    #1285752
    Rad
    Moderator

    Please let us know when ready 🙂 Thanks!

    #1286551
    Nilesh L
    Participant
    This reply has been marked as private.
    #1286560
    Nilesh L
    Participant
    This reply has been marked as private.
    #1286569
    Nilesh L
    Participant

    I do not mind it you accidentally destroy this staging site.

    #1286916
    Rad
    Moderator

    Hi there,

    Would you mind providing the exact procedure to reproduce this issue? Video recording should be helpful. I’m adding and updating the post and I can’t see the white/blank page. Maybe I’m doing it differently.

    I also checked the debug log and I don’t see any fatal error.

    Thanks!

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