Title: Cannot Edit in Text Mode
Last modified: March 13, 2019

---

# Cannot Edit in Text Mode

 *  Resolved [Alain Aubry](https://wordpress.org/support/users/caban13/)
 * (@caban13)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/cannot-edit-in-text-mode/)
 * Hi
    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 wp.data.subscribe (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. Thanks

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

 *  Thread Starter [Alain Aubry](https://wordpress.org/support/users/caban13/)
 * (@caban13)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/cannot-edit-in-text-mode/#post-11309947)
 * 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: [https://wordpress.org/support/?post_type=topic&p=11309932](https://wordpress.org/support/?post_type=topic&p=11309932)
 * Thanks
 *  [satashi0123](https://wordpress.org/support/users/satashi0123/)
 * (@satashi0123)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/cannot-edit-in-text-mode/#post-11310820)
 * I have to Deactive Yoast SEO to fix it.
 *  [Ted Slater](https://wordpress.org/support/users/tedslater/)
 * (@tedslater)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/cannot-edit-in-text-mode/#post-11310888)
 * 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.

 * ![](https://ps.w.org/wordpress-seo/assets/icon-256x256.gif?rev=3419908)
 * [Yoast SEO - Advanced SEO with real-time guidance and built-in AI](https://wordpress.org/plugins/wordpress-seo/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-seo/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-seo/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-seo/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-seo/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-seo/reviews/)

## Tags

 * [plugin conflict](https://wordpress.org/support/topic-tag/plugin-conflict/)

 * 3 replies
 * 3 participants
 * Last reply from: [Ted Slater](https://wordpress.org/support/users/tedslater/)
 * Last activity: [7 years, 2 months ago](https://wordpress.org/support/topic/cannot-edit-in-text-mode/#post-11310888)
 * Status: resolved