• Error message in WordPress immediately after upgrading.

    Warning: Invalid argument supplied for for each () in /public_html/wp-content/plugins/woocommerce/includes/data-stores/class-wc-customer-data-store-session.php on line 152

    I’m reverting to the old version till I know it’s fixed.

Viewing 5 replies - 1 through 5 (of 5 total)
  • I also experience this issue after updating to Woocommerce version 8.9.0. I have experienced this error message on the frontend homepage multiple times on several devices, both logged-in and not logged in.

    Thread Starter josmoody

    (@josmoody)

    In my situation, this issue was caused by an incompatibility with a shipping insurance plugin that I use. The team responsible for the plugin is aware of the problem and is working on fixing it. However, in your case, @jesperh95, I suggest going through the plugins that interact with WooCommerce, disabling them one by one, clearing the cache, and observing if the issue goes away. My hunch is that it’s likely a single plugin that has missed several major updates.

    • This reply was modified 6 months, 2 weeks ago by josmoody.
    Plugin Author Rodel Calasagsag a11n

    (@rodelgc)

    Thanks for doing a compatibility check @josmoody, and for reaching out to the maintainers of the affecting plugin.

    @jesperh95 I just want to ask if you were able to do a WooCommerce database update right after upgrading your WooCommerce version? The DB update seemed to have resolved this issue for some users.

    We are investigating this further through this GitHub issue by the way.

    Hi,

    Yes, I updated the database right after updating the plugin – and I received a message that the database update was done before I checked the frontend homepage. When I then checked the frontend homepage I saw the error message. I refreshed the page, and it was gone again. Then I checked on another device (not logged in), and received the same error message. But I just received the error message once on each device. When refreshing the page, the error message was gone. When I check in incognito (no prior session), I do not receive the error message.

    So to me it seems like this error message could maybe be shown once to all users of the site which have a session already before the update to 8.9.0. And I my case it did not seem like it was directly connected to the database update, since it was done before I checked the frontend homepage and received the error messages.

    Hey, @jesperh95!

    Since updating the database did not solve the issue, as per forum guidelines, can you please open a new thread so we can better assist you?
    You can link this one so our team can have access to the information you already shared here.

    We’ll be happy to help you out with this over there!

    Have a wonderful day!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Latest Woo Update causes Error’ is closed to new replies.