Forum Replies Created

Viewing 15 replies - 1 through 15 (of 190 total)
  • Thread Starter Rico

    (@nascas)

    Hi!
    thanks for your reply. Before I do the test you proposed, here’s the feedback from hosting provider.

    They did not find any critical PHP errors related to the add-to-cart process. The debug log mainly contains notices and deprecated warnings from the WoonderShop theme, for example early translation loading and deprecated dynamic properties.

    They suspect the WoonderShop theme contains older code which is not fully adapted to newer PHP and WP versions, and that this may be causing compatibility issues.

    However, there is one detail that I believe is particularly important.

    As already mentioned, we have another site, petsy.hr, using the same WoonderShop theme and exactly the same PHP version, PHP 8.2.31, on the same hosting infrastructure. Adding products to the cart works correctly there without any issues.

    The main obvious difference between the two sites is the WooCommerce version:

    mojprins.si: current WooCommerce version
    petsy.hr: WooCommerce 10.4.4

    So while the hosting provider suspects the older theme code and compatibility with newer PHP versions, the same theme is working correctly on the same PHP 8.2.31 environment on petsy.hr.

    This is why I still suspect that the problem may be related to a change introduced in a newer WooCommerce version, or that the newer WooCommerce version is exposing a compatibility issue with the WoonderShop theme or another plugin.

    The hosting provider also tested mojprins.si with PHP 7.4 and reported that the cart worked correctly. However, PHP 7.4 is obviously not a viable long-term solution, and the site is intended to run on PHP 8.2.

    Could you please advise whether there have been any recent changes to add-to-cart, AJAX, cart fragments, or session handling since WooCommerce 10.4.4 that could expose compatibility issues with older themes or plugins?

    Given that the same theme and PHP 8.2.31 combination works correctly on petsy.hr, I believe the WooCommerce version difference may be relevant.

    Thread Starter Rico

    (@nascas)

    Thank you. I have now noticed one additional detail which may be important.

    When the issue occurs, the existing products remain in the cart, but clicking Add to cart does not add any new products.

    However, after performing a hard refresh with Ctrl+F5 several times, adding products to the cart starts working again. But not always. I send an email to provider and will share the informaton once I get it.

    This makes me suspect that caching may indeed be involved, but possibly cached JavaScript, AJAX/cart fragments, or another frontend resource rather than simply the cached Cart page.

    The behavior also explains why it may work on one PC or browser and fail on another, even on the same network.

    Could you please take this into account when investigating the issue, particularly the add-to-cart request and the subsequent cart refresh/AJAX requests?

    The direct ?no-cache=true Cart URL does not change the behavior. The existing cart contents are displayed correctly; the problem is that new products are not added until the hard refresh resolves the issue.

    Thread Starter Rico

    (@nascas)

    Hi!
    This seems to be working alright for a while but now it’s really weird again. You just cannot add the items to the cart.
    Here, a new video from today:
    https://streamable.com/wu9uzi

    Checked in two browsers on my PC, logged in, logged out. Can’t get it working no matter what I do.
    Went to my wife’s PC and it’s working fine (same windows version, same browser)
    iPhone iOS26: Does not work.
    iPhonr iOS18: Working randomly.

    Here’s a copy of this site with old 10.4.4. WC version and it’s working perfectly. I kept the old version on purpose.
    https://petsy.hr

    Could WC paypal payments be causing a session race condition, where its AJAX/Simulate Cart request overwrites the cart state during add-to-cart?

    Thanks for taking a look because this is really frustrating.
    R

    • This reply was modified 2 weeks ago by Rico.
    • This reply was modified 2 weeks ago by Rico.
    • This reply was modified 2 weeks ago by Rico.
    • This reply was modified 2 weeks ago by Rico.
    • This reply was modified 2 weeks ago by Rico.
    Thread Starter Rico

    (@nascas)

    Hi!
    Thanks for reaching back.

    Incognito window on iphone’s Safari= issues
    Chrome on iphone= issues
    Incognito window on PC (chrome= issues

    Did you try adding 2 items (quantity)?
    My test look like this: I add one item, thn add another. Often when adding third one (and change quantity from 1 to 2) the third item is not added to the cart. Last time I had do add it three times and then it stayed there.

    What do you think?
    I’m really surprised you can’t replicate this.
    Did I understand you correctly – you managed to replicate the slovene language issue for the shipment?

    R.

    Thread Starter Rico

    (@nascas)

    Nope, that didn’t solve anything.
    No performance or cache plugins are present.
    Like I said, the croatian website is a duplicate – only with older version of the WC plugin.
    So the only thing that differs is the plugin version which is obviously causing the cart and translation issues.

    The whole situation is really weird. Sometimes the cart icon is showing 0 items and the cart page is showing 1 item (but not always). Sometimes I have to add the item three times to finally show up in the cart page. It’s totally unpredictable and I’m 100% sure that did not happen before. I’m adding coupons regularly and I’m testing every time if everything was working correctly.

    I don’t mind the cart icon being inaccurate (and translations are faulty) but if a buyer adds an item to the cart two times and the item does not show up – then we have a serious problem.

    90% issues happen after themes/plugins pdates and this is getting really time consuming.

    • This reply was modified 2 months, 3 weeks ago by Rico.
    • This reply was modified 2 months, 3 weeks ago by Rico.
    Thread Starter Rico

    (@nascas)

    Hm, did some more testing. On my iPhone the issues are still present. Weird.
    However, on my other computer (laptop) everything seems to be working fine.
    Except for the Shipping translation. This must be the update fault since it’s working normally on older versions.
    Server does not use caching, I’ve checked that already.
    This is really weird. You get the message that item has been added to the cart but the cart does not contain the added item.
    Is there a way I can upload older version of WC and try it out?

    Thread Starter Rico

    (@nascas)

    Here, another browser – Firefox. Cleared everything (all the checkmarks were selected).
    https://streamable.com/xwfzni

    I didn’t use the incognito window because 99% of visitors does not even know what this is.
    Clearly this is a WC or a theme issue. But like I said – older versions of WC are working good on the same themes.

    Thread Starter Rico

    (@nascas)

    Sure!
    website on the video: http://www.mojprins.si
    The same site with old WC plugin: http://www.pesty.hr

    Status report is a different site, sorry for the confusion.

    Thread Starter Rico

    (@nascas)

    Hi!

    Hm, that is strange indeed! I can open the video with no problems at the link above.
    Here’s another one, I uploaded it somewhere else: https://streamable.com/9wf0i4

    • This reply was modified 2 months, 3 weeks ago by Rico.
    Thread Starter Rico

    (@nascas)

    Hi,

    Thank you.
    I have never reported anything to a GitHub, I usually post the problem here on these forums. May I ask what’s the difference posting elsewhere?
    By the way

    As far the Paypal button – I’m sure this isn’t Paypal Payments plugin’s fault. I updated this plugin on my croatian website and the button remained translated. This lead me again to the ypur WC plugin causing the translation issues. Currently there is 10.4.4 version and everything works well.
    By the way: croatian translation for ‘shipment” is working so far but I don’t want to update the WC plugin yet for the reasons explained below:

    Cart issue is even worse than I thought. When you add the item – it actually doesn’t add it at all!
    Here is the video:
    https://limewire.com/?referrer=pq7i8xx7p2
    No caching plugins here!
    This is REALLY disturbing as buyers can’t add multiple items to the cart!
    I have never experienced such behaviour. :/

    • This reply was modified 2 months, 3 weeks ago by Rico.
    Thread Starter Rico

    (@nascas)

    Hi,

    All of my sites are single-lingual.
    Except for one site which uses licensed Polylang plugin.
    But I assume that does not matter because they all have the same symptoms.
    However, all of these sites have themes from the same provider.

    Here’s the status report:
    https://pastebin.com/MTKf1S3G

    Thank you for your support.

    R.

    Thread Starter Rico

    (@nascas)

    Hi!

    Thanks for your reply.

    I checked Dashboard > Updates and WordPress says: “All translations are up to date.”

    So this does not appear to be an outdated translation file issue. The problem seems to be that the “Shipment” string is not being translated correctly in the latest WooCommerce version, possibly due to a string/context/text-domain issue. I fixed this translation by adding a short PHP code but then I saw every other sites suffer from the same issue after WC being updated.

    Paypal button does not have its own translation, the update caused the button not to be in slovenian language anymore. Like I said, all these problems were starting to show up after the update was inicitated. The same goes for the cart behaviour.
    I’m managing 15+ sites and all are showing the same issues.

    Do you still think disabling all plugins could solve this?
    Have a nice day,

    R

    Thread Starter Rico

    (@nascas)

    The problem is that the people managing the stores almost never mark orders as “completed” and leave them in “on hold” status. They check the payment, ship the product, and that’s it. As a result, the analytics remain completely empty in such cases. In my opinion, that’s a major fail.

    Review sent, thank you for your support!

    Thread Starter Rico

    (@nascas)

    Sorry for the misunderstanding. Not a native speaker. 😉

    After hosting provider intervened – the old reports are now working normally.
    Now all my sites are working as they should. Interestingly, the three sites that were not working yesterday, now have HPOS enabled (along with compability mode).

    If I disable the HPOS and uncheck the compatibility mode – it still works. So the provider must have echanged something. I’m guessing the MySQL version or something. Because this didn’t make sense yesterday. Just three sites on the same server weren’t showing Reports.

    I didn’t performed the test yet since everything is working. It’s too time consumimg. I’m glad the old reports are working and I hope they will work for a long time. Because newer Analytics is too confusing and like we discussed here – it’s not working correctly. :/

    Thread Starter Rico

    (@nascas)

    Hi,

    It’s fixed.
    I contacted hosting provider. They said there wasn’t a checkmark for the option “enable compabilty mode”. That was most likely true since I never activate this because Order Data Storage is always set to Legacy.
    I checked other sites again and they all have HPOS disabled (and compatibility checkmark is NOT active) but the Reports are working normally.

    Now, I’m 100% sure this option was greyed so I couldn’t select to HPOS and than resync the orders.

    Secondly, the Analytics is still not showing orders “on hold”. Even worse, total sell number includes returned orders too.

    • This reply was modified 10 months, 1 week ago by Rico.
Viewing 15 replies - 1 through 15 (of 190 total)