Yoast / wordpress-seo

Yoast SEO for WordPress
https://yoast.com/wordpress/plugins/seo/
Other
1.78k stars 893 forks source link

Yoast SEO & Events Manager - conflict (video and health check) #8668

Open ArtDbc opened 6 years ago

ArtDbc commented 6 years ago

Please give us a description of what happened.

Hello, When plugin YOAST SEO is activated, the plugin is rewriting the breadcrumb of the Events Manager plugin, and the category titles only when there is an upcoming event. So the category title when their are upcoming shows is rewritten by the name of the last upcoming event recorded. Categories page: https://www.aa-org.com/agenda/genre One of the category page impacted by the conflict: https://www.aa-org.com/agenda/genres/illusions

Please describe what you expected to happen and why.

I wish to view the category name as a title and not the last event as a title. And I wish to view the correct breadcrumb with the agenda / genre / category name

How can we reproduce this behavior?

Have a look to this video : https://www.youtube.com/watch?v=wjVy9__ZUoI&feature=youtu.be

  1. Activate Events Manager plugin (normal, not pro)
  2. create an event and a category
  3. activate yoast seo
  4. check category page

Technical info

benvaassen commented 6 years ago

Thanks for reporting this issue. Unfortunately, I'm not able to reproduce this problem. Therefore, I'm closing this.

Please follow these guidelines to improve your bug report, specifically providing the steps required to reproduce the issue you are experiencing (when I follow the 4 steps provided here, I don't see any breadcrumbs with the default WordPress theme).

Thank you for your understanding.

ArtDbc commented 6 years ago

Hello, I found that there was a third plugin creating the conflict: Jetpack. Disable it and delete it has solved the problem.

Thank you for trying to help.

EDIT: I was in troubleshooting mode... forget about my last message. My problem is not solved, but this is not a priority at the moment.

Best, Arthur

monbauza commented 6 years ago

I have been able to reproduce the problem by following these steps:

  1. Install the Events Manager plugin
  2. Create an upcoming event
  3. Create an event category and assign it to the event
  4. Go to Events > Settings > Pages and change the settings as shown in Image One and Image Two below
  5. Visit the event category page and note that the title of the page shows the name of the upcoming event instead of the category (Image Three)

Note 1: If the event category only has past events, the SEO title corresponds to the category, however, this doesn't seem to be generated by Yoast SEO (Image Four)

Note 2: Several PHP notices and errors appear on the category page

Notice: Trying to get property of non-object in /home/public_html/prueba-subdomain/wp-content/plugins/wordpress-seo/frontend/class-opengraph-image.php on line 340

Notice: Trying to get property of non-object in /home/public_html/wp-includes/link-template.php on line 3630

Notice: Trying to get property of non-object in /home/public_html/wp-includes/link-template.php on line 3632

Notice: Trying to get property of non-object in /home/public_html/wp-includes/link-template.php on line 3634
Notice: Trying to get property of non-object in /home/public_html/wp-includes/post-template.php on line 652
class="-template-default page page-id-12090 logged-in admin-bar no-customize-support group-blog has-header-image page-one-column colors-light">

Catchable fatal error: Argument 1 passed to WPSEO_Admin_Bar_Menu::get_post_focus_keyword() must be an instance of WP_Post, instance of stdClass given, called in /home/public_html/wp-content/plugins/wordpress-seo/inc/class-wpseo-admin-bar-menu.php on line 204 and defined in /home/public_html/wp-content/plugins/wordpress-seo/inc/class-wpseo-admin-bar-menu.php on line 474

Image One

image

Image Two

image

Image Three

image

Image Four

image

Technical info

monbauza commented 6 years ago

Please inform the customer of conversation # 429539 when this conversation has been closed.

ArtDbc commented 6 years ago

Hey, Thanks, this is exactly my problem.

For now, it is not a priority for me to solve the problem (my work is not only building my website, but building shows around and promote it on internet and in real life, so I'm busy, and have only time during July and August, to solve non prior problems)

But I'm happy that someone manage to recreate my problem.

I never notice that archive title for only "PAST EVENTS" (without upcoming events) was wrong. Welldone !!!

It sounds like a conflict between events manager and Yoast? Without Yoast, it works well for me, but I like Yoast plugin, so I rather prefer to keep it, for now!!!

Thanks @monbauza

CarolineGeven commented 6 years ago

Thank you for reporting this issue. We've been able to reproduce this issue and have therefore labeled it as a bug.

emgorman commented 5 years ago

I am having this same issue with Yoast SEO and Events Manager. Only one category page is showing the next single event title as the meta title. The other category pages are fine. Has this been solved?

ArtDbc commented 5 years ago

Hi @emgorman, I still have this conflict too !!! I'm also using the event tags to display a kind of "Artists Archives" on my website, and I've got the same conflict too.

Deactivating YOAST SEO BREADCRUMB do not solve the problem, and it's impossible to give an attribute to the taxonomies and archives pages (which could have potentially solved the problem I guess).

I hope this will be solved soon, as I opened this conversation nearly a year ago, but it may not be so easy to solve, and hopefully @monbauza helped a lot in the description !

ArtDbc commented 5 years ago

Hi @benvaassen @CarolineGeven , Is there any update regarding this "bug"? Thank you. Best