• Resolved jai981

    (@jai981)


    Hi Raul,

    Really love your plugin but at some point in the last couple of days it seems to be breaking the latest update of Elementor. I’ve had to temporarily disable FVM but copied this error from Chrome’s Console:

    footer-0c82820e02ed389258c1bf2eda8b010ed6571c02.min.js:21 Uncaught TypeError: Cannot read property ‘[object Array]’ of undefined
    at Frontend.Module.getItems (footer-0c82820e02ed389258c1bf2eda8b010ed6571c02.min.js:21)
    at Frontend.e.each.r.<computed> [as getItems] (footer-0c82820e02ed389258c1bf2eda8b010ed6571c02.min.js:21)
    at Frontend.getGeneralSettings (frontend.min.js:2)
    at StretchedSection.getStretchContainer (frontend.min.js:2)
    at StretchedSection.initStretch (frontend.min.js:2)
    at StretchedSection.onInit (frontend.min.js:2)
    at StretchedSection.Module.trigger (footer-0c82820e02ed389258c1bf2eda8b010ed6571c02.min.js:21)
    at StretchedSection.e.each.r.<computed> [as trigger] (footer-0c82820e02ed389258c1bf2eda8b010ed6571c02.min.js:21)
    at init (footer-0c82820e02ed389258c1bf2eda8b010ed6571c02.min.js:21)
    at StretchedSection.Module (footer-0c82820e02ed389258c1bf2eda8b010ed6571c02.min.js:21)

    I’ve isolated it to FVM. It’s the only plugin that seems to be causing the issue and deactivating it fixes the issue. I’ve tried the “Disable all JS processing” option within FVM and also tried adding elementor frontend and frontend-modules js scripts to the Ignore tab, but neither of those helped the issue. Enabling FVM causes the issue (and breaks some JS elements on the page), and disabling FVM fixes it. Any thoughts welcome 🙂

    Thanks,
    Jai

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Raul P.

    (@alignak)

    Hi, 

    That situation can happen with any script in any theme or plugin. You need to use the ignore list to find out if there is a conflict when merging some script.
    https://ww.wp.xz.cn/plugins/fast-velocity-minify/#faq

    There is no way to know which one, unless you test it one by one (even if you think you know which one is it).

    It will also depend on which module you are using.
    Elementor works with FVM, but depending on the section you create, some stuff may not work without using the ignore list.

    The undefined error, basically means, it expects something to be defined earlier.

    When you tried the “Disable all JS processing” did it work? (it should have, if it’s a javascript error… unless you are still seeing a page cache)

    How about if you disable html minification?
    And what if you disable javascript minification?

    Thanks

    Thread Starter jai981

    (@jai981)

    Hi Raul,

    I did try “Disable all JS processing” at the time and after clearing cache it still gave the error, on multiple devices in incognito mode – I also found that strange hence double checked it. I had also disabled HTML minification and & CSS processing – basically all the most “light touch” settings, and it still gave the same error as long as FVM was active.

    I’ve just updated Elementor from 3.0.8 to 3.0.9 and retried activating FVM, and everything seems to be now working fine, even on the “strongest” optimization settings. No idea what was causing the issue but it seems to have disappeared by itself…

    Currently everything’s working fine again so thanks anyways for the reply 🙂

    Thanks!

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

The topic ‘FVM breaking Elementor frontend js’ is closed to new replies.