Fatal Error – Activation fails on large stores due to WP_Query
-
Hi Team,
We’ve had issues activating the plugin on our store.
Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes) in /www/theredcowcomau_719/public/wp-includes/wp-db.php on line 2022
Looking into the activation code I can see the plugin attempts to load *every* WooCommerce order into memory. This will cause issues for many stores due to their size or hosting limitations.
See
td_run_at_activation
A suggestion would be to do any metadata checks when needed per order.
I hope that helps
Thanks!
Morgan
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Fatal Error – Activation fails on large stores due to WP_Query’ is closed to new replies.