• Resolved radgh

    (@radgh)


    We recently finished launching a site only to find out that when you preview the page as an administrator, the page doesn’t finish loading. To be specific the page loads but the animations don’t play, so most of the page content remains invisible because it is supposed to animate in.

    Note that the site works if logged out, and the Elementor page builder still works. However visiting a page while logged in is having a problem and does not display page content correctly if it normally uses an animation to become visible.

    We have Elementor Pro, but the problem persists even if it is deactivated. The problem persists in Twenty Twenty-Five and the Twenty Twenty-Four theme. We have no child theme customizations. And the problem exists even if Elementor is the only plugin active.

    With only Elementor v3.32.4 active, the javascript console shows a warning followed by an error. I believe these errors are causing the animations not to run.

    #1 – The warning

    jquery.min.js?ver=3.7.1:2

    jQuery.Deferred exception: Cannot read properties of undefined (reading 'tools') TypeError: Cannot read properties of undefined (reading 'tools')
    at Frontend.initOnReadyComponents (/wp-content/plugins/elementor/assets/js/frontend.min.js?ver=3.32.4:2:23141)
    at Frontend.init (/wp-content/plugins/elementor/assets/js/frontend.min.js?ver=3.32.4:2:25037)
    at HTMLDocument.<anonymous> (/wp-content/plugins/elementor/assets/js/frontend.min.js?ver=3.32.4:2:25262)
    at e (/wp-includes/js/jquery/jquery.min.js?ver=3.7.1:2:27028)
    at t (/wp-includes/js/jquery/jquery.min.js?ver=3.7.1:2:27330) undefined

    #2 – The error

    jquery.min.js?ver=3.7.1:2

    Uncaught TypeError: Cannot read properties of undefined (reading 'tools')
    at Frontend.initOnReadyComponents (frontend.min.js?ver=3.32.4:2:23141)
    at Frontend.init (frontend.min.js?ver=3.32.4:2:25037)
    at HTMLDocument. (frontend.min.js?ver=3.32.4:2:25262)
    at e (jquery.min.js?ver=3.7.1:2:27028)
    at t (jquery.min.js?ver=3.7.1:2:27330)

    Both warning and error point to this line about “tools” being undefined in frontend.min.js:

    this.modules = {
    StretchElement: elementorModules.frontend.tools.StretchElement, <-- ERROR, Cannot read properties of undefined (reading 'tools')
    Masonry: elementorModules.utils.Masonry
    },

    I’m not sure what else to do to investigate this and I’m not sure if this was happening before launch.

    Any ideas?

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Rica

    (@ricav)

    Hi @radgh

    I’ve checked the page URL you provided and it seems that you have Elementor Pro. Since you are an Elementor Pro user, you can open a support ticket at my.elementor.com

    ref: https://elementor.com/help/how-to-submit-a-support-ticket/

    I’d also suggest you check out Elementor Community Group on Facebook. We have created it to connect Elementor users together and share knowledge, Global Elementor Community.

    ww.wp.xz.cn rules state that commercial products are not supported here.

    Kind regards,

    Thread Starter radgh

    (@radgh)

    I am not the license holder. Also the problem persists if the pro plugin is disabled.

    Plugin Support Rica

    (@ricav)

    Hi @radgh,

    Upon checking the website, it appears that it’s using Elementor Pro, which requires an active license.

    Since your site is running Elementor Pro, please reach out to our support team through your Elementor account. They’ll be able to securely investigate the issue on the backend, something we’re unable to do here in the forum.

    You can contact them by logging in to your Elementor account and navigating to Support → Contact Support.

    Thank you for your understanding!

    Best regards,

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

The topic ‘Previewing pages when logged in doesn’t work: Javascript TypeError’ is closed to new replies.