Forums » Plugin: Yoast SEO » Divi 3.0.75 – Tons of Yoast-related console errors when editing pages

  • Resolved chrisk200

    (@chrisk200)


    Hi there,
    When editing a page (any page) I get this in the console (see below):
    When I deactivate Yoast, it does not occur.
    I also notice that in draft pages only, the Yoast SEO Snippet preview is corrupted. It contains some source code belonging to the page).
    Reproduced with Divi 3.0.71 and Divi 3.0.75 (latest version) local and online.

    Console output:
    wp-seo-post-scraper-540.min.js?ver=5.4:30 Error: unable to tokenize
    at Object.end (wp-seo-post-scraper-540.min.js?ver=5.4:24)
    at j (wp-seo-post-scraper-540.min.js?ver=5.4:39)
    at p (wp-seo-post-scraper-540.min.js?ver=5.4:39)
    at c (wp-seo-post-scraper-540.min.js?ver=5.4:23)
    at d (wp-seo-post-scraper-540.min.js?ver=5.4:21)
    at d (wp-seo-post-scraper-540.min.js?ver=5.4:23)
    at d (wp-seo-post-scraper-540.min.js?ver=5.4:22)
    at b.exports (wp-seo-post-scraper-540.min.js?ver=5.4:39)
    at Object.b.exports [as passiveVoice] (wp-seo-post-scraper-540.min.js?ver=5.4:36)
    at K.getResearch (wp-seo-post-scraper-540.min.js?ver=5.4:30)
    d @ wp-seo-post-scraper-540.min.js?ver=5.4:30
    p.executeAssessment @ wp-seo-post-scraper-540.min.js?ver=5.4:27
    d @ wp-seo-post-scraper-540.min.js?ver=5.4:21
    d @ wp-seo-post-scraper-540.min.js?ver=5.4:23
    p.assess @ wp-seo-post-scraper-540.min.js?ver=5.4:27
    B.runContentAnalysis @ wp-seo-post-scraper-540.min.js?ver=5.4:25
    B.runAnalyzer @ wp-seo-post-scraper-540.min.js?ver=5.4:25
    B._pureRefresh @ wp-seo-post-scraper-540.min.js?ver=5.4:25
    d @ wp-seo-post-scraper-540.min.js?ver=5.4:22
    o @ wp-seo-post-scraper-540.min.js?ver=5.4:22
    n @ wp-seo-post-scraper-540.min.js?ver=5.4:22
    setTimeout (async)
    k @ wp-seo-post-scraper-540.min.js?ver=5.4:22
    r @ wp-seo-post-scraper-540.min.js?ver=5.4:22
    B.refresh @ wp-seo-post-scraper-540.min.js?ver=5.4:25
    d @ wp-seo-post-scraper-540.min.js?ver=5.4:22
    o @ wp-seo-post-scraper-540.min.js?ver=5.4:22
    n @ wp-seo-post-scraper-540.min.js?ver=5.4:22
    setTimeout (async)
    k @ wp-seo-post-scraper-540.min.js?ver=5.4:22
    r @ wp-seo-post-scraper-540.min.js?ver=5.4:22
    k._reloaded @ wp-seo-post-scraper-540.min.js?ver=5.4:30
    B.pluginReloaded @ wp-seo-post-scraper-540.min.js?ver=5.4:25
    success @ builder.js?ver=3.0.75:8464
    i @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-position,jquery-ui-menu,wp-a11y,jquery-ui-autocomplet&load[]=e,plupload,jquery-ui-tabs,jquery-form&ver=4.8.1:2
    fireWith @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-position,jquery-ui-menu,wp-a11y,jquery-ui-autocomplet&load[]=e,plupload,jquery-ui-tabs,jquery-form&ver=4.8.1:2
    y @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-position,jquery-ui-menu,wp-a11y,jquery-ui-autocomplet&load[]=e,plupload,jquery-ui-tabs,jquery-form&ver=4.8.1:4
    c @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-position,jquery-ui-menu,wp-a11y,jquery-ui-autocomplet&load[]=e,plupload,jquery-ui-tabs,jquery-form&ver=4.8.1:4
    XMLHttpRequest.send (async)
    send @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-position,jquery-ui-menu,wp-a11y,jquery-ui-autocomplet&load[]=e,plupload,jquery-ui-tabs,jquery-form&ver=4.8.1:4
    ajax @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-position,jquery-ui-menu,wp-a11y,jquery-ui-autocomplet&load[]=e,plupload,jquery-ui-tabs,jquery-form&ver=4.8.1:4
    updateYoastContent @ builder.js?ver=3.0.75:8454
    _ @ load-scripts.php?c=1&load[]=hoverIntent,common,admin-bar,heartbeat,autosave,wp-ajax-response,jquery-color,wp-lists,jquery-query,admin-comments,suggest,jquer&load[]=y-ui-mouse,jquery-ui-sortable,postbox,tags-suggest,tags-box,underscore,word-count,post,editor-expand,thickbox,shortcode,backbone&load[]=,wp-util,wp-backbone,media-models,wp-plupload,mediaelement,wp-mediaelement,media-views,media-editor,media-audiovideo,mce-view,im&load[]=gareaselect,image-edit,svg-painter,wp-auth-check,jquery-ui-draggable,jquery-ui-slider,jquery-touch-punch,iris,wp-color-picker&ver=4.8.1:400
    m @ load-scripts.php?c=1&load[]=hoverIntent,common,admin-bar,heartbeat,autosave,wp-ajax-response,jquery-color,wp-lists,jquery-query,admin-comments,suggest,jquer&load[]=y-ui-mouse,jquery-ui-sortable,postbox,tags-suggest,tags-box,underscore,word-count,post,editor-expand,thickbox,shortcode,backbone&load[]=,wp-util,wp-backbone,media-models,wp-plupload,mediaelement,wp-mediaelement,media-views,media-editor,media-audiovideo,mce-view,im&load[]=gareaselect,image-edit,svg-painter,wp-auth-check,jquery-ui-draggable,jquery-ui-slider,jquery-touch-punch,iris,wp-color-picker&ver=4.8.1:400
    f @ load-scripts.php?c=1&load[]=hoverIntent,common,admin-bar,heartbeat,autosave,wp-ajax-response,jquery-color,wp-lists,jquery-query,admin-comments,suggest,jquer&load[]=y-ui-mouse,jquery-ui-sortable,postbox,tags-suggest,tags-box,underscore,word-count,post,editor-expand,thickbox,shortcode,backbone&load[]=,wp-util,wp-backbone,media-models,wp-plupload,mediaelement,wp-mediaelement,media-views,media-editor,media-audiovideo,mce-view,im&load[]=gareaselect,image-edit,svg-painter,wp-auth-check,jquery-ui-draggable,jquery-ui-slider,jquery-touch-punch,iris,wp-color-picker&ver=4.8.1:400
    u.trigger @ load-scripts.php?c=1&load[]=hoverIntent,common,admin-bar,heartbeat,autosave,wp-ajax-response,jquery-color,wp-lists,jquery-query,admin-comments,suggest,jquer&load[]=y-ui-mouse,jquery-ui-sortable,postbox,tags-suggest,tags-box,underscore,word-count,post,editor-expand,thickbox,shortcode,backbone&load[]=,wp-util,wp-backbone,media-models,wp-plupload,mediaelement,wp-mediaelement,media-views,media-editor,media-audiovideo,mce-view,im&load[]=gareaselect,image-edit,svg-painter,wp-auth-check,jquery-ui-draggable,jquery-ui-slider,jquery-touch-punch,iris,wp-color-picker&ver=4.8.1:400
    (anonymous) @ builder.js?ver=3.0.75:7378
    setTimeout (async)
    maybeGenerateInitialLayout @ builder.js?ver=3.0.75:7324
    initialize @ builder.js?ver=3.0.75:6878
    e.View @ load-scripts.php?c=1&load[]=hoverIntent,common,admin-bar,heartbeat,autosave,wp-ajax-response,jquery-color,wp-lists,jquery-query,admin-comments,suggest,jquer&load[]=y-ui-mouse,jquery-ui-sortable,postbox,tags-suggest,tags-box,underscore,word-count,post,editor-expand,thickbox,shortcode,backbone&load[]=,wp-util,wp-backbone,media-models,wp-plupload,mediaelement,wp-mediaelement,media-views,media-editor,media-audiovideo,mce-view,im&load[]=gareaselect,image-edit,svg-painter,wp-auth-check,jquery-ui-draggable,jquery-ui-slider,jquery-touch-punch,iris,wp-color-picker&ver=4.8.1:400
    constructor @ load-scripts.php?c=1&load[]=hoverIntent,common,admin-bar,heartbeat,autosave,wp-ajax-response,jquery-color,wp-lists,jquery-query,admin-comments,suggest,jquer&load[]=y-ui-mouse,jquery-ui-sortable,postbox,tags-suggest,tags-box,underscore,word-count,post,editor-expand,thickbox,shortcode,backbone&load[]=,wp-util,wp-backbone,media-models,wp-plupload,mediaelement,wp-mediaelement,media-views,media-editor,media-audiovideo,mce-view,im&load[]=gareaselect,image-edit,svg-painter,wp-auth-check,jquery-ui-draggable,jquery-ui-slider,jquery-touch-punch,iris,wp-color-picker&ver=4.8.1:403
    n @ load-scripts.php?c=1&load[]=hoverIntent,common,admin-bar,heartbeat,autosave,wp-ajax-response,jquery-color,wp-lists,jquery-query,admin-comments,suggest,jquer&load[]=y-ui-mouse,jquery-ui-sortable,postbox,tags-suggest,tags-box,underscore,word-count,post,editor-expand,thickbox,shortcode,backbone&load[]=,wp-util,wp-backbone,media-models,wp-plupload,mediaelement,wp-mediaelement,media-views,media-editor,media-audiovideo,mce-view,im&load[]=gareaselect,image-edit,svg-painter,wp-auth-check,jquery-ui-draggable,jquery-ui-slider,jquery-touch-punch,iris,wp-color-picker&ver=4.8.1:400
    (anonymous) @ builder.js?ver=3.0.75:9211
    i @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-position,jquery-ui-menu,wp-a11y,jquery-ui-autocomplet&load[]=e,plupload,jquery-ui-tabs,jquery-form&ver=4.8.1:2
    fireWith @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-position,jquery-ui-menu,wp-a11y,jquery-ui-autocomplet&load[]=e,plupload,jquery-ui-tabs,jquery-form&ver=4.8.1:2
    ready @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-position,jquery-ui-menu,wp-a11y,jquery-ui-autocomplet&load[]=e,plupload,jquery-ui-tabs,jquery-form&ver=4.8.1:2
    K @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-position,jquery-ui-menu,wp-a11y,jquery-ui-autocomplet&load[]=e,plupload,jquery-ui-tabs,jquery-form&ver=4.8.1:2

    Looking forward for your feedback,
    Chris

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter chrisk200

    (@chrisk200)

    Issue still there after updating to Yoast Version 5.4.1

    wp-seo-post-scraper-541.min.js?ver=5.4.1:30 Error: unable to tokenize
    at Object.end (wp-seo-post-scraper-541.min.js?ver=5.4.1:24)
    at j (
    etc…

    Chris

    • This reply was modified 6 years, 6 months ago by chrisk200.
    Thread Starter chrisk200

    (@chrisk200)

    I’ve found something that may interest you:

    If found a case that can be reproduced with the Divi code module:

    If you have a line jump (that is replaced by Divi in the DB by <!– [et_pb_line_break_holder] –> ) and if this line jump is inside a style, then it creates the Yoast Error: unable to tokenize

    It is very easy to reproduce:
    Create a new page. Create a section and add a code module. Copy this code below (there is a line jump after .8s) and save. Save the page. then you get the Yoast unable to tokenize errors when editing the page.

    <div id="CLabel" style="-webkit-transition: all .8s;
    font-size: 27px; font-family: 'Open Sans',Arial,sans-serif; width: 0; opacity: 0; padding: 0; height: 29px;"> Get in touch!</div>

    Now if you edit the code module and remove the line jump after 8s to get this:

    <div id="CLabel" style="-webkit-transition: all .8s;font-size: 27px; font-family: 'Open Sans',Arial,sans-serif; width: 0; opacity: 0; padding: 0; height: 29px;"> Get in touch!</div>

    The problem disappears.

    Using Search Replace DB, I did a replace of all occurrences of <!– [et_pb_line_break_holder] –> by a space in my database and it cleaned up the problem for some my pages but not for all of them.

    I’be double-checked and I have no [et_pb_line_break_holder] left in my db.
    It means there are other similar cases.

    I’ve also posted this report at Divi.
    I strongly suggest you get in touch with them on this.

    Chris

    Thread Starter chrisk200

    (@chrisk200)

    Hi Chris,

    Thanks for the information. We see you have added a comment here: https://github.com/Yoast/YoastSEO.js/issues/840. We understand the issue is still open, however, our developers are aware of it and it has been marked as a future release.

    Please know that tickets go into a queue and some may have more priority than others. That is not to say the issue won’t be solved, it is only to say that it may take longer.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Divi 3.0.75 – Tons of Yoast-related console errors when editing pages’ is closed to new replies.