• Resolved Remco

    (@rembem)


    I’m having issues with FacetWP when using TEC (6.0.6.1) and Yoast (19.2). The integration of TEC with Yoast is the issue. Without Yoast, all works okay.

    I managed to track it down to the file:

    /src/Events/Integrations/Plugins/WordPress_SEO/Events_Schema.php

    Where in the generate() function is a call to tribe_is_month(). That is true on all pages for some reason. Everything that runs after that is causing issues (filtering not working) on pages with FacetWP.

    Exactly the same issue is mentioned is several issues in the following forum posts, where you wrote that tribe_is_month() is deprecated (which it is not as far as I can see):

    https://www.ads-software.com/support/topic/the-events-calendar-conflict-3/

    https://www.ads-software.com/support/topic/error-after-upgrading-to-wp-6-0/#post-16150539

    I can fix the issues by either removing the whole filter, as mentioned in this post, like this:

    add_action( ‘wp’, ‘remove_yoast_filters’ );
    function remove_yoast_filters() {
      remove_all_filters(‘wpseo_schema_graph_pieces’, false);
    }

    Or by commenting out the offending code, like mentioned in this post.

    Or by forcing ‘tribe_is_month’ to false:

    add_filter( ‘tribe_is_month’, function( $context) {
      return false;
    } );

    Can you please fix this intregration? And why is tribe_is_month() returning true on pages that are not a Month view, and do not even contain tribe_events at all?

Viewing 4 replies - 16 through 19 (of 19 total)
  • Yes, thanks @gugaalves?& TEC team!

    Same situation as @rembem , the issues with FacetWP are resolved and I also tested with The Events Calendar 6.0.7 and Yoast SEO 19.14

    I’m also seeing a recurring error:

    Yoast\WP\SEO\Integrations\Third_Party\The_Events_Calendar is deprecated since version 19.12! wp-content/plugins/wordpress-seo/src/generated/container.php:3967
    Plugin Support Darian

    (@d0153)

    Hi @rembem

    Thanks for your confirmation.

    Regarding the new deprecated error, we have been able to reproduce the problem and have identified a potential fix. Our engineers are working on the solution, though there are some complexities, and it will take some time to craft and validate before release.

    I have added your case to our internal ticket. While we don’t have an ETA at the moment, you’ll get notified once there is an update and fix.

    Best,
    Darian

    ——–

    Internal Bug Ticket Reference:
    BTRIA-1585

    Plugin Support Guga Alves

    (@gugaalves)

    Hey @rembem,

    We’ve just released TEC version 6.0.8, and that release fixes the deprecation message from Yoast SEO (version 19 and lower). We’ve also noticed that earlier this week, Yoast SEO released version 20, and the deprecation notice is also not happening on that version.

    Best regards,

    Guga

    Thread Starter Remco

    (@rembem)

    @gugaalves Can confirm the message is gone with 6.0.8 and Yoast 20. Thank you for fixing this!

Viewing 4 replies - 16 through 19 (of 19 total)
  • The topic ‘TEC, Yoast SEO and FacetWP’ is closed to new replies.