Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #613553

    Tomchalky
    Participant

    Hi guys,

    My site is http://tomchalky.com – When my customers add something to their cart, and proceed to the checkout. The login and coupon links do not work. You can replicate the error yourself.

    The error I receive is – “/wp-content/themes/x/framework/js/dist/site/x-head.min.js?ver=4.1.1:1 – Uncaught ReferenceError: Modernizr is not defined”

    I have updated the theme and all the plugins. I then deactivated the theme, and the links suddenly worked. So it’s definitely something with the theme and not woocommerce.

    Help will be greatly appreciated.

    Cheers,
    Tom

    #613639

    Jade
    Moderator

    Hi Tom,

    Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:

    – Link to your site
    – WordPress Admin username / password
    – FTP credentials

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    #613717

    Tomchalky
    Participant
    This reply has been marked as private.
    #614144

    Christian
    Moderator

    Hey Tom,

    I replicated this on my test site and there’s no issue with the links. This leads me to conclude that there is something unique in your setup that is conflicting. Please disable all third party plugins and scripts first. Notify us once done.

    Thanks.

    #614696

    Tomchalky
    Participant

    I copied my live site to my staging account and you’re right, it works.

    I found that the issue is the SSL certificate. When I removed the /checkout page from being guarded by SSL, it worked. However, I really do need that page SSL. Any ideas?

    #614758

    Paul R
    Moderator

    Hi,

    I would like to check but your logins are no longer working.

    Do you mind activating it again so we could take a closer look one more time.

    Thanks

    #614769

    Tomchalky
    Participant

    Hey,

    I have activated it again and I have been chatting to my web hosts (wpengine) and they said that there is an error with the Javascript working with Https (x-head.min.js?ver=4.1.1:1).

    Although I already knew this by deactivating the SSL, but they’ve just clarified it.

    Cheers,

    #614837

    Jack
    Keymaster

    Hi there Tom,

    Thanks for writing back, I’ve been looking into this and haven’t been able to replicate on my own site.

    I self signed a SSL cert and installed on my X powered site and checkout page and all links worked without any problems.

    I’ve left a note for one of our developers to see if they can find anything out, if you could keep the logins active for now, while we take a look that would be great.

    Thanks for your patience!

    #614854

    Tomchalky
    Participant

    How strange! I really hope we can fix this.

    #615518

    Jack
    Keymaster

    Hi there Tom,

    Definitely strange. I’m wondering if it’s specific to the setup WP Engine uses with their Nginx/Varnish setup.

    I’ve spoken with the developer and he’s going to look into this ASAP. Appreciate your patience! 🙂

    #619404

    Tomchalky
    Participant

    Hi there,

    Are there any updates regarding this error?

    #620219

    Rad
    Moderator

    Hi there,

    I’d like to add another request for testing, would you mind disabling the rocket loader? I think it’s from Cloudflare. Currently, all your scripts are loaded asynchronously by rocket loader. Could be that in https, the script is executed before the Modernizr is being initialized. Modernizr is just on same file along with isotope library, and it shouldn’t be throwing that error when Modernzr library is just there.

    https://support.cloudflare.com/hc/en-us/articles/200168056-What-does-Rocket-Loader-do-

    Thanks and let us know 🙂

    #621620

    Tomchalky
    Participant

    That worked! Thank-you for all the help. You’ve been great.

    #621746

    Zeshan
    Member

    You’re most welcome! 🙂