• Resolved Berdini

    (@berdini)


    Hi, I got this error message: ‘Preview Could Not Be Loaded’ and after a “preview debug” I got that: “Module ‘sqlite3’ already loaded” ASAP I disable Autoptimize the problem solved. Thanks

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

    (@optimizingmatters)

    OK, can you disable just JS or just CSS or just HTML or just Image optimization to see which one might cause this?

    Thread Starter Berdini

    (@berdini)

    Hi again, with “Optimize JavaScript Code?” enable and “Aggregate JS-files” disable it works, so the problem is in “Aggregate JS-files”

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    OK, now did it work in Autoptimize 2.6.2? can you install that one to confirm (download URL https://downloads.wordpress.org/plugin/autoptimize.2.6.2.zip)?

    Thread Starter Berdini

    (@berdini)

    Yes, it works

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    that is very weird, there were only 2 very small changes in JS optimization … can you post your site’s URL?

    Thread Starter Berdini

    (@berdini)

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    OK, and when do you get that error, what should I do on the site to reproduce?

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    In the mean time; I see “unreachable code” errors in the Autoptimized JS, this is caused by wp-content/plugins/jet-tricks/assets/js/jet-tricks-frontend.js so you might want to add that to the comma-separated JS optimization exclusion list.

    Thread Starter Berdini

    (@berdini)

    I did what you suggest but my background sliders stop working. And about the first question… If you send me an email I can give you acces to my staging site.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    I did what you suggest but my background sliders stop working

    so what JS error do you get when jet-tricks-frontend.js is excluded?

    If you send me an email I can give you acces to my staging site.

    ah so the error is when being logged in/ editing? in that case untick the “also optimize for logged in administrators/ editors” and live happily ever after 😉

    Thread Starter Berdini

    (@berdini)

    so what JS error do you get when jet-tricks-frontend.js is excluded?:

    I get no error, simply no images are loading.

    ah so the error is when being logged in/ editing? in that case untick the “also optimize for logged in administrators/ editors” and live happily ever after 😉

    PERFECT! Solved

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    I get no error, simply no images are loading.

    OK, but I assume when looking at the browser console an error is showing, no?

    Thread Starter Berdini

    (@berdini)

    ok, sorry. I´m a beginner

    SCRIPT5007: SCRIPT5007: Unable to get property ‘hooks’ of undefined or null reference

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    ok, sorry. I´m a beginner

    no worries 🙂

    SCRIPT5007: SCRIPT5007: Unable to get property ‘hooks’ of undefined or null reference

    ah, jet-tricks-frontend.js relies on elementor, so you’ll have to exclude elementor as well I’m afraid (plugins/elementor).

    Now if the only problem is the JS warning I mentioned, but the site works, you could remove wp-content/plugins/jet-tricks/assets/js/jet-tricks-frontend.js from the exclusion list and simply forget about it.

    Thread Starter Berdini

    (@berdini)

    The site works so I remove the wp-content/plugins/jet-tricks/assets/js/jet-tricks-frontend.js Thanks!!!

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘V2.7 crashes Elementor’ is closed to new replies.