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 SEO no longer performing word count. No SEO or Readability analysis #272

Closed Shaner18 closed 1 year ago

Shaner18 commented 4 years ago

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

ghindle commented 4 years ago

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);
DanaIliescu commented 3 years ago

I deactivated the Classic Editor plugin, but for me the same problem persists!

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...

markorapaic commented 3 years ago

I deactivated the Classic Editor plugin, but for me the same problem persists!

Deactivating the Classic Editor plugin fixed the issue for me.

Shaner18 commented 3 years ago

removing the classic editor plugin seems to have worked for me as well

marthmf commented 1 year ago

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

stephanedemotte commented 1 year ago

same issue here

jeroenrotty commented 1 year ago

Duplicate of #271