• Resolved romcb

    (@romcb)


    Hello, we have been using the plugin for several months without problems, but recently, when updating the feeds, it seems that we are experiencing some problems with cron jobs, as they seem to go into a loop or get stuck, and the use of CPU It goes up to 100% and the server goes down in a matter of minutes.

    When I disable the plugin, the CPU usage returns to normal quickly.

    I tried to check the Debug Log, but the date shows a log from several months ago:

    https://libreriairbe.com/wp-content/uploads/woo-product-feed-pro/logs/debug.txt

    I also tried to check the WooCommerce Fatal Errors Log, but I didn’t find anything relevant.

    What else could I check to find the cause of this problem? Thanks for your help !

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • supportadtribes

    (@supportadtribes)

    Hi,

    Thanks for using our plugin and reaching out to us. It seems like your feed hasn’t been processing/updating since june this year.

    Did you already check your WooCommerce fatal error logs of the last couple of days to see what might be causing it? This is where you can find those logs: https://woo.com/document/finding-php-error-logs/

    Best,

    CJ

    Thread Starter romcb

    (@romcb)

    Yes, I did check the WooCommerce Fatal Errors Logs of the last couple of days, but I didn’t find anything related to the plugin.

    Can you share the content of the debug.log with us?

    Thread Starter romcb

    (@romcb)

    Sure ! These are the last 2 logs:

    fatal-errors-2023-12-21-2fae949dcfdfc6a3274b81b823d87549.log

    2023-12-21T18:17:38+00:00 CRITICAL Uncaught Error: Call to a member function get_tax_class() on null in /mnt/data/home/871630.cloudwaysapps.com/ayvmztueex/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php:232 Stack trace: #0 /mnt/data/home/871630.cloudwaysapps.com/ayvmztueex/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php(658): WC_Cart_Totals->get_items_from_cart() #1 /mnt/data/home/871630.cloudwaysapps.com/ayvmztueex/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php(150): WC_Cart_Totals->calculate_item_totals() #2 /mnt/data/home/871630.cloudwaysapps.com/ayvmztueex/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php(141): WC_Cart_Totals->calculate() #3 /mnt/data/home/871630.cloudwaysapps.com/ayvmztueex/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart.php(1408): WC_Cart_Totals->__construct() #4 /mnt/data/home/871630.cloudwaysapps.com/ayvmztueex/public_html/wp-content/themes/flatsome/inc/woocommerce/class-mini-cart.php(97): WC_Cart->calculate_totals() #5 /mnt/data/home/871630.cloudwaysapps.com/ayvmztueex/public_html/wp-includes/class-wp-hook.php(324): Flatsome\WooCommerce\MiniCart->cart_item_alter_quantity() #6 /mnt/data/home/871630.cloudwaysapps.com/ayvmztueex/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #7 /mnt/data/home/871630.cloudwaysapps.com/ayvmztueex/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #8 /mnt/data/home/871630.cloudwaysapps.com/ayvmztueex/public_html/wp-admin/admin-ajax.php(203): do_action() #9 {main} thrown en /mnt/data/home/871630.cloudwaysapps.com/ayvmztueex/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php en la línea 232 2023-12-21T18:18:42+00:00 CRITICAL Uncaught Error: Call to a member function get_tax_class() on null in /mnt/data/home/871630.cloudwaysapps.com/ayvmztueex/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php:232 Stack trace: #0 /mnt/data/home/871630.cloudwaysapps.com/ayvmztueex/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php(658): WC_Cart_Totals->get_items_from_cart() #1 /mnt/data/home/871630.cloudwaysapps.com/ayvmztueex/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php(150): WC_Cart_Totals->calculate_item_totals() #2 /mnt/data/home/871630.cloudwaysapps.com/ayvmztueex/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php(141): WC_Cart_Totals->calculate() #3 /mnt/data/home/871630.cloudwaysapps.com/ayvmztueex/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart.php(1408): WC_Cart_Totals->__construct() #4 /mnt/data/home/871630.cloudwaysapps.com/ayvmztueex/public_html/wp-content/themes/flatsome/inc/woocommerce/class-mini-cart.php(97): WC_Cart->calculate_totals() #5 /mnt/data/home/871630.cloudwaysapps.com/ayvmztueex/public_html/wp-includes/class-wp-hook.php(324): Flatsome\WooCommerce\MiniCart->cart_item_alter_quantity() #6 /mnt/data/home/871630.cloudwaysapps.com/ayvmztueex/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #7 /mnt/data/home/871630.cloudwaysapps.com/ayvmztueex/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #8 /mnt/data/home/871630.cloudwaysapps.com/ayvmztueex/public_html/wp-admin/admin-ajax.php(203): do_action() #9 {main} thrown en /mnt/data/home/871630.cloudwaysapps.com/ayvmztueex/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php en la línea 232 2023-12-21T18:19:25+00:00 CRITICAL Uncaught Error: Call to a member function get_tax_class() on null in /mnt/data/home/871630.cloudwaysapps.com/ayvmztueex/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php:232 Stack trace: #0 /mnt/data/home/871630.cloudwaysapps.com/ayvmztueex/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php(658): WC_Cart_Totals->get_items_from_cart() #1 /mnt/data/home/871630.cloudwaysapps.com/ayvmztueex/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php(150): WC_Cart_Totals->calculate_item_totals() #2 /mnt/data/home/871630.cloudwaysapps.com/ayvmztueex/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php(141): WC_Cart_Totals->calculate() #3 /mnt/data/home/871630.cloudwaysapps.com/ayvmztueex/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart.php(1408): WC_Cart_Totals->__construct() #4 /mnt/data/home/871630.cloudwaysapps.com/ayvmztueex/public_html/wp-content/themes/flatsome/inc/woocommerce/class-mini-cart.php(97): WC_Cart->calculate_totals() #5 /mnt/data/home/871630.cloudwaysapps.com/ayvmztueex/public_html/wp-includes/class-wp-hook.php(324): Flatsome\WooCommerce\MiniCart->cart_item_alter_quantity() #6 /mnt/data/home/871630.cloudwaysapps.com/ayvmztueex/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #7 /mnt/data/home/871630.cloudwaysapps.com/ayvmztueex/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #8 /mnt/data/home/871630.cloudwaysapps.com/ayvmztueex/public_html/wp-admin/admin-ajax.php(203): do_action() #9 {main} thrown en /mnt/data/home/871630.cloudwaysapps.com/ayvmztueex/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php en la línea 232

    fatal-errors-2023-12-17-2fae949dcfdfc6a3274b81b823d87549.log

    2023-12-17T04:09:41+00:00 CRITICAL Uncaught Error: Call to a member function is_type() on bool in /mnt/data/home/871630.cloudwaysapps.com/ayvmztueex/public_html/wp-content/plugins/wt-woocommerce-packing-list/admin/modules/customizer/classes/class-customizer-product-table.php:1064 Stack trace: #0 /mnt/data/home/871630.cloudwaysapps.com/ayvmztueex/public_html/wp-content/plugins/wt-woocommerce-packing-list/admin/modules/customizer/classes/class-customizer-product-table.php(1159): Wf_Woocommerce_Packing_List_CustomizerLib::sort_items() #1 /mnt/data/home/871630.cloudwaysapps.com/ayvmztueex/public_html/wp-content/plugins/wt-woocommerce-packing-list/admin/modules/customizer/classes/class-customizer-product-table.php(161): Wf_Woocommerce_Packing_List_CustomizerLib::generate_product_table_product_row_html() #2 /mnt/data/home/871630.cloudwaysapps.com/ayvmztueex/public_html/wp-content/plugins/wt-woocommerce-packing-list/public/modules/invoice/invoice.php(438): Wf_Woocommerce_Packing_List_CustomizerLib::set_product_table() #3 /mnt/data/home/871630.cloudwaysapps.com/ayvmztueex/public_html/wp-includes/class-wp-hook.php(324): Wf_Woocommerce_Packing_List_Invoice->generate_template_html() #4 /mnt/data/home/871630.cloudwaysapps.com/ayvmztueex/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters() #5 /mnt/data/home/871630.cloudwaysapps.com/ayvmztueex/public_html/wp-content/plugins/wt-woocommerce-packing-list/admin/modules/customizer/customizer.php(884): apply_filters() #6 /mnt/data/home/871630.cloudwaysapps.com/ayvmztueex/public_html/wp-content/plugins/wt-woocommerce-packing-list/public/modules/invoice/invoice.php(997): Wf_Woocommerce_Packing_List_Customizer->generate_template_html() #7 /mnt/data/home/871630.cloudwaysapps.com/ayvmztueex/public_html/wp-content/plugins/wt-woocommerce-packing-list/public/modules/invoice/invoice.php(963): Wf_Woocommerce_Packing_List_Invoice->generate_order_template() #8 /mnt/data/home/871630.cloudwaysapps.com/ayvmztueex/public_html/wp-includes/class-wp-hook.php(324): Wf_Woocommerce_Packing_List_Invoice->print_it() #9 /mnt/data/home/871630.cloudwaysapps.com/ayvmztueex/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #10 /mnt/data/home/871630.cloudwaysapps.com/ayvmztueex/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #11 /mnt/data/home/871630.cloudwaysapps.com/ayvmztueex/public_html/wp-content/plugins/wt-woocommerce-packing-list/admin/class-wf-woocommerce-packing-list-admin.php(818): do_action() #12 /mnt/data/home/871630.cloudwaysapps.com/ayvmztueex/public_html/wp-includes/class-wp-hook.php(324): Wf_Woocommerce_Packing_List_Admin->print_window() #13 /mnt/data/home/871630.cloudwaysapps.com/ayvmztueex/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #14 /mnt/data/home/871630.cloudwaysapps.com/ayvmztueex/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #15 /mnt/data/home/871630.cloudwaysapps.com/ayvmztueex/public_html/wp-settings.php(643): do_action() #16 /mnt/data/home/871630.cloudwaysapps.com/ayvmztueex/public_html/wp-config.php(107): require_once(‘/mnt/data/home/…’) #17 /mnt/data/home/871630.cloudwaysapps.com/ayvmztueex/public_html/wp-load.php(50): require_once(‘/mnt/data/home/…’) #18 /mnt/data/home/871630.cloudwaysapps.com/ayvmztueex/public_html/wp-admin/admin.php(34): require_once(‘/mnt/data/home/…’) #19 /mnt/data/home/871630.cloudwaysapps.com/ayvmztueex/public_html/wp-admin/index.php(10): require_once(‘/mnt/data/home/…’) #20 {main} thrown en /mnt/data/home/871630.cloudwaysapps.com/ayvmztueex/public_html/wp-content/plugins/wt-woocommerce-packing-list/admin/modules/customizer/classes/class-customizer-product-table.php en la línea 1064 2023-12-17T04:09:51+00:00 CRITICAL Uncaught Error: Call to a member function is_type() on bool in /mnt/data/home/871630.cloudwaysapps.com/ayvmztueex/public_html/wp-content/plugins/wt-woocommerce-packing-list/admin/modules/customizer/classes/class-customizer-product-table.php:1064 Stack trace: #0 /mnt/data/home/871630.cloudwaysapps.com/ayvmztueex/public_html/wp-content/plugins/wt-woocommerce-packing-list/admin/modules/customizer/classes/class-customizer-product-table.php(1159): Wf_Woocommerce_Packing_List_CustomizerLib::sort_items() #1 /mnt/data/home/871630.cloudwaysapps.com/ayvmztueex/public_html/wp-content/plugins/wt-woocommerce-packing-list/admin/modules/customizer/classes/class-customizer-product-table.php(161): Wf_Woocommerce_Packing_List_CustomizerLib::generate_product_table_product_row_html() #2 /mnt/data/home/871630.cloudwaysapps.com/ayvmztueex/public_html/wp-content/plugins/wt-woocommerce-packing-list/public/modules/invoice/invoice.php(438): Wf_Woocommerce_Packing_List_CustomizerLib::set_product_table() #3 /mnt/data/home/871630.cloudwaysapps.com/ayvmztueex/public_html/wp-includes/class-wp-hook.php(324): Wf_Woocommerce_Packing_List_Invoice->generate_template_html() #4 /mnt/data/home/871630.cloudwaysapps.com/ayvmztueex/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters() #5 /mnt/data/home/871630.cloudwaysapps.com/ayvmztueex/public_html/wp-content/plugins/wt-woocommerce-packing-list/admin/modules/customizer/customizer.php(884): apply_filters() #6 /mnt/data/home/871630.cloudwaysapps.com/ayvmztueex/public_html/wp-content/plugins/wt-woocommerce-packing-list/public/modules/invoice/invoice.php(997): Wf_Woocommerce_Packing_List_Customizer->generate_template_html() #7 /mnt/data/home/871630.cloudwaysapps.com/ayvmztueex/public_html/wp-content/plugins/wt-woocommerce-packing-list/public/modules/invoice/invoice.php(963): Wf_Woocommerce_Packing_List_Invoice->generate_order_template() #8 /mnt/data/home/871630.cloudwaysapps.com/ayvmztueex/public_html/wp-includes/class-wp-hook.php(324): Wf_Woocommerce_Packing_List_Invoice->print_it() #9 /mnt/data/home/871630.cloudwaysapps.com/ayvmztueex/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #10 /mnt/data/home/871630.cloudwaysapps.com/ayvmztueex/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #11 /mnt/data/home/871630.cloudwaysapps.com/ayvmztueex/public_html/wp-content/plugins/wt-woocommerce-packing-list/admin/class-wf-woocommerce-packing-list-admin.php(818): do_action() #12 /mnt/data/home/871630.cloudwaysapps.com/ayvmztueex/public_html/wp-includes/class-wp-hook.php(324): Wf_Woocommerce_Packing_List_Admin->print_window() #13 /mnt/data/home/871630.cloudwaysapps.com/ayvmztueex/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #14 /mnt/data/home/871630.cloudwaysapps.com/ayvmztueex/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #15 /mnt/data/home/871630.cloudwaysapps.com/ayvmztueex/public_html/wp-settings.php(643): do_action() #16 /mnt/data/home/871630.cloudwaysapps.com/ayvmztueex/public_html/wp-config.php(107): require_once(‘/mnt/data/home/…’) #17 /mnt/data/home/871630.cloudwaysapps.com/ayvmztueex/public_html/wp-load.php(50): require_once(‘/mnt/data/home/…’) #18 /mnt/data/home/871630.cloudwaysapps.com/ayvmztueex/public_html/wp-admin/admin.php(34): require_once(‘/mnt/data/home/…’) #19 /mnt/data/home/871630.cloudwaysapps.com/ayvmztueex/public_html/wp-admin/index.php(10): require_once(‘/mnt/data/home/…’) #20 {main} thrown en /mnt/data/home/871630.cloudwaysapps.com/ayvmztueex/public_html/wp-content/plugins/wt-woocommerce-packing-list/admin/modules/customizer/classes/class-customizer-product-table.php en la línea 1064 2023-12-17T05:24:02+00:00 CRITICAL Cannot redeclare wp_cache_init() (previously declared in /mnt/data/home/.code/redis-cache-pro/api.php:42) en /mnt/data/home/871630.cloudwaysapps.com/ayvmztueex/public_html/wp-includes/cache.php en la línea 22

    Hi,

    Thanks for these. Those are relative old errors, dating 21 and 17 december of last year. Are these the most recent ones? If these are the most recent ones than there is nothing related to our plugin that could explain why your feed is stuck processing.

    Can you try lowering the batch size of the plugin from the default 750 products per batch to a much lower number, such as 250? This is how you can do so: https://adtribes.io/batch-size-configuration-product-feed/

    Hopefully this makes a difference?

    Thread Starter romcb

    (@romcb)

    Yes, I was already able to generate an updated feed with that configuration

    Investigating further, my problem seems to be related to other cron jobs and not to the plugin, thanks for your help!

    Perfect, thanks for the heads-up!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Sudden high CPU usage, Cron jobs getting stuck’ is closed to new replies.