• Resolved kkmixs

    (@kkmixs)


    Hi,

    First of all thanks for creating such a beautiful plugin. It works best when I am logged in. However, once I logged out, I can’t see the form at all.

    This is not because the option enables logged-in users only. However, this is because of Jquery not defined error using your plugin.

    Here is my finding
    1. If I uninstall your plugin, the Jquery not defined query gets removed
    2. If I am logged in, Jquery not defined error does not come
    3. If I am logged in, I can see the form
    4. Once logged out Jquery not defined error start coming.
    5. On further investigation, I found that this is because of
    /wp-content/plugins/forminator/build/front/front.multi.min.js getting loaded prior to /wp-includes/js/jquery/jquery.min.js. Is there any way to load jquery first?


    Please help me. Your form is not visible to log out used because of this jquery error. Attaching the snapshot of Google Page Insight showing file sequence.

    Image
    shorturl.at/ghiIX

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Kris – WPMU DEV Support

    (@wpmudevsupport13)

    Hi @kkmixs

    I hope you are doing well today.

    Based on your errors from browser console it seems like some sort of conflict here.

    Would you please run a conflict test? Please deactivate all plugins except this one and check if the problem is gone. If so, then enable all plugins one by one and find which one is having a conflict. If there is no positive result, switch to the default WordPress theme like 2019, and see if it works. Before this test, we recommend full site backup or running this test on the staging site.

    Also I see your site use some plugin to compress and combine CSS and JS files. I guess this is w3 total cache.

    Could you please exclude some scripts from optimization?

    /wp-content/plugins/forminator/assets/js/library/jquery.validate.min.js
    /wp-content/plugins/forminator/assets/forminator-ui/js/forminator-form.min.js
    /wp-content/plugins/forminator/build/front/front.multi.min.js
    /wp-content/plugins/forminator/assets/js/library/intlTelInput.min.js

    Let us know the result you got.

    Kind Regards,
    Kris

    Thread Starter kkmixs

    (@kkmixs)

    Problem solved. This was because I was using code to defer jquery javascript in my function.php

    However, I am getting below error in google chrome post instaling your plugin. Can you please help me to resolve this problem?

    Only one LaunchDarklyClient can exist at a time, but another client already exists. This probably means something has gone wrong with our DI system, or we’re using it incorrectly.

    Plugin Support Nithin – WPMU DEV Support

    (@wpmudevsupport11)

    HI @kkmixs,

    The error you have mentioned doesn’t look related to Forminator as it doesn’t use LaunchDarkly. Do you get the same error if you temporarily switch to a default WP theme and with all the plugins disabled except Forminator?

    If it loads fine then you’ll have to activate the plugins one-by-one to see where exactly is causing the conflict.

    Please do let us know how that goes.

    Kind Regards,

    Nithin

    Thread Starter kkmixs

    (@kkmixs)

    Ok. LaunchDarkly error so goes out automatically, Thanks for the help. All problems solved. Hence, You can close this query.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Jquery not defined error- Form not visible to logged out users’ is closed to new replies.