Support » Plugin: Yoast SEO » Fatal error

  • Resolved contactoceandigital

    (@contactoceandigital)


    Hi,

    I have the event manager plugin and when I try to access the event category i have the following fatal error:

    Notice: Trying to get property ‘post_date_gmt’ of non-object in /home/lolo5292/insulaire.io/wp-content/plugins/wordpress-seo/frontend/schema/class-schema-webpage.php on line 79

    Fatal error: Uncaught Error: Call to a member function format() on bool in /home/lolo5292/insulaire.io/wp-content/plugins/wordpress-seo/inc/date-helper.php:26 Stack trace: #0 /home/lolo5292/insulaire.io/wp-content/plugins/wordpress-seo/frontend/schema/class-schema-webpage.php(79): Date_Helper->format(NULL) #1 /home/lolo5292/insulaire.io/wp-content/plugins/wordpress-seo/frontend/schema/class-schema.php(96): WPSEO_Schema_WebPage->generate() #2 /home/lolo5292/insulaire.io/wp-includes/class-wp-hook.php(288): WPSEO_Schema->generate(”) #3 /home/lolo5292/insulaire.io/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters(”, Array) #4 /home/lolo5292/insulaire.io/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #5 /home/lolo5292/insulaire.io/wp-content/plugins/wordpress-seo/frontend/schema/class-schema.php(64): do_action(‘wpseo_json_ld’) #6 /home/lolo5292/insulaire.io/wp-includes/class-wp-hook.php(288): WPSEO_Schema->json_ld(”) #7 /home/lolo5292/insulaire.io/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters(O in /home/lolo5292/insulaire.io/wp-content/plugins/wordpress-seo/inc/date-helper.php on line 26

    I have no idea where it comes from.

    I would appreciate some assistance.

    Thanks

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support benvaassen

    (@benvaassen)

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

    This does not resolve the issue for me. I have that version and the top of my pages I”m getting.

    Notice: Trying to get property ‘display_name’ of non-object in /var/www/html/cinescape_media/wp-content/plugins/wordpress-seo/frontend/schema/class-schema-person.php on line 152

    Notice: Trying to get property ‘user_email’ of non-object in /var/www/html/cinescape_media/wp-content/plugins/wordpress-seo/frontend/schema/class-schema-person.php on line 230

    Notice: Trying to get property ‘display_name’ of non-object in /var/www/html/cinescape_media/wp-content/plugins/wordpress-seo/frontend/schema/class-schema-person.php on line 236

    Plugin Support devnihil

    (@devnihil)

    If you recently upgraded to the current version of Yoast SEO, can you please first try clearing your site’s cache to see whether the error message is still present?

    If you clear your cache (server, plugin/theme, browser, or CDN such as Cloudflare) does this resolve the error? If you are not sure how to clear your server cache you should speak with your host provider.

    If the error is still occurring, we would next recommend performing a conflict check to determine whether another plugin or theme is interfering with the Yoast plugin. The fastest way to do this is to deactivate all non-Yoast plugins and switch to a standard theme like Twenty Nineteen. Test this on your development or staging site, if you have one. If not, we recommend using the Health Check & Troubleshooting plugin. This plugin allows you to run a conflict check without affecting normal visitors to your site.As we can imagine that you’re unfamiliar with checking for conflicts, we’d like to point you to a step-by-step guide that will walk you through the process: How to check for plugin conflicts.%fillarea:name=Premium may solve issue template:width=30:height=5%

    Plugin Support amboutwe

    (@amboutwe)

    This thread has been marked as resolved due to a lack of activity.

    You’re always welcome to re-open this topic. Please read this post before opening a new request.

    Thanks for understanding!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Fatal error’ is closed to new replies.