Conversation
supportHello Rank Math Team, I encountered a blocking JavaScript error in the Gutenberg Editor when using WordPress 7.0 (with Neve Theme). The editor freezes completely and throws the following error in the browser console: Uncaught TypeError: can't access property "isAutosavingPost", t is undefined at value (wp-content/plugins/seo-by-rank-math/assets/admin/js/gutenberg.js:1) It seems to be a race condition / timing issue where Rank Math tries to access the isAutosavingPost property from the core/editor data store before it is fully initialized or available in the new WordPress version. Interestingly, the bug occurs depending on server latency or whether it is a completely new post (Auto-Draft) versus an existing one. I temporarily fixed it by dequeuing the script ( wp_dequeue_script('rank-math-gutenberg') ), but it would be great if your team could add a safety check (like optional chaining or a null check) in gutenberg.js for an upcoming update. Thank you!
Hello @bandy1967 , Thank you for contacting Rank Math support. We have shared this with the development team and will get back to you soon with an update. Please do not hesitate to let us know if you need our assistance with anything else in the meantime. Looking forward to helping you.
Hello @bandy1967 , Our developers have logged it as a bug, and it will fixed in the next update. Thank you so much for informing us about the issue. We will let you know once the update is available. Please do not hesitate to let us know if you need our assistance with anything else in the meantime. Thank you.
Hello @bandy1967 , Thank you for contacting Rank Math support. We have shared this with the development team and will get back to you soon with an update. Please do not hesitate to let us know if you need our assistance with anything else in the meantime. Looking forward to helping you.
Hello @bandy1967 , Our developers have logged it as a bug, and it will fixed in the next update. Thank you so much for informing us about the issue. We will let you know once the update is available. Please do not hesitate to let us know if you need our assistance with anything else in the meantime. Thank you.