• Hi guys, after I updated my shop to Woocommerce 2.6.4 and putting many products on sale, the shop (especially subcategories with sale products) became extremely slow. TTFB of 20s and more is no exception. I talked to our host and they noticed that we now have frequent 100% CPU load (150 visitors a day only) so we upgraded to 3 CPU, but the performance is still really low. Once the page loads, it goes really fast. I have gone through all possibilities like dbase repair, caching with WP rocket, image smushing, css/js compression, all to no avail. What could be causing the long response times (only since the upgrade)?

    • This topic was modified 7 years, 7 months ago by pascalwinnen.
Viewing 1 replies (of 1 total)
  • Thread Starter pascalwinnen

    (@pascalwinnen)

    I could narrow down the issue to a “division by zero” issue in Woocommerce:

    flatsome_presentage_bubble()
    wp-content/themes/Flatsome 3.0/flatsome/woocommerce/loop/sale-flash.php:37
    wc_get_template()
    wp-content/plugins/woocommerce/includes/wc-template-functions.php:685
    woocommerce_show_product_loop_sale_flash()
    Unknown location
    do_action(‘woocommerce_before_shop_loop_item’)
    wp-content/themes/Flatsome 3.0/flatsome/woocommerce/content-product.php:45
    load_template(‘~/wp-content/themes/Flatsome 3.0/flatsome/woocommerce/content-product.php’)
    wp-content/plugins/woocommerce/includes/wc-core-functions.php:173
    wc_get_template_part()
    wp-content/themes/Flatsome 3.0/flatsome/woocommerce/layouts/category.php:39
    load_template(‘~/wp-content/themes/Flatsome 3.0/flatsome/woocommerce/layouts/category.php’)
    wp-content/plugins/woocommerce/includes/wc-core-functions.php:173
    wc_get_template_part()
    wp-content/themes/Flatsome 3.0/flatsome/woocommerce/archive-product.php:22
    wc_get_template()
    wp-content/plugins/woocommerce/templates/taxonomy-product_cat.php:22

Viewing 1 replies (of 1 total)
  • The topic ‘Woocommerce 2.6.4 subcategories slow?’ is closed to new replies.