• Resolved ludwigkeck

    (@ludwigkeck)


    Strange error messages occur on Dashboard. I don’t recall seeing these prior to latest update.

    I have edited out some of the location string (replaced with …)

    This message occurs multiple times (hard to catch, more that a dozen times):

    Notice: Undefined property: stdClass::$post_status in /.../wp-admin/includes/misc.php on line 1433

    Followed by this:

    Warning: Cannot modify header information - headers already sent by (output started at /.../wp-admin/includes/misc.php:1433) in /.../wp-admin/admin-header.php on line 9

    I have not noticed any functional problems.

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Oliver Campion

    (@domainsupport)

    Hmm, we are not seeing this on any of our test or live sites … can you please disable all plugins and re-enable them one by one to see if you can identify which plugin is causing the issue? Please also confirm that you are not using a child theme or modified parent theme?

    NB: The second error is caused by the first, so fixing the first one will clear the second.

    Thanks,

    Oliver

    Thread Starter ludwigkeck

    (@ludwigkeck)

    Well good news for you. The error messages continue when the Options… plugin is deactivated. They go away when Jetpack is deactivated, and come back when it is activated.

    I do not use a child theme nor have I modified 2021. I removed all additional CSS.

    The only other plugin that is active is WordFence – I am reluctant to disable that as I get a lot of hacker traffic.

    I will reinstall 2021 and Jetpack and see if it clears up.

    Thread Starter ludwigkeck

    (@ludwigkeck)

    Error messages continue after 2021 reinstall. I looked into misc.php and found the function that contains $page->post_status. It appends ” (Draft)” to the page title if the page is in draft status. Nothing I need. I trust whoever is concerned about that will fix it in due time. It does no damage, merely annoys.

    Plugin Author Oliver Campion

    (@domainsupport)

    OK, I’m going to mark this as resolved as it seems not to be related to the plugin. If the issue persists then you might want to raise it with the Jetpack support forum?

    As an aside, the function _wp_privacy_settings_filter_draft_page_titles() that causes the error is used by a core filter hook “list_pages”. For this function to be passed a page that doesn’t have a post_status property suggests that somehow you have a page in your database that doesn’t have a Post Status.

    Not really sure how that can be but when you go to “Dashboard – Pages” are there any in there that don’t have a status?

    Just a thought.

    Oliver

    Thread Starter ludwigkeck

    (@ludwigkeck)

    Thank you Oliver,

    It is a fascinating little problem. It only occurs when Jetpack is activated. The error messages flash by when clicking certain links in Appearance. They flash by when going to Customize, Background, and Edit CSS. The messages stay on screen when going to Widgets – the normal widgets screen is below the error messages and functions normally.

    There are 24 pages on this site, 22 active, 2 in draft. The first error message appears 22 times. One might conclude that the problem is with active pages.

    Before taking this to the Jetpack forum I will see if it happens on any of my other sites running 2021. If I find out anything interesting, I will share it with you.

    Thank you for your support and your dedication. You are an exceptional professional. My hat is off to you!

    Plugin Author Oliver Campion

    (@domainsupport)

    Thank you!

    Due the to the sheer quantity of websites (5 million!) that use Jetpack, it is extremely unlikely that Jetpack is causing the issue.

    I would turn all plugins off except Jetpack and see if the problem persists (I suspect that it won’t). Then I would activate plugins one by one to see which one breaks Jetpack.

    If the issue persists with only Jetpack activated, please activate a different theme (like Twenty Twenty) and that will let you know if it’s the theme that is causing the issue.

    Let me know what you find.

    Oliver

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Error messages – header related?’ is closed to new replies.