• Hello,
    When using Async JavaScript plugin with setting enabled to load all javascript files in async manner excluding the jquery.

    But for some strange reasons I am seeing “Uncaught ReferenceError: elementorModules is not defined” and “Uncaught ReferenceError: elementorProFrontend is not defined” errors in console. These are the files related to Elementor plugin.

    Because this issue the UI gets disturbed or not loads in expected manner, which results in bad experience for end users.

    Can you please help him me out to fix this issue.

    Thanks

    • This topic was modified 4 years, 8 months ago by Imagesunilsalunkhe.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author ImageOptimizing Matters

    (@optimizingmatters)

    you’ll have to exclude elementor/ elementorpro from being asynced as well sunilsalunkhe

    hope this helps,
    frank

    Thread Starter Imagesunilsalunkhe

    (@sunilsalunkhe)

    Thank you frank (@optimizingmatters) for your reply. But excluding elementor/elementorpro from being async will drop the performance and also score on google page insight, which I do not want to be.

    Is there any way where I can add elementor/elementorpro to async and the error I am seeing will also be not appear.

    Thanks in advance.

    Plugin Author ImageOptimizing Matters

    (@optimizingmatters)

    Probably not sunilsalunkhe.

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

The topic ‘Uncaught ReferenceError when using Async JavaScript’ is closed to new replies.