• Resolved mcleare1

    (@mcleare1)


    Hi, noticed since today or last update that “load output with javascript” is not working. Just stuck on “now loading”

    Thanks

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author miunosoft

    (@miunosoft)

    Hi,

    Please check the browser console log. If you see errors, I’d like to see them.

    Thread Starter mcleare1

    (@mcleare1)

    Hi, I see this

    Uncaught ReferenceError: jQuery is not defined
    <anonymous> /wp-content/plugins/amazon-auto-links/asset/js/ajax-unit-loading.min.js:6

    Plugin Author miunosoft

    (@miunosoft)

    It seems jQuery is not loaded on your site.

    Can you insert the following code in your theme functions.php to see if it solves the problem?

    /* Amazon Auto Links - Load jQuery */
    add_action( 'wp_enqueue_scripts', 'aal_load_jquery' );
    function aal_load_jquery() {
      wp_enqueue_script( 'jquery' );
    }
    Thread Starter mcleare1

    (@mcleare1)

    Thanks. Tried that and it works but only when I’m logged in. Same console error after.

    Thread Starter mcleare1

    (@mcleare1)

    Turned off the “defer render blocking js” option in my caching plugin and its working now.

    Plugin Author miunosoft

    (@miunosoft)

    Glad to hear you sorted it!

    Thread Starter mcleare1

    (@mcleare1)

    Yes, I turned back on defer render blocking but was able to make /wp-includes/js/jquery/jquery.js an exception.

    Thanks

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Load output with Javascript not working’ is closed to new replies.