-
AuthorPosts
-
October 6, 2015 at 12:28 pm #613553
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,
TomOctober 6, 2015 at 1:10 pm #613639Hi 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 credentialsDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
October 6, 2015 at 2:02 pm #613717This reply has been marked as private.October 6, 2015 at 8:32 pm #614144Hey 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.
October 7, 2015 at 6:06 am #614696I 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?
October 7, 2015 at 6:53 am #614758Hi,
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
October 7, 2015 at 6:58 am #614769Hey,
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,
October 7, 2015 at 7:41 am #614837Hi 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!
October 7, 2015 at 7:51 am #614854How strange! I really hope we can fix this.
October 7, 2015 at 2:31 pm #615518Hi 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! 🙂
October 10, 2015 at 8:03 am #619404Hi there,
Are there any updates regarding this error?
October 11, 2015 at 7:12 am #620219Hi 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 🙂
October 12, 2015 at 9:32 am #621620That worked! Thank-you for all the help. You’ve been great.
October 12, 2015 at 10:46 am #621746You’re most welcome! 🙂
-
AuthorPosts