Yoast / wordpress-seo

Yoast SEO for WordPress
https://yoast.com/wordpress/plugins/seo/
Other
1.77k stars 893 forks source link

An error occured in the 'keywordDensity' assessment (5 posts) #5075

Closed JeePeeNL closed 8 years ago

JeePeeNL commented 8 years ago

After the update to Yoast SEO 3.3.4 the analysis results show the message "An error occured in the 'keywordDensity' assessment" on several pages on different websites. It doesn't happen on all pages and I can't find what's wrong.

This was first posted in the WP forum and several other people have replied that they see the same issue. https://wordpress.org/support/topic/an-error-occured-in-the-keyworddensity-assessment

What did you expect to happen?

Everything but an error message.

What happened instead?

"An error occured in the 'keywordDensity' assessment"

How can we reproduce this behavior?

I don't know, I can't find a difference between pages with/without the error.

Can you provide a link to a page which shows this issue?

terw-dan commented 8 years ago

Can you check if you have any errors in your JavaScript console? Which language do you use in the wp admin?

mamsatwork commented 8 years ago

Same problem here. On 2 websites, www.mamsatwork.nl and www.leukewebshops.com both with dutch translation

terw-dan commented 8 years ago

@mamsatwork Do you see any errors in your JavaScript console? I wasn't able to reproduce this error locally, so any error might help us fixing this

mamsatwork commented 8 years ago

Hi there,

I'm not sure how i can check the errors you mentioned ?

Kind regards,

Joyce van de Pas

Op 6-7-2016 om 15:36 schreef terw-dan:

@mamsatwork https://github.com/mamsatwork Do you see any errors in your JavaScript console? I wasn't able to reproduce this error locally, so any error might help us fixing this

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Yoast/wordpress-seo/issues/5075#issuecomment-230772790, or mute the thread https://github.com/notifications/unsubscribe/ATYRRIWSzH4HeI_eLmKEGGmMBmCYzLF3ks5qS69AgaJpZM4JE0iI.

terw-dan commented 8 years ago

For most browsers you can right click anywhere on the page and select 'inspect element'. A new sceen will open where you can enter the console. Any errors in JavaScript will be displayed here. This might require a refresh of the page.

YoungBrains commented 8 years ago

Same issue here, also Dutch translation. I've opened the console (F12 in Google Chrome). It saids: [sprintf] huh? origins from: wp-seo-post-scraper-333.min.js?ver=3.3.4.8

YoungBrains commented 8 years ago

debug

mamsatwork commented 8 years ago

A bit out of my knowledge, but i've opened it and got all errors below :

chrome-extension://eaddoeamefcjmijpldhjkjnhnppicnda/detect.js:25 Uncaught SyntaxError: Unexpected token ; chrome-extension://eaddoeamefcjmijpldhjkjnhnppicnda/detect.js:25 Uncaught SyntaxError: Unexpected token ; chrome-extension://eaddoeamefcjmijpldhjkjnhnppicnda/detect.js:25 Uncaught SyntaxError: Unexpected token ; chrome-extension://eaddoeamefcjmijpldhjkjnhnppicnda/detect.js:25 Uncaught SyntaxError: Unexpected token ; chrome-extension://eaddoeamefcjmijpldhjkjnhnppicnda/detect.js:25 Uncaught SyntaxError: Unexpected token ; chrome-extension://eaddoeamefcjmijpldhjkjnhnppicnda/detect.js:25 Uncaught SyntaxError: Unexpected token ; chrome-extension://eaddoeamefcjmijpldhjkjnhnppicnda/detect.js:25 Uncaught SyntaxError: Unexpected token ; util.js:222 Google Maps API warning: NoApiKeys https://developers.google.com/maps/documentation/javascript/error-messages#no-api-keys

Seems other stuff.

Op 6-7-2016 om 16:33 schreef YoungBrains:

Same issue here, also Dutch translation. I've opened the console (F12 in Google Chrome). It saids: [sprintf] huh? origins from: wp-seo-post-scraper-333.min.js?ver=3.3.4.8

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Yoast/wordpress-seo/issues/5075#issuecomment-230790490, or mute the thread https://github.com/notifications/unsubscribe/ATYRRBpBHYQuDKhCSc9ikYifcYy-howQks5qS7ykgaJpZM4JE0iI.

terw-dan commented 8 years ago

@YoungBrains Thanks for your input, it seems there is a problem with a translation to dutch that causes this error, that will be fixed in the upcoming release.

@mamsatwork Thanks for your input, I don't know if the errors you see there are related, but my guess is these won't affect the working of the keyword density analysis.

mmikhan commented 8 years ago

Please inform the customer of conversation # 131608 when this conversation has been closed.

JeePeeNL commented 8 years ago

@terw-dan Sorry, didn't have time to look into this yesterday. I use Dutch in WP Admin. There is no error if I switch to English. If I compare the analysis, the error is caused by the translation of this sentence: "Good SEO score The keyword density is 0.7%, which is great; the focus keyword was found 8 times."

Like @YoungBrains I also see "[sprintf] huh?" but only with Chrome, not with Firefox.

mmikhan commented 8 years ago

Please inform the customer of conversation # 132243 when this conversation has been closed.

mmikhan commented 8 years ago

Please inform the customer of conversation # 132319 when this conversation has been closed.

omarreiss commented 8 years ago

This issue will be fixed in 3.4