Gateway functionality broken by JavaScript Errors

Theme conflict from JavaScript error is recurring


http://cloud.skyver.ge/4a81937017b4

We are using staging site to run tests, we know this is theme related as switching to default theme fixes this issue.

WPX Hosting has been assisting us with this recurring problem. They have installed Really Simple SSL to take care of mixed content and make all necessary redirects from HTTP to HTTPS. But we would really appreciate if you could also take a look under the hood!

Hello @M72561,

Thanks for writing in!

Please deactivate and remove the SSL plugin. You do not need any of it. Simply go to Settings > General and make sure that the Site URL and WordPress Address URL is using https.

Hope this helps.

The issue keeps recurring. Can we get someone to check the info that we supplied? We didn’t have the url incorrectly set to http in General Settings.

Hi,

I checked and can see you have w3 total cache installed.

Can you try clearing the plugin cache and deactivating it.
Then test the gateway functionality while it is deactivated.

This is so we can narrow down what is causing the issue. You may activate it back again after the test.

Thanks

We can do whatever necessary to handle this situation. While in the staging environment we had switched to the default theme and that resolved the problem, so we doubt that w3tc has any part to play in this error. Our payment gateway FirstData/Skyverge suggested this is a theme conflict and, reminded us of the Javascript errors in this screenshot. http://cloud.skyver.ge/4a81937017b4

Hi,

The theme has issues with w3tc plugin where if you don’t exclude the theme’s js files from minification it creates js errors that prevent other plugins and even cornerstone from working.

For example: https://theme.co/apex/forum/t/i-cannot-edit-with-cornerstone/42521/12

I would like to test it in your staging but the url you have provided is not working.

Please double check so we can investigate the issue without disruppting your live site.

Thanks

Thanks, we have recreated another staging, same url. We would also like to take precautions to prevent double clicking with our order button, will the scripts mentioned here work? https://altoswebsolutions.com/forum/woo-price-calculator-pro/28-prevent-double-click-add-to-basket-button

Hello @M72561,

I have logged in with your staging site and I do not see any JS errors. I cleared the cache first by the way before testing the site. I went back to your screenshot and have taken a closer look. It seems that the Nav Menu Addon for Elementor is the culprit. I would highly suggest that you disable W3 Total cache and also do a text for plugin conflict. You can do this by deactivating all third party plugins, and seeing if the problem remains. If it’s fixed, you’ll know a plugin caused the problem, and you can narrow down which one by reactivating them one at a time.

Hope this helps. Please let us know how it goes.

Thanks for taking look, we have made sure to exclude shopping cart checkout pages in w3tc settings and had our hosting fix some file permissions as well. We’ll go ahead and remove the Elementor NavMenu addon.

You’re most welcome!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.