Support » Plugin: Fast Velocity Minify » Conflict with Elementor

  • Resolved rarcher30

    (@rarcher30)


    Hi there. I’ve encountered an issue on several of my sites that use the Elementor page builder and FVM. Updating to latest plugins (for both) causes my Elementor layouts to break and I receive an error in the debug console:

    Uncaught TypeError: Cannot read property ‘environmentMode’ of undefined

    The only way to resolve this right now is to select “Disable JavaScript processing” in the FVM options and just bypassing minifying, combining and caching the js.

    I’ve left a similar note on the support for Elementor as some other developers are experiencing similar issues. Please see https://wordpress.org/support/topic/uncaught-typeerror-cannot-read-property-environmentmode-of-undefined/#post-11610108

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

    (@alignak)

    Kindly read the faqs here:
    https://wordpress.org/plugins/fast-velocity-minify/faq/

    There have been some issues with elementor updates breaking compatibility with FVM, not because FVM changed anything, but simply because elementor changed how it works.

    When we mere their scripts into one file, their inline code will trigger undefined errors, because those files will load after their inline code.

    Make sure you have latest elementor version and latest FVM as well.
    If it still doesn’t work, try to delete and reinstall FVM again, so that you make sure the default settings are in place.

    For the elementor plugin, you also have to select the fix page editors option on FVM.
    Another option is to add the elementor plugin directory to the ignore list on FVM.

Viewing 1 replies (of 1 total)
  • The topic ‘Conflict with Elementor’ is closed to new replies.