Support » Plugin: Query Monitor » Conflict with WooCommerce Subscriptions

  • Resolved jodzeee

    (@jodzeee)


    We were getting a blank error upon checkout and other oddities until I deactivated Query Monitor.

    Query Monitor was installed in late January to help troubleshoot plugins not showing they needed to be updated. We eventually found the culprit and fixed it, then updated many plugins that were a few months old. Ever since then, our subscriptions were completely messed up. Among other crazy things happening, we were getting duplicate orders — sometimes for $0.00 and sometimes they were actually charged twice.

    Users reported receiving an error, but had no idea what the error was. When testing, sometimes I saw “Internal Server Error” but sometimes just a blank error message. I thought the Square payment gateway might be the issue or another WooCommerce-related plugin. I eventually tried Stripe instead and had the same issue.

    Finally I bit the bullet and deactivated every plugin and narrowed it down to Query Monitor. Since deactivating it, everything has returned back to normal. (I have not updated to the latest version of WooCommerce or Square yet, though).

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author John Blackbourn

    (@johnbillion)

    WordPress Core Developer

    Thanks for the report.

    What’s the fatal error that occurs when you see Internal Server Error? You can find it in your PHP error log.

    From the WooCommerce Status Log:

    2019-04-10T02:11:00+00:00 CRITICAL Allowed memory size of 167772160 bytes exhausted (tried to allocate 20480 bytes) in /home/ckirck19/public_html/wp-content/plugins/query-monitor/classes/Backtrace.php on line 97
    
    2019-04-10T15:24:36+00:00 CRITICAL Allowed memory size of 167772160 bytes exhausted (tried to allocate 20480 bytes) in /home/ckirck19/public_html/wp-content/plugins/query-monitor/classes/Backtrace.php on line 58
    
    2019-04-10T17:08:47+00:00 CRITICAL Allowed memory size of 167772160 bytes exhausted (tried to allocate 20480 bytes) in /home/ckirck19/public_html/wp-includes/functions.php on line 5804
    
    2019-04-10T19:45:03+00:00 CRITICAL Allowed memory size of 167772160 bytes exhausted (tried to allocate 20480 bytes) in /home/ckirck19/public_html/wp-content/plugins/query-monitor/classes/Backtrace.php on line 58
    
    2019-04-10T20:30:56+00:00 CRITICAL Allowed memory size of 167772160 bytes exhausted (tried to allocate 20480 bytes) in /home/ckirck19/public_html/wp-content/plugins/query-monitor/classes/Backtrace.php on line 58
    • This reply was modified 1 year, 2 months ago by jodzeee.
    Plugin Author John Blackbourn

    (@johnbillion)

    WordPress Core Developer

    Ah so this is a memory issue rather than a compatibility issue. Your server has a memory limit of 160MB which is very low, especially for an e-commerce site. You’ll need to ask your host to increase that limit, preferably to at least 512MB.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Conflict with WooCommerce Subscriptions’ is closed to new replies.