• Resolved cars111

    (@cars111)


    Hi i have installed your plugin and it is causing the sliders carousel and video background image not to load. i have checked the console and receive these errors.

    autoptimize_single_7fd5218e5a630701c28bbbd694a9b3ee.js?ver=5.1.1:1 Uncaught ReferenceError: php_data is not defined
    at autoptimize_single_7fd5218e5a630701c28bbbd694a9b3ee.js?ver=5.1.1:1
    (anonymous) @ autoptimize_single_7fd5218e5a630701c28bbbd694a9b3ee.js?ver=5.1.1:1
    frontend.min.js?ver=2.5.5:2 Uncaught ReferenceError: elementorFrontendConfig is not defined
    at new t (frontend.min.js?ver=2.5.5:2)
    at Object.181 (frontend.min.js?ver=2.5.5:2)
    at n (frontend.min.js?ver=2.5.5:2)
    at frontend.min.js?ver=2.5.5:2
    at frontend.min.js?ver=2.5.5:2

    I have tried to exclude plugin/elementor and pro on the js but same problem i have deactivated js and all is working again but page speed is bad on gtmetrix without it ?? any help will be really appreciated.

    I had all boxes checked except try catch wrapping as cache wrapping made no changes

    Thanks

Viewing 15 replies - 16 through 30 (of 32 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    Ah ok can you tell me how to view only on onload?

    create a (free) account, log in and you’ll see several options, out of which fully loaded vs onload is one ??

    i am getting Defer parsing of JavaScript I have async installed Async JavaScript just wondering why the error is still there?

    async JS can only defer linked JS that is in your HTML, if you have any JS that is triggered differently (e.g. an iframe or inline JS) then AsyncJS cannot async that :-/

    Thread Starter cars111

    (@cars111)

    Hi thanks for the reply it is working much better now your plugin is ace! i only get one error now, Make fewer HTTP requests
    This page has 22 external Javascript scripts. Try combining them into one.

    This page has 5 external stylesheets. Try combining them into one.
    Does your plugin combine these files?

    Thanks again

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    as long as the JS is async/ deferred and the CSS is preloaded that can be safely ignored, but I see WPFC’s minify is still active and that seems to be messing with the code generated by AO (as in removing the rel=preload, making the CSS render-blocking) cars111?

    Thread Starter cars111

    (@cars111)

    Strange I just looked at wpfc and the 2 checkboxes for minify HTML and CSS are unchecked the only ones checked are Combine Css and Combine Js. Do these need to be unchecked as well?

    Thanks again really appreciated.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    Apparantly (didn’t know that “combine” was available in the free WPFC version). When looking at the HTML source of a page on your site you should not see any reference to cache/wpfc-minified any more.

    Thread Starter cars111

    (@cars111)

    i have searched the source code and no cache/wpfc-minified is showing up only script type=”text/javascript”>var wpfc_ajaxurl = “https://www.bladerunnermallorca.com/wp-admin/admin-ajax.php&#8221;;</script>

    Gtmetrix is giving a score of F for combining files which is strange?

    Is there i setting i can use in the plugin to fix this issue?

    here are screenshots

    View post on imgur.com

    Thanks

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    Still seeing wpfc-minified when going to your homepage @cars111 ;

    maybe you need to clear WPFC’s cache, because when adding a random querystring to the URL to disable the page cache, wpfc-minified is not in the HTML source any more.

    Gtmetrix is giving a score of F for combining files which is strange?

    that’s because of your Javascript exclusions, specifically the /plugins one which exclude all JS by all plugins from being optimized.

    Thread Starter cars111

    (@cars111)

    Hi I have disabled wpfc and the page score is now an A score i have caching on my server so it seems to be working well. Where is the javascript exclusions set?

    Thanks, for all your help

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    settings -> autoptimize -> make sure “advanced settings” are visible (click on button near the top right corner if not).

    Thread Starter cars111

    (@cars111)

    Thanks should I remove the plugins one? The last developer added it, thanks

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    wp fastest cache you mean? if it is disabled now and you don’t plan on using it again and if you’re sure you have page caching elsewhere you indeed can do so ??

    Thread Starter cars111

    (@cars111)

    Hi sorry I meant:

    Gtmetrix is giving a score of F for combining files which is strange?

    that’s because of your Javascript exclusions, specifically the /plugins one which exclude all JS by all plugins from being optimized.

    should I remove the /plugins exclusion?

    Thanks

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    should I remove the /plugins exclusion?

    ah ??

    yes, you should. and then test to make sure nothing breaks when all JS is optimized, because I guess you added the (too broad an) exclusion because something was broken?

    Thread Starter cars111

    (@cars111)

    Hi I have updated your plugin to the newest version and it stops videos playing on mobile, I had to clear server cache and deactivate the plugin for them to play. Hope you can help

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    Could be due to CSS or JS optimization, try to identify which one by disabling (and re-enabling) CSS optimization and then JS optimization. once you know that you’ll have to look into which CSS- or JS-file to exclude from optimization to fix.

    AO’s FAQ has more info on troubleshooting and how to exclude.

    hope this helps,
    frank (ao dev)

Viewing 15 replies - 16 through 30 (of 32 total)
  • The topic ‘Errors with Elementor’ is closed to new replies.