• When adding products to the cart with quantities approx. over 800, the server times out. Anything less than that appears to work fine. After adding items, I can update the cart to any quantity easily. Any ideas why the initial add doesn’t work?
    Using:
    PHP 7.1,
    Woocommerce 3.9.2,
    WC Fields Factory 3.0.3

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Yuki K a11n.

    (@yukikatayama)

    Automattic Happiness Engineer

    Hi @nbruley,

    This might be due to your PHP Time Limit or WP Memory Limit. I’d recommend contacting your host and asking them to increase those limits to see if that helps.

    Thread Starter nbruley

    (@nbruley)

    Thank you for the reply. Why would it take any longer to enter 1000 than to enter 10? Isn’t it simply a different number? I just tried entering 1000 again and the website just kept spinning without doing anything. If there is a difference in processing time, this seems to be an issue with the programming, as someone would not want to have to wait a few minutes before their quantity is added to the cart… Another bit of information is I am not tracking inventory, so that calculation would not need to be happening.

    My memory_limit is 1024M
    My max_execution_time is 180.

    Please advise with any further ideas you might have. Thanks!

    • This reply was modified 4 years, 1 month ago by nbruley.
    Plugin Support Yuki K a11n.

    (@yukikatayama)

    Automattic Happiness Engineer

    Hi @nbruley,

    This is not something I’m able to replicate on my end:

    https://d.pr/i/nHgYU7
    Link to image: https://d.pr/i/nHgYU7

    You may still need to increase that max_execution_time. Have you also increased the PHP Time Limit? If you go to WooCommerce > Status > logs and search for your most recent fatal-errors log, what error do you see that correlates to a timestamp when you tried to enter 1,000 product? If it’s due to memory exhaustion, those limits need to be raised.

    If those still do not help, please try a full theme and plugin conflict test.

    Thread Starter nbruley

    (@nbruley)

    Thank you for the detailed reply. I changed max_execution_time to 300 and still have the same issue. I deactivated all non-WooCommmerce plugins. Still no success. There are no error logs. Any ideas for next steps?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Hang when adding qty 800+ to cart’ is closed to new replies.