Having serious memory issues caused by Woocommerce AND WooCommerce PayPal
-
My site has been having intermittent errors that have to do with memory for awhile. Last night my entire site was down (after initiating a Spectra plugin database update). The site has been restored from a backup, but still has issues (not related to Spectra – I believe that was just the straw that broke the camel’s back, so to speak).
My hosting provider’s tech support took a look at everything and said that the Woocommerce core AND WooCommerce PayPal Payments is causing an issue with the memory. Here is one of the errors:
% wp-cli plugin list
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to
allocate 10485760 bytes) in
/usr/xxxxxxdeleted for privacy/wp-content/plugins/woocommerce/src/StoreApi/Utilities/LocalPickupUtils.php
on line 59
Here’s another error:
PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 10485760 bytes) in /usr/xxxxxxdeleted for privacy/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-wc-subscriptions/src/Helper/SubscriptionHelper.php on line 55
I have 4 GB of memory allocated for my website (my hosting provider set it up to be that large). Last night during testing, they upped it to 8GB.
Here is a bit from an email they sent me last night:There a variety of errors that we are seeing such as this- PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 32768 bytes) These are very deceptive for a couple of reasons. Reason 1, for a while there your memory limit was set to 8GB and that memory ‘exhaustion’ is for less than 300MB. So, that cannot be trusted. The other problem is that this error is not actually telling us what is going on. Woocommerce and woocommerce-paypal-payments are both throwing these errors on specific lines.
Please help. My site is my family’s livelihood, and while it’s currently functioning, it’s still having these memory errors from Woocommerce and the Woocommerce Paypal plugin. I’m afraid to initiate any plugin updates or database updates, etc. for fear of breaking the site again (since there is something drastically wrong concerning the memory).
I have the most current version of WordPress, Woocommerce, and the Woocommerce Paypal plugin.
Thank you for any help you can provide.The page I need help with: [log in to see the link]
- You must be logged in to reply to this topic.