Support » Plugin: Yoast SEO » Cannot Edit in Text Mode

  • Resolved Alain Aubry


    I have WP 4.9.10 and Yoast 9.7.
    I cannot edit in text (html) mode, only in visual mode.
    I have the error:

    Uncaught TypeError: Cannot read property 'getCurrentPost' of undefined
        at (notice.js:26)
        at wp-data-970.min.js:1
        at Array.forEach (<anonymous>)
        at f (wp-data-970.min.js:1)
        at wp-data-970.min.js:1
        at h (wp-data-970.min.js:1)
        at wp-data-970.min.js:1
        at Object.dispatch (wp-data-970.min.js:1)
        at wp-seo-post-scraper-970.min.js:1
        at analysis-970.min.js:10

    I de-activate your plugin and everything goes back to normal.
    I tried this in 2 different sites with the same versions.

Viewing 3 replies - 1 through 3 (of 3 total)
  • I also have OneSignal 1.16.16, “notice.js” is theirs, all other files mentioned are yours. I reverted OneSignal back to 1.3 and this fixed my problem. It is not possible to download any OneSignal version between 1.30 and 1.6.16.

    I placed a support ticket for them at:




    I have to Deactive Yoast SEO to fix it.

    Ted Slater


    Turns out it’s a conflict between Yoast and OneSignal. If you revert OneSignal back a few releases, things will start working again.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Cannot Edit in Text Mode’ is closed to new replies.