• Resolved roopasree1

    (@roopasree1)


    Hello,
    Our clients are using your plugin with WooCommerce Extra Product Options Pro plugin. They set up the discount rules for some products, the same product is added an extra option using the extra product option plugin.
    The extra added option is a checkbox field with price data. The option was enabled and then clicked the add to cart button the page goes blank ,and if I try to go back I get a critical error in WordPress.

    The error message is:
    2021-03-01 12:28:23.422551 [NOTICE] [358482] [2.121.92.62:53478:HTTP2-31#APVH_ezshopper.co.uk:443] [STDERR] PHP Fatal error:  Allowed memory size of 1073741824 bytes exhausted (tried to allocate 1175552 bytes) in /home/aeeeefbf/public_html/wp-includes/wp-db.php on line 1416
    2021-03-01 12:25:47.199778 [NOTICE] [358482] [2.121.92.62:53428:HTTP2-33#APVH_ezshopper.co.uk:443] [STDERR] PHP Fatal error:  Allowed memory size of 536870912 bytes exhausted (tried to allocate 262144 bytes) in /home/aeeeefbf/public_html/wp-includes/class-wp-fatal-error-handler.php on line 34
    2021-03-01 12:15:15.700161 [NOTICE] [312007] [2.121.92.62:53296:HTTP2-687#APVH_ezshopper.co.uk:443] [STDERR] PHP Fatal error:  Allowed memory size of 385875968 bytes exhausted (tried to allocate 356352 bytes) in /home/aeeeefbf/public_html/staging/wp-includes/wp-db.php on line 1416
    2021-03-01 12:08:02.203211 [NOTICE] [312007] [2.121.92.62:53214:HTTP2-17#APVH_ezshopper.co.uk:443] [STDERR] PHP Fatal error:  Allowed memory size of 385875968 bytes exhausted (tried to allocate 405504 bytes) in /home/aeeeefbf/public_html/staging/wp-includes/wp-db.php on line 1416

    I am a developer so i checked the issue technically. I believe that the issue is due to the hook ‘woocommerce_before_calculate_totals’, it is modified from your plugin so the cart_object is modified to a bulk data. The same hook is used to the extra product option plugin, the bulk loop is caused to exceed the memory limit. Could you please help me to solve this issue?

    Thank you in advance

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Compatibility issue with WooCommerce Extra Product Options Pro plugin’ is closed to new replies.