We are using the official woocommerce enhance ga4 plugin, the main problem here is that no ecommerce datalayer is shown on the order-received page when it is paid with apple/google-pay via stripe.
I’ve gotten the same error when upgrading to php 8. disabling the plugin prevented the site from crashing, so the source looks to be from the “Invite Anyone” plugin.