Support » Plugin: Yoast SEO » Conflict with YITH Affiliates

  • Resolved yzmp


    I was having a problem with Yoast SEO metabox not showing correctly its contents on edit post page ( and checked for plugins conflicts as explained by Yoast here:

    So, I installed Health Check, entered Troubleshooting mode and activated only Yoast. The problem wasn’t reproduced. I did that to every plugin I have and the only combination that reproduced the error was the one that had Yoast, WooCommerce and YITH Affiliates plugins activated.

    With this combination of plugins, I’ve found this error on Chrome console (it seems this is causing the error of Yoast metabox not showing its contents):

    Uncaught ReferenceError: yith_wcaf is not defined
        at Function.a.yith_wcaf_set_cookies (yith-wcaf.min.js?ver=5.4:13)
        at HTMLDocument.<anonymous> (yith-wcaf.min.js?ver=5.4:14)
        at i (load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils&ver=5.4:2)
        at Object.fireWith [as resolveWith] (load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils&ver=5.4:2)
        at Function.ready (load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils&ver=5.4:2)
        at HTMLDocument.J (load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils&ver=5.4:2)
    wp-auth-check.min.js?ver=5.4:2 Uncaught TypeError: Cannot read property 'hasClass' of undefined
        at HTMLDocument.<anonymous> (wp-auth-check.min.js?ver=5.4:2)
        at HTMLDocument.dispatch (load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils&ver=5.4:3)
        at HTMLDocument.r.handle (load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils&ver=5.4:3)
        at Object.trigger (load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils&ver=5.4:3)
        at Object.a.event.trigger (load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils&ver=5.4:8)
        at HTMLDocument.<anonymous> (load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils&ver=5.4:3)
        at Function.each (load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils&ver=5.4:2)
        at a.fn.init.each (load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils&ver=5.4:2)
        at a.fn.init.trigger (load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils&ver=5.4:3)
        at Object.<anonymous> (load-scripts.php?c=1&load[chunk_0]=hoverIntent,common,hoverintent-js,admin-bar,heartbeat,wp-url&ver=5.4:11)

    The last time YITH Affiliates was updated was in the beginning of march, but I have posts from other authors after that date with keyword and meta-description defined, what makes me think it’s one of Yoast’s last updates that created this issue.

    Also, this problem happens on edit posts page, but not on edit products.

    Did you know about this issue? Is there something we can do to end it?

    WP version 5.4
    WooCommerce version: 4.0.1
    YITH WooCommerce Affiliates version: 1.7.0
    Yoast SEO: version: 13.5

Viewing 3 replies - 1 through 3 (of 3 total)
  • emserra


    I’ve the same issue, I’ve deactivated Affiliates and Yoast is working… But as you said I think also it’s a Yoast issue because the last update from affiliates was at the beggining of March and the post we created on the 09.03.20, yoast was working…

    Thread Starter yzmp


    YITH WooCommerce Affiliates was updated today to version 1.7.1 and Yoast seems to be working as expected again 😀

    Plugin Support Pcosta88



    We’re working on cleaning up these Yoast SEO support forums in order to keep the overview. Since your issue appears to be resolved, we’ve marked it as such.

    Of course, you’re always welcome to open a new topic. We kindly ask you to read this post ( ) before doing so.


    If you are still experiencing the issue per the forum guidelines, we ask that you please create separate topics for the issues you are experiencing. That way it’s easier to track issues and provide assistance on your specific concerns on your specific site. Plus, you will get your own alerts for the issue rather than someone else’s. You may make a new topic here:


Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Conflict with YITH Affiliates’ is closed to new replies.