Tagged: x
-
AuthorPosts
-
December 6, 2016 at 10:32 pm #1284055
Nilesh LParticipantUpdate 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?
December 7, 2016 at 1:51 am #1284191
RupokMemberHi there,
Can you enable WP_DEBUG mode? You can do this by opening
wp-config.phpand 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.
December 7, 2016 at 11:05 am #1284814
Nilesh LParticipantI 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 2285December 7, 2016 at 11:13 am #1284824
Nilesh LParticipantfatal 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 2285Does this look WordPress core issue?
@since 4.7.0 Refactored to use WP_Term_Query, and to support any WP_Term_Query arguments.
December 7, 2016 at 12:03 pm #1284890
RupokMemberHi 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.
December 7, 2016 at 10:44 pm #1285608
Nilesh LParticipantI 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 1174What may be originating this?
December 7, 2016 at 10:47 pm #1285613
Nilesh LParticipantWhen 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 1174December 8, 2016 at 12:08 am #1285689
Nilesh LParticipantmoar 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 2285December 8, 2016 at 12:31 am #1285717
Paul RModeratorHi,
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 credentialsDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
December 8, 2016 at 12:37 am #1285722
Nilesh LParticipantThis 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.
December 8, 2016 at 1:45 am #1285752
RadModeratorPlease let us know when ready 🙂 Thanks!
December 8, 2016 at 3:10 pm #1286551
Nilesh LParticipantThis reply has been marked as private.December 8, 2016 at 3:16 pm #1286560
Nilesh LParticipantThis reply has been marked as private.December 8, 2016 at 3:23 pm #1286569
Nilesh LParticipantI do not mind it you accidentally destroy this staging site.
December 8, 2016 at 8:02 pm #1286916
RadModeratorHi 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!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1284055 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
