• 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

    https://plugins.trac.www.ads-software.com/browser/transdirect-shipping/trunk/transdirect_shipping.php#L920

    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)
  • Plugin Author transdirect

    (@transdirect)

    Hello @morganhvidt

    Thank you for contacting Transdirect Support.

    Can you please provide your email id so our technical support team can contact you further.

    Thank you
    Transdirect Support Team

Viewing 1 replies (of 1 total)
  • The topic ‘Fatal Error – Activation fails on large stores due to WP_Query’ is closed to new replies.