Temporarily deactivate Autoptimize. Do you still have this problem?
alternatively; you can disable Autoptimize on a per-request basis by adding ?ao_noptimize=1 to the URL.
if the problem is not there at that point, some autoptimize (re-)configuration might be needed to fix this. there are troubleshooting tips and info on how to exclude in the AO FAQ.
hope this helps debugging,
frank (ao dev)
Hey @sajtosmakaroni,
As the others mentioned here, there is a JavaScript error shown in the console which is generated by Autoptimize. There definitely looks to be an issue with the configuration of Autoptimize. Hopefully they can help you get that sorted.
well, the troubleshooting tips in the AO FAQ should be a great starting-point 😎
Thanks for all for you for help!
I have tried to deactivate the plugin and tried to uncheck the “shop/cart optimization” box, but it still just loading infinitely.
Uninstalling the plugin didn’t resolve my problem. Tired the URL thing but still nothing.
I’m a newbie in WordPress i don’t have much experience in this kind of problem solving. So any other idea? 😀
I’ve looked in the page source and the console, and autoptimize is still in the page. I don’t even know its that but I think it should be disabled temporarily to be able to rule it out. There are also cloudflare and pagespeed in the page.
One of these cache type services will be serving old information causing the problem. They need to flushed or deactivated.
If i’m correct, autoptimize is fully deleted. I have never installed cloudflare or pagespeed on the page, so i don’t know what are they doing there. I have tried W3 Total Cache but it didn’t find any cache files.
mod_pagespeed is probably activated by your hoster, ask them to turn it off for you?
I will try it and comment the result, thanks!
Pagespeed turned off, cache is empty, but the button still useless.
Where should i look for cloudflare? I never installed this plugin… Can the host turn this off too or this is apart from the host? I have tried everything that i found, but i’m running out of ideas. 🙁
OK, on the browser console I’m now seeing:
TypeError: form.attr(…) is undefined xoo-wsc-public.js:276:22
And xoo-wsc-public.js is part of the side-cart-woocommerce plugin. disable that to check if that fixes the stock woocommerce add to cart functionality and ask that plugin’s developer for help maybe?
It works! Thank you for all of your help. You made my day! 😀
great! now you can re-enable Autoptimize 😉
frank