Archived topic
Unable to Safely Update GP Premium
20 replies · Started by Paul on May 6, 2019
GP Premium
You have version 1.7.8 installed. Update to 1.8.2. View version 1.8.2 details.
Compatibility with WordPress 5.1.1: Unknown
I have been unable to update since version 1.7.8. When I update the plugin, my cart functionality breaks. I suspect that it's a plugin conflict with a woocommerce extension or woofunnel plugin, but I am not sure. I do have a staging site available. Could you help me troubleshoot the problem and address the conflict via a future plugin update?
-Paul
Hi there,
Since you have a staging site set up, can you disable woocommerce extension or woofunnel to see if there are indeed conflicts there?
If so, can you link us to the staging site so we can actually see the issue?
I thought it might be more informative for you to check the functionality of the cart before "upgrading." See that it works in the current version and see what breaks when the plugin is updated.
The staging site is:
http://staging-digamiwi.kinsta.cloud/
I just told Kinsta to build a new staging environment -- so it's an exact copy. Please create a username and password, and I'll adjust your user rights.
Can you briefly explain what is the issue? Or the steps I need to take to produce the issue?
I clicked on the cart icon on both the current site and staging site but don't see any differences.
Let me know :)
So, the staging site had version 1.78 installed when you checked it.
I just upgraded to the current version.
If you check now, you'll the cart has a number of problems with it. Only change was upgrading the plugin to the current version.
Hi there,
I'm not seeing any issues in the Cart. Any chance you can show us a screenshot of what you're seeing? Have you tried clearing your browser cache?
Sure:
Up and down arrows don't work: https://www.screencast.com/t/NdaMliYTd
Up and down arrows don't work and conflict with font awesome: https://www.screencast.com/t/0CGIbkV9e
You should be able to reproduce these errors without any problems. I don't know why they are occurring though.
Any chance you can disable any caching enabled on the staging site?
As far as I know, Kinsta doesn't use a CDN on their staging site. I don't have any caching plugins, just the Kinta CDN.
I do use autoptimize -- that does some caching I think.
Hi there,
which browser are you seeing the issues?
The only issue i can see on the main browsers is there is the text hover underline that has been applied to all anchor tags
I updated the main site to make troubleshooting easier.
The cart functionality isn't working. I can't increase or decrease quantities.
Here's a video so you can see what I see:
https://youtu.be/VKeFxRCHV_0
I did make the changes live on the site -- so folks can't change quantities when they purchase. I appreciate your assistance in getting this matter rapidly resolved.
-Paul
Here's what I see on the staging site:
Product: https://www.screencast.com/t/T8fzr0FI
Cart: https://www.screencast.com/t/j1X3vQKtl4
On the live site, the buttons are indeed broken. My assumption is that the caching hasn't updated, as it looks like our woocommerce.js file isn't doing what it needs to do.
I tried to check the source for our woocommerce.js file, but everything is minified/combined, so it's impossible to tell whether it has been updated to the latest version.
I tried disabling Autoptimize completely to fix the minification issue and that fixed the broken button.s Evidently the cart issue is connected autoptimize mininfication scripts. Any suggestions on getting autoptomize to work with GP premium?
Hmm, Autoptimize shouldn't be an issue (we use it here on this website).
Can you make sure your javascript options match what we show here?: https://generatepress.com/fastest-wordpress-theme/