• Resolved Robert Sæther

    (@robsat91)


    Hello!

    We run WP v4.8.2 and Yoast Premium v5.6.1 together with ACF Content Analysis for Yoast SEO v.2.0.0.

    With this setup the Social media tabs does not function. This is because the Yoast SEO premium SoMe tabs has a custom setup added through JavaScript.

    This is suppoed to happen when the event “YoastSEO:ready” runs, but the event is not added early enough due to this plugin changing the order JS-files loads.

    I have narrowed this down to JS events not triggered in the correct order.
    The fix is easy:
    In inc/class-yoats-acf-analyses-assets-php:32, please make the script load in footer.

    
    wp_enqueue_script(
    	'yoast-acf-analysis-post',
    	plugins_url( '/js/yoast-acf-analysis.js', AC_SEO_ACF_ANALYSIS_PLUGIN_FILE ),
    	array( 'jquery', 'yoast-seo-post-scraper', 'underscore' ),
    	$this->plugin_data['Version'],
    	true
    );
    

    Do tell if you need more information and i’ll assist as best as i can.
    Best regards, Robert Sather.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Thomas Kräftner

    (@kraftner)

    Thanks for the report and the thorough investigation. We are aware of this and just finishing up a 2.0.1 release which should fix this soon. I’ll keep you updated.

    Plugin Contributor Thomas Kräftner

    (@kraftner)

    This is now fixed in version 2.0.1 which we have just released. If you have any further issues please open a new topic.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Bug report’ is closed to new replies.