• Resolved prkirby

    (@prkirby)


    Hello!

    Having some JS errors with Yoast after recent updates. When on an Edit Product or Edit post page in the backend,(This is a WooCommerce build btw) I’m getting these errors in the console. The JS load errors are breaking product editing functionality so I have to disable the plugin for the time being. I am on WP v4.9.8 & Yoast v9.1

    Please advise, I’d love to get the plugin back running as soon as possible. If it was not clear, the errors go away when Yoast is disabled.

    components-910.min.js?ver=9.1:26 Uncaught TypeError: Cannot read property 'p' of undefined
        at Object.<anonymous> (components-910.min.js?ver=9.1:26)
        at t (commons-910.min.js?ver=9.1:1)
        at Object.<anonymous> (components-910.min.js?ver=9.1:26)
        at t (commons-910.min.js?ver=9.1:1)
        at Object.<anonymous> (components-910.min.js?ver=9.1:26)
        at t (commons-910.min.js?ver=9.1:1)
        at window.yoastWebpackJsonp (commons-910.min.js?ver=9.1:1)
        at components-910.min.js?ver=9.1:1
    (anonymous) @ components-910.min.js?ver=9.1:26
    t @ commons-910.min.js?ver=9.1:1
    (anonymous) @ components-910.min.js?ver=9.1:26
    t @ commons-910.min.js?ver=9.1:1
    (anonymous) @ components-910.min.js?ver=9.1:26
    t @ commons-910.min.js?ver=9.1:1
    window.yoastWebpackJsonp @ commons-910.min.js?ver=9.1:1
    (anonymous) @ components-910.min.js?ver=9.1:1
    wp-seo-post-scraper-910.min.js?ver=9.1:1 Uncaught TypeError: Cannot read property 'analysis' of undefined
        at Object.<anonymous> (wp-seo-post-scraper-910.min.js?ver=9.1:1)
        at t (commons-910.min.js?ver=9.1:1)
        at Object.<anonymous> (wp-seo-post-scraper-910.min.js?ver=9.1:1)
        at Object.<anonymous> (wp-seo-post-scraper-910.min.js?ver=9.1:1)
        at t (commons-910.min.js?ver=9.1:1)
        at Object.<anonymous> (wp-seo-post-scraper-910.min.js?ver=9.1:1)
        at t (commons-910.min.js?ver=9.1:1)
        at window.yoastWebpackJsonp (commons-910.min.js?ver=9.1:1)
        at wp-seo-post-scraper-910.min.js?ver=9.1:1
    (anonymous) @ wp-seo-post-scraper-910.min.js?ver=9.1:1
    t @ commons-910.min.js?ver=9.1:1
    (anonymous) @ wp-seo-post-scraper-910.min.js?ver=9.1:1
    (anonymous) @ wp-seo-post-scraper-910.min.js?ver=9.1:1
    t @ commons-910.min.js?ver=9.1:1
    (anonymous) @ wp-seo-post-scraper-910.min.js?ver=9.1:1
    t @ commons-910.min.js?ver=9.1:1
    window.yoastWebpackJsonp @ commons-910.min.js?ver=9.1:1
    (anonymous) @ wp-seo-post-scraper-910.min.js?ver=9.1:1
    wp-seo-modal-910.min.js?ver=9.1:1 Uncaught TypeError: Cannot read property 'button' of undefined
        at Object.899 (wp-seo-modal-910.min.js?ver=9.1:1)
        at t (commons-910.min.js?ver=9.1:1)
        at Object.1621 (wp-seo-modal-910.min.js?ver=9.1:1)
        at t (commons-910.min.js?ver=9.1:1)
        at Object.1620 (wp-seo-modal-910.min.js?ver=9.1:1)
        at t (commons-910.min.js?ver=9.1:1)
        at window.yoastWebpackJsonp (commons-910.min.js?ver=9.1:1)
        at wp-seo-modal-910.min.js?ver=9.1:1
    899 @ wp-seo-modal-910.min.js?ver=9.1:1
    t @ commons-910.min.js?ver=9.1:1
    1621 @ wp-seo-modal-910.min.js?ver=9.1:1
    t @ commons-910.min.js?ver=9.1:1
    1620 @ wp-seo-modal-910.min.js?ver=9.1:1
    t @ commons-910.min.js?ver=9.1:1
    window.yoastWebpackJsonp @ commons-910.min.js?ver=9.1:1
    (anonymous) @ wp-seo-modal-910.min.js?ver=9.1:1
    commons-910.min.js?ver=9.1:9 TypeError: Cannot read property 'HelpCenter' of undefined
        at e.value (wp-seo-help-center-910.min.js?ver=9.1:1)
        at f (commons-910.min.js?ver=9.1:9)
        at beginWork (commons-910.min.js?ver=9.1:9)
        at a (commons-910.min.js?ver=9.1:9)
        at i (commons-910.min.js?ver=9.1:9)
        at C (commons-910.min.js?ver=9.1:9)
        at v (commons-910.min.js?ver=9.1:9)
        at y (commons-910.min.js?ver=9.1:9)
        at h (commons-910.min.js?ver=9.1:9)
        at s (commons-910.min.js?ver=9.1:9)
    kt @ commons-910.min.js?ver=9.1:9
    commitErrorLogging @ commons-910.min.js?ver=9.1:9
    x @ commons-910.min.js?ver=9.1:9
    C @ commons-910.min.js?ver=9.1:9
    v @ commons-910.min.js?ver=9.1:9
    y @ commons-910.min.js?ver=9.1:9
    h @ commons-910.min.js?ver=9.1:9
    s @ commons-910.min.js?ver=9.1:9
    t @ commons-910.min.js?ver=9.1:9
    updateContainer @ commons-910.min.js?ver=9.1:9
    nn.render @ commons-910.min.js?ver=9.1:17
    (anonymous) @ commons-910.min.js?ver=9.1:9
    unbatchedUpdates @ commons-910.min.js?ver=9.1:9
    ln @ commons-910.min.js?ver=9.1:9
    render @ commons-910.min.js?ver=9.1:17
    1612 @ wp-seo-help-center-910.min.js?ver=9.1:1
    t @ commons-910.min.js?ver=9.1:1
    window.yoastWebpackJsonp @ commons-910.min.js?ver=9.1:1
    (anonymous) @ wp-seo-help-center-910.min.js?ver=9.1:1
    commons-910.min.js?ver=9.1:9 Uncaught TypeError: Cannot read property 'HelpCenter' of undefined
        at e.value (wp-seo-help-center-910.min.js?ver=9.1:1)
        at f (commons-910.min.js?ver=9.1:9)
        at beginWork (commons-910.min.js?ver=9.1:9)
        at a (commons-910.min.js?ver=9.1:9)
        at i (commons-910.min.js?ver=9.1:9)
        at C (commons-910.min.js?ver=9.1:9)
        at v (commons-910.min.js?ver=9.1:9)
        at y (commons-910.min.js?ver=9.1:9)
        at h (commons-910.min.js?ver=9.1:9)
        at s (commons-910.min.js?ver=9.1:9)
    value @ wp-seo-help-center-910.min.js?ver=9.1:1
    f @ commons-910.min.js?ver=9.1:9
    beginWork @ commons-910.min.js?ver=9.1:9
    a @ commons-910.min.js?ver=9.1:9
    i @ commons-910.min.js?ver=9.1:9
    C @ commons-910.min.js?ver=9.1:9
    v @ commons-910.min.js?ver=9.1:9
    y @ commons-910.min.js?ver=9.1:9
    h @ commons-910.min.js?ver=9.1:9
    s @ commons-910.min.js?ver=9.1:9
    t @ commons-910.min.js?ver=9.1:9
    updateContainer @ commons-910.min.js?ver=9.1:9
    nn.render @ commons-910.min.js?ver=9.1:17
    (anonymous) @ commons-910.min.js?ver=9.1:9
    unbatchedUpdates @ commons-910.min.js?ver=9.1:9
    ln @ commons-910.min.js?ver=9.1:9
    render @ commons-910.min.js?ver=9.1:17
    1612 @ wp-seo-help-center-910.min.js?ver=9.1:1
    t @ commons-910.min.js?ver=9.1:1
    window.yoastWebpackJsonp @ commons-910.min.js?ver=9.1:1
    (anonymous) @ wp-seo-help-center-910.min.js?ver=9.1:1
    yoast-seo.js?ver=1.2.5.5:22 Uncaught ReferenceError: YoastSEO is not defined
        at Object.init (yoast-seo.js?ver=1.2.5.5:22)
        at HTMLDocument.<anonymous> (yoast-seo.js?ver=1.2.5.5:75)
        at i (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,quicktags,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,underscore,backbon&load[]=e,wp-util,wp-backbone,media-models,moxiejs,plupload,wp-plupload&ver=4.9.8:2)
        at Object.fireWith [as resolveWith] (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,quicktags,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,underscore,backbon&load[]=e,wp-util,wp-backbone,media-models,moxiejs,plupload,wp-plupload&ver=4.9.8:2)
        at Function.ready (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,quicktags,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,underscore,backbon&load[]=e,wp-util,wp-backbone,media-models,moxiejs,plupload,wp-plupload&ver=4.9.8:2)
        at HTMLDocument.K (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,quicktags,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,underscore,backbon&load[]=e,wp-util,wp-backbone,media-models,moxiejs,plupload,wp-plupload&ver=4.9.8:2)

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Seeing this same issue on multiple sites as well.

    @pkriby are you using Mesh on those sites? Our team thinks there might be a compatibility issue between the 2, We’re gonna open up a ticket. You can probably close this one

    Thread Starter prkirby

    (@prkirby)

    @aware I am using Mesh, however, its not enabled for products if that helps at all. I can check the ticket, do you want me to post my console log?

    Thanks @prkirby. Nah no need to post the console, we’re able to replicate but haven’t found the cause just yet.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Uncaught ReferenceError: YoastSEO is not defined’ is closed to new replies.