• Resolved Chuckie

    (@ajtruckle)


    If I display my site with the flag to disable autoptimize the tawk.to widget shows.

    But if I remove the flag it will not show. I tried to add the path to the script in question to exclude it and no joy.

    If my code is extracted from the plugin I use that inserts the js, and use the customizer custom code area, it is fine.

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter Chuckie

    (@ajtruckle)

    If I untick this it works:

    Aggregate all linked JS-files to have them loaded non-render blocking?

    Thread Starter Chuckie

    (@ajtruckle)

    When ticked I get in console:

    Uncaught SyntaxError: Illegal return statement

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    when AO is active I see Uncaught SyntaxError: return not in function in the console output, whih traces back to plugins/hoot-customcode/script.js, can you try excluding that from JS optimization @ajtruckle ?

    Thread Starter Chuckie

    (@ajtruckle)

    I have unticked that setting until I am told what to do, so that it works.

    Thread Starter Chuckie

    (@ajtruckle)

    Weird, I have already added it to the exclude list:

    wp-includes/js/dist/, wp-includes/js/tinymce/, js/jquery/jquery.js, js/jquery/jquery.min.js, wp-content/plugins/enlighter/, wp-content/plugins/PDFEmbedder-premium/, wp-includes/js/quicktags.min.js, wp-content/plugins/hoot-customcode/script.js, wp-includes/js/dist/, wp-includes/js/tinymce/, js/jquery/jquery.min.js
    Thread Starter Chuckie

    (@ajtruckle)

    Sorted. I had <!-- comments in the script. Changed to //.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    so all is OK now? super! have a great weekend 🙂

    frank

    Thread Starter Chuckie

    (@ajtruckle)

    Yep, seems OK now.

    You have a great weekend too!

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

The topic ‘Tawk.To issues’ is closed to new replies.