Yoast / yoast-acf-analysis

WordPress plugin that adds the content of all ACF fields to the Yoast SEO score analysis.
https://wordpress.org/plugins/acf-content-analysis-for-yoast-seo/
GNU General Public License v3.0
61 stars 20 forks source link

Yoast word count broke after update to WP 5.5 #271

Open web-tailor opened 4 years ago

web-tailor commented 4 years ago

Please give us a description of what happened.

After updating to WP 5.5, Yoast is not counting words anymore from ACF content.

Technical info

fabioz888 commented 4 years ago

Please give us a description of what happened.

Same issue happening on WordPress version 5.4.2. Yoast is not counting words anymore from ACF flexible fields.

Technical info

Shaner18 commented 4 years ago

Similar issue: Running Wordpress 5.5 ACF Content Analysis for Yoast SEO 2.6 Advanced Custom Fields PRO 5.9 Yoast SEO 14.8

After updating to Yoast 14.8, SEO analysis & Readability see zero content... so unable to analyze posts.

web-tailor commented 4 years ago

There has been a new update (2.7) on 1st of september, but this has not fixed the issue

web-tailor commented 4 years ago

In our functions.php we have the following scripts:

// 1.3.2 Fully Disable Gutenberg editor.
add_filter('use_block_editor_for_post_type', '__return_false', 10);
add_action( 'wp_enqueue_scripts', 'remove_block_css', 100 );
function remove_block_css() {
wp_dequeue_style( 'wp-block-library' ); // WordPress core
wp_dequeue_style( 'wp-block-library-theme' ); // WordPress core
wp_dequeue_style( 'wc-block-style' ); // WooCommerce
wp_dequeue_style( 'storefront-gutenberg-blocks' ); // Storefront theme
}
add_action('admin_init', 'remove_standard_functions');
function remove_standard_functions() {
    remove_post_type_support( 'page', 'editor' );
    remove_post_type_support( 'page', 'comments' );
    remove_post_type_support( 'post', 'editor' );
    remove_post_type_support( 'post', 'comments' );
}

When I remove this, the content analysis works. But, we are not using the Gutenberg editor and leaving this there is unacceptable for our clients. Is there a way that the content analysis will work for the classic mode?

ghindle commented 4 years ago

@web-tailor: See my temporary fix in #272, does this help?

web-tailor commented 4 years ago

@ghindle Yes this does work! Thank you a lot. Hopefully yoast will fix this soon.

finnruijter commented 3 years ago

Is there a deadline for this fix? It's been 28 days and multiple clients are asking for this fix. Workaround works, but official fix would be better.

petervinnicombe commented 3 years ago

I can confirm this is still an issue - we are using WP5.5.1, Plugin Version 2.7 - ACF Pro 5.9.1, Yoast 14.9... Yoast can assess everything OK such as titles / meta etc - but cannot assess anything inside the ACF fields... So word count, internal and external link, key phrase in intro, never change from red...

davidzalar commented 3 years ago

I'm new to Yoast and ACF contente analysis for Yoast SEO and I see there is a problem as I have the txt in widgets as the person who made the site has done it and I get word count 0. Can somebody help how to fix this isssue? Thanks in advance.