• Resolved Carlos Faria

    (@frendeliko)


    Yoast SEO 19.9
    The Events Calendar 6.0.2

    I get these notices from TEC when wpseo is active:

    Deprecated: File /plugins/the-events-calendar/src/deprecated/Tribe__Events__Template__Month php is deprecated since version 6.0.0 with no alternative available

    Deprecated: Function Tribe__Events__Template__Month::calculate_first_cell_date is deprecated since version 6.0.0 with no alternative available

    Deprecated: Function Tribe__Events__Template__Month::calculate_final_cell_date is deprecated since version 6.0.0 with no alternative available

    Seems that wordpress-seo/src/generators/schema/third-party/events-calendar-schema.php is not compatible with last TEC version.

Viewing 5 replies - 1 through 5 (of 5 total)
  • I got the same errors. Did you find a solution?

    Thread Starter Carlos Faria

    (@frendeliko)

    Not yet,

    as long as this PR is not accepted nor implemented: https://github.com/Yoast/wordpress-seo/pull/19106

    ??

    Ah thanks for the link.

    /i

    Thread Starter Carlos Faria

    (@frendeliko)

    Using this code from TEC resolves the problem:

    if ( function_exists( ‘YoastSEO’ ) && defined( ‘WPSEO_VERSION’ ) ) {
    add_action( ‘init’, static function() {
    $tec_integration = YoastSEO()->classes->get( ‘Yoast\\WP\\SEO\\Integrations\\Third_Party\\The_Events_Calendar’ );
    \remove_filter( ‘wpseo_schema_graph_pieces’, [ $tec_integration, ‘add_graph_pieces’ ], 11 );
    } );
    }

    The integration will be removed from Yoast SEO as Joost de Valk said in the PR.

    Plugin Support devnihil

    (@devnihil)

    @frendeliko Thanks for posting that solution.

    Regarding the update to the plugin, we’d recommend monitoring the GitHub page for updates on when it’s implemented.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘The Events Calendar 6.0+ conflict’ is closed to new replies.