yoast-acf-analysis
yoast-acf-analysis copied to clipboard
Yoast SEO no longer performing word count. No SEO or Readability analysis
- [ x] I've read and understood the contribution guidelines.
- [ x] I've searched for any related issues and avoided creating a duplicate issue.
Please give us a description of what happened.
After upgrading to Yoast SEO 14.8 & WordPress 5.5, Yoast SEO no longer sees the post content, saying on both SEO & readability analysis that the word content is zero. Even going back to posts that Yoast SEO marked as good (green), when I go into edit mode, it no longer see any words. Consequently no analysis take place on the posts.
Please describe what you expected to happen and why.
How can we reproduce this behavior?
Technical info
- WordPress version: 5.5
- ACF Content Analysis for Yoast SEO version: 2.6
- Yoast SEO version: 14.8.1
- ACF type:Pro
- ACF version: 5.9
- Relevant plugins in case of a bug: Classic editor 1.6?
I am getting the same issue when using Classic Editor 1.6. It looks like Yoast SEO is enqueuing a different script for the classic editor. The script name is "edit-post-classic".
I added the following to my functions.php as a workaround for the time being whilst using version 2.7.
add_filter('admin_enqueue_scripts', function() {
$yoast_acf_analysis_plugin_data = get_plugin_data( AC_SEO_ACF_ANALYSIS_PLUGIN_FILE );
$config = Yoast_ACF_Analysis_Facade::get_registry()->get( 'config' );
// Post page enqueue.
if ( wp_script_is( WPSEO_Admin_Asset_Manager::PREFIX . 'post-edit-classic' ) ) {
wp_enqueue_script(
'yoast-acf-analysis-post',
plugins_url( '/js/yoast-acf-analysis.js', AC_SEO_ACF_ANALYSIS_PLUGIN_FILE ),
[ 'jquery', WPSEO_Admin_Asset_Manager::PREFIX . 'post-edit-classic', 'underscore' ],
$yoast_acf_analysis_plugin_data['Version'],
true
);
wp_localize_script( 'yoast-acf-analysis-post', 'YoastACFAnalysisConfig', $config->to_array() );
}
}, 20, 0);
I deactivated the Classic Editor plugin, but for me the same problem persists!
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...
I deactivated the Classic Editor plugin, but for me the same problem persists!
Deactivating the Classic Editor plugin fixed the issue for me.
removing the classic editor plugin seems to have worked for me as well
Experiencing the same issue. Deactivating the Classic Editor plugin worked for me as well. My build is running
Wordpress 6.1.1 ACF Content Analysis for Yoast SEO 3.0.1 Advanced Custom Fields PRO 6.0.6 Yoast SEO 19.13
Which means everything is up to date as of this comment
same issue here
Duplicate of #271