• Resolved beatyourcompetitiononline

    (@beatyourcompetitiononline)


    Checking Aggregate JS-files seems to break graphics from loading. I am using Astra theme and Elementor. Console indicates some syntax error. I tried activating and deactivating other checkboxes, but this is the only place where I can cause this problem to trigger.
    Thanks ??

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    can you disable try/catch wrapping for starters so I can see the original error(?s)

    Thread Starter beatyourcompetitiononline

    (@beatyourcompetitiononline)

    Done

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    OK, the only JS error I get (and which I also get when AO is not optimizing by virtue of ?ao_noptimize=1 being added to the URL) is about an opening <script> tag being followed by another opening <script> tag;

    
            <script>
    <!-- Global site tag (gtag.js) - Google Analytics -->
    <script async src="https://www.googletagmanager.com/gtag/js?id=UA-106004408-4"></script>
    <script>
      window.dataLayer = window.dataLayer || [];
      function gtag(){dataLayer.push(arguments);}
      gtag('js', new Date());
    
      gtag('config', 'UA-106004408-4');
    </script>
    
    </script>

    Maybe fix that, but not sure if this is related to your original question. What graphics are you referring to, what should I see on the page?

    Thread Starter beatyourcompetitiononline

    (@beatyourcompetitiononline)

    Ok, so I deleted that… you should see a logo at the top and bottom of the page. Are you still seeing errors?

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    yes to both;
    * I’m seeing the logo
    * I still see the error

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Aggregate JS-files breaks graphics 2.7.1 installed’ is closed to new replies.