- This topic has 26 replies, 4 voices, and was last updated 2 years, 2 months ago by Tom.
-
AuthorPosts
-
January 17, 2022 at 4:52 am #2083020Sam
We do not have a cache plugin. We are hosted on Kinsta so only have their server cache and then autoptimize. I have disabled autoptimize and purged the server cache and I am still getting the issue.
January 17, 2022 at 5:02 am #2083034DavidStaffCustomer SupportOK so i sounds like a conflict between the two scripts … although i have no idea what the Paypal payments would do to interfere here.
I am going to ask Tom to take a look.
In the meantime is it worth asking the paypal plugin support on ‘excluding’ its scripts on Non Woo pages ?January 17, 2022 at 5:32 am #2083068SamOK right, at least we know what the deal is then. Hopefully Tom has an idea of what causing the conflict.
I will ask Woo, but the answer is likely to be less than helpful as I have asked before on a performance level and they just said that is the way it is… Both Paypal payments and the official Stripe plugin both load their scripts site-wide which is very annoying because the paypal loads a lot of scripts even when not needed which is not very good for performance.
January 17, 2022 at 6:19 am #2083106DavidStaffCustomer SupportI know Stripe ‘needs’ to run site wide for security reasons, could assume that PayPal does too. I have passed onto Tom to take a look – lets see what he has to say.
January 17, 2022 at 5:37 pm #2083898TomLead DeveloperLead DeveloperHi there,
Infinite scroll seems to be working for me at the moment. Can you confirm that the PayPal plugin is still activated?
January 18, 2022 at 2:04 am #2084182SamHi Tom that is strange as I just purged the server cache and loaded a fresh incognito window and it still doesn’t work for me. Sometimes I find you need to go a page or two in before it stops working.
Make sure to test it on a mobile device not desktop as that is where I see the issue. Desktop seems ok.
thanks
SamJanuary 18, 2022 at 3:57 pm #2085259TomLead DeveloperLead DeveloperAha, it works on mobile in developer tools, but not on my actual phone. That makes it a little harder to debug.
Just to try to narrow the error down – does it make any difference if you disable the masonry feature?
January 19, 2022 at 1:40 am #2085602SamHi Tom, yeah I tried that and it didn’t help. Only thing that works is pagination but I guess that is because it reloading the page.
The other funny thing is that I spoke to PayPal payments about loading the script on non woocommerce pages and they said to turn off the “buttons on mini cart” setting (we are using mini cart in our menus). However, even though the PayPal scripts are not loading on non-woocommerce pages the problem still remains.
January 19, 2022 at 4:05 am #2085717DavidStaffCustomer SupportI assume the Paypal is still active on the staging site ?
This time when i tested the feed loaded – it happily loaded around 5 times before it stopped working.January 19, 2022 at 4:27 am #2085733SamYes it is still active. I have seen that behaviour too. It might load a number of pages and then get stuck. However, there is no consistency as to how many.
Could it be causing some sort of resource/storage issue?
January 19, 2022 at 8:59 am #2086176DavidStaffCustomer SupportI shared the errors with Tom – hopefully it will give us some insight on the issue – we’ll keep you posted
January 20, 2022 at 10:08 pm #2088148TomLead DeveloperLead DeveloperSo it looks like the error is coming from the infinite scroll javascript itself – not our script that controls it.
My guess is that there is some sort of error in the PayPal plugin that is trickling down and causing the issue with infinite scroll. It would definitely be good to get their input on it.
-
AuthorPosts
- You must be logged in to reply to this topic.