Block Editor can’t open posts due to Yoast
-
Hi team,
I try to open a couple of posts but I keep getting a “The editor has encounter an unexpected error” when I do. I checked on the error and it looks like Yoast is causing the issue on my site. I have copied the error below:
SyntaxError: Invalid regular expression: /%%cf_essb_pc_MrXBPoY3′);select_pg_sleep(3);_–_%%/: Unmatched ‘)’ at new RegExp () at o.value (https://fitfoodiefinds.com/wp-content/plugins/wordpress-seo/js/dist/externals/searchMetadataPreviews.js?ver=62a29f6cfe4c63b48e49ab8ce616bab8:2:30613) at o.value (https://fitfoodiefinds.com/wp-content/plugins/wordpress-seo/js/dist/externals/searchMetadataPreviews.js?ver=62a29f6cfe4c63b48e49ab8ce616bab8:2:30885) at new o (https://fitfoodiefinds.com/wp-content/plugins/wordpress-seo/js/dist/externals/searchMetadataPreviews.js?ver=62a29f6cfe4c63b48e49ab8ce616bab8:2:27046)
If I disable Yoast on my site then I’m able to edit my posts without an issue. Do you mind checking on this error and letting me know what my next steps sound be?
Best,
Chynna
- The topic ‘Block Editor can’t open posts due to Yoast’ is closed to new replies.