• Resolved askmeoffers

    (@askmeoffers)


    Hi,

    We are using below yoast seo hook to include empty term in yoast sitemap of type coupon_review intentionally .
    add_filter(‘wpseo_sitemap_exclude_empty_terms’, false, ‘coupon_review’);

    However after upgrading to recent WordPress release we are getting error on activation of yoast SEO

    Steps :

    Add below filter of yoast SEO ( can be of any post type) in local theme function.php file
    add_filter(‘wpseo_sitemap_exclude_empty_terms’, false, ‘coupon_review’);

    Upgrade to recent WordPress release 5.9.2
    Error will be reproduced

    Please resolve this or suggest alternative

    Thank You

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

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Yoast Seo throws error after wordpress update on hook usage’ is closed to new replies.