Readability analysis errors in Yoast SEO
-
Hi,
I use “Disable Gutenberg”, so that styles and scripts are not loaded in the frontend because I do not use Gutenberg blocks.
I encountered a “bug” with Yoast SEO and your plugin “Easy Forms for Mailchimp” when Guttenberg is disabled.
If I disable Gutenberg and use the Plugin “Easy Forms for Mailchimp”. The error appears is in the backoffice, in Google Chrome Console. This is the error I see:
«Yoast SEO and readability analysis: An error occurred during the building of the tree structure used for some assessments.
TypeError: Cannot read property ‘startOffset’ of undefined
at analysis-1220.min.js:21
at Array.filter ()
at analysis-1220.min.js:21
at analysis-1220.min.js:21
at Array.forEach ()
at e.default (analysis-1220.min.js:21)
at analysis-1220.min.js:21
at analysis-1220.min.js:21
at e.value (analysis-1220.min.js:10)
at analysis-1220.min.js:10
»
I tested this with Twenty Ninteen and the error only shows if I have “Disable Gutenberg” and “Easy Forms for Mailchimp” active.
I also reported this to Yoast SEO.Appears that “Easy Forms for Mailchimp” shortcode interferes with SEO Readability Analysis without the Gutenberg active. Which is very “weird”.
And of course, only in pages where the shortcode for the form is included. Like this : [yikes-mailchimp form=”1″]
The problem at first seemed to be the Shortcode and not the plugin, but I tried to include a Contact Form 7 Shortcode, and the error disappears.I do not use Readability analysis, so I would like to know:
1 – Is this a big problem? Does not seem to be because all works fine, except the “Readability analysis” which dies not update.
2 – Is this something Yoast SEO can fix? Or is this something for “Easy Forms for Mailchimp” to fix? Or both. 🙂I expect the readability analysis to work without any problems 🙂
It is a shortcode and it should be ignored or “read” as it should be for readability.You can reproduce this behaviour easily:
1. Install “Disable Gutenberg” and “Easy forms for Mailchimp”
2. Create and Insert a “Form from Easy Forms for Mailchimp” in any page with the default theme (Twenty Nineteen)
3. Watch for Google Chrome ConsoleI have everything in the latest versions (WordPress, Yoast, EasyForms, and all the rest) and I tried with Tweenty Nineteen Theme to be sure.
Not a big issue, but still an issue I have in every site since I use all 3 plugins everywhere 🙂
Cheers and thank you.
The page I need help with: [log in to see the link]
The topic ‘Readability analysis errors in Yoast SEO’ is closed to new replies.