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
- The topic ‘Fatal Error on BuddyPress user page after upgrade’ is closed to new replies.