• Resolved John

    (@jhob)


    Upgraded a WordPress 5.3 site to Yoast 12.6 and am now getting a fatal error on Buddypress user pages on the site.

    The error does not occur if Yoast is disabled. The issue is not present in Yoast 12.5.1 and the site loads fine when downgraded to this.

    [26-Nov-2019 11:35:11 UTC] PHP Fatal error:  Uncaught Error: Call to a member function format() on boolean in /public_html/wp-content/plugins/wordpress-seo/inc/date-helper.php:26
    Stack trace:
    #0 /public_html/wp-content/plugins/wordpress-seo/frontend/schema/class-schema-webpage.php(79): Date_Helper->format(0)
    #1 /public_html/wp-content/plugins/wordpress-seo/frontend/schema/class-schema.php(96): WPSEO_Schema_WebPage->generate()
    #2 /public_html/wp-includes/class-wp-hook.php(288): WPSEO_Schema->generate('')
    #3 /public_html/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters('', Array)
    #4 /public_html/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
    #5 /public_html/wp-content/plugins/wordpress-seo/frontend/schema/class-schema.php(64): do_action('wpseo_json_ld')
    #6 /public_html/wp-includes/class-wp-hook.php(288): WPSEO_Schema->json_ld('')
    #7 /public_html/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters(Object(WPS in /public_html/wp-content/plugins/wordpress-seo/inc/date-helper.php on line 26
Viewing 12 replies - 1 through 12 (of 12 total)
  • benvaassen

    (@benvaassen)

    Hi there @jhob,

    I’m sorry that this happened to you. Thanks for letting us know about this. It might be an unsuccessful upgrade or an issue for which we’re scheduled to release version 12.6.1 of the plugin.

    Version 12.6.1 should hit www.ads-software.com soon, so please keep an eye out for that and see if installing that version solves your issue.

    Thread Starter John

    (@jhob)

    @benvaassen Thanks, will look out for 12.6.1.

    I did replicate the issue after upgrading on two separate sites so unlikely to be an unsuccessful upgrade.

    Mauro Mello

    (@mauromello)

    Same with me. After disabling Yoast SEO it’s working again.

    Lenny1975

    (@lenny1975)

    Yes, same with me. Disable Yoast and all good. But does that mean I just leave Yoast off?

    • This reply was modified 5 years ago by Lenny1975.
    Thread Starter John

    (@jhob)

    @lenny1975 or downgrade to 12.5.1 will also work

    Lenny1975

    (@lenny1975)

    Thanks John. Is there an easy way to downgrade please? This is just such a pain!

    Thread Starter John

    (@jhob)

    @lenny1975 You’ll need to do it manually, so via your FTP client delete the /wp-content/plugins/wordpress-seo/ directory.

    Download 12.5.1 then in WordPress Admin go to Plugins > Add New > Upload and upload the 12.5.1 zip file you downloaded. The plugin will then be installed so just activate it and you should be good to go again.

    Lenny1975

    (@lenny1975)

    Thanks John, very helpful. I went to do this but noticed there was a new version from yoast which I updated and activated. It’s all working fine now (fingers crossed).

    Thanks again

    benvaassen

    (@benvaassen)

    @lenny1975 That’s awesome to hear!

    @jhob and @mauromello We’ve released Yoast SEO 12.6.1 now, can you try it and let us know if that fixes the issue for you?

    kaon68

    (@kaon68)

    fixed on my wordpress too
    Thanks for this quick fix !

    (I don’t understand why my previous replies have desapeared :-/)

    Mauro Mello

    (@mauromello)

    Thanks!! Working fine now! ??

    Plugin Support devnihil

    (@devnihil)

    Thanks for confirming that the update fixed the issue. We are going ahead and marking this issue as resolved, but if you require any further assistance please create a new issue.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Fatal Error on BuddyPress user page after upgrade’ is closed to new replies.