• Resolved jmkingfernandez

    (@jmkingfernandez)


    Hi There,

    Is there any way to speed feed updating?
    Everytime I remove/add a prodcut in the website is takes 2 days to complete.

    I have around 8 thousand prodcuts and updating it maybe be the one causing issue. but if you can help me on how to make it better would be a big help for me since I need to have the updated feed ASAP to feed real time information.

Viewing 15 replies - 1 through 15 (of 17 total)
  • Hi,

    Thanks for using our plugin and reaching out to us. Sorry to hear your feed is processing slowly. 8000 products really shouldn’t take days to complete, maybe an hour or so at max but not days.

    Are you sure the feed takes this much time? This could be caused by a WP-cron issue. Do you have it enabled in your wp-config.php or are you running an external cron?

    Thread Starter jmkingfernandez

    (@jmkingfernandez)

    I see that would be more efficient for me if it updates for just an hour.
    My Wp-con is enabled and it says it’s on aswell from from the plug in status checker.

    Any idea tips on how I can fix this?

    The plugin status checkes if the cron event needed to update our plugin is present. It doesn’t show if the WP-cron itself is active and/or enabled using an external Unix cron.

    You mention you have 8000 products, however when those are variable products with lots of variations your feed would become a lot bigger than 8000 products. Could that be the case?

    Thread Starter jmkingfernandez

    (@jmkingfernandez)

    I see, I just checked my wp-config file and can’t find “cron” anywhere, should I enter a code to enable it?
    I’m currently not sure if my theme already has wp-cron enabled or if I have a external cron, what would be the best way to check that?

    My feed contains multiple categories, and yes it’s quite a huge variation.

    Thread Starter jmkingfernandez

    (@jmkingfernandez)

    I just found out that i have a wp-cron.php on my root folder.

    This post describes how you can disable and enable the WP-cron. The second part explains how and where to enable it: https://www.siteground.com/kb/cpanel/disable-enable-wordpress-cron/

    Once you did make sure to de-activate and re-active the plugin so all cron events are being recreated.

    Thread Starter jmkingfernandez

    (@jmkingfernandez)

    Hi there,

    I have enabled the wp-cron from the config file and observed it for 2 days.
    but still dispalying same results.
    rereshing the feed takes 24hr to complete.

    Any other way to troubleshoot this problem?

    Can you share the plugin debug.log URL with us? Instructions on how to retrieve it can be found here: https://adtribes.io/send-your-debug-log-to-support/

    Thread Starter jmkingfernandez

    (@jmkingfernandez)

    would you like me to share the debug link here? or send it via email?

    Please share it with us here.

    Thread Starter jmkingfernandez

    (@jmkingfernandez)

    Thanks for sharing this with us, unfortunately nothing strange to find in it.

    Thread Starter jmkingfernandez

    (@jmkingfernandez)

    Yes,I reactivated the plugin.

    I olny have the fatal log from October 28

    2020-10-28T10:19:45+00:00 CRITICAL Uncaught Error: Call to a member function get_cart_contents_count() on null in /var/www/wp-content/themes/electro/inc/woocommerce/template-tags/header.php:33
    Stack trace:
    #0 /var/www/wp-includes/class-wp-hook.php(287): electro_header_mini_cart_icon(”)
    #1 /var/www/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
    #2 /var/www/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
    #3 /var/www/wp-content/themes/electro/inc/template-tags/header.php(48): do_action(‘electro_header_…’)
    #4 /var/www/wp-includes/class-wp-hook.php(287): electro_header_icons(”)
    #5 /var/www/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
    #6 /var/www/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
    #7 /var/www/wp-content/themes/electro/inc/template-tags/headers/header-v2.php(74): do_action(‘electro_navbar_…’)
    #8 /var/www/wp-includes/class-wp-hook.php(287): electro_navbar_v2(”)
    #9 /var/www/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
    #10 /var/www/wp-include in /var/www/wp-content/themes/electro/inc/woocommerce/template-tags/header.php on line 33

    2020-10-28T10:19:51+00:00 CRITICAL Uncaught Error: Call to a member function get_cart_contents_count() on null in /var/www/wp-content/themes/electro/inc/woocommerce/template-tags/header.php:33
    Stack trace:
    #0 /var/www/wp-includes/class-wp-hook.php(287): electro_header_mini_cart_icon(”)
    #1 /var/www/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
    #2 /var/www/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
    #3 /var/www/wp-content/themes/electro/inc/template-tags/header.php(48): do_action(‘electro_header_…’)
    #4 /var/www/wp-includes/class-wp-hook.php(287): electro_header_icons(”)
    #5 /var/www/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
    #6 /var/www/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
    #7 /var/www/wp-content/themes/electro/inc/template-tags/headers/header-v2.php(74): do_action(‘electro_navbar_…’)
    #8 /var/www/wp-includes/class-wp-hook.php(287): electro_navbar_v2(”)
    #9 /var/www/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
    #10 /var/www/wp-include in /var/www/wp-content/themes/electro/inc/woocommerce/template-tags/header.php on line 33

    2020-10-28T10:20:13+00:00 CRITICAL Uncaught Error: Call to a member function get_cart_contents_count() on null in /var/www/wp-content/themes/electro/inc/woocommerce/template-tags/header.php:33
    Stack trace:
    #0 /var/www/wp-includes/class-wp-hook.php(287): electro_header_mini_cart_icon(”)
    #1 /var/www/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
    #2 /var/www/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
    #3 /var/www/wp-content/themes/electro/inc/template-tags/header.php(48): do_action(‘electro_header_…’)
    #4 /var/www/wp-includes/class-wp-hook.php(287): electro_header_icons(”)
    #5 /var/www/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
    #6 /var/www/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
    #7 /var/www/wp-content/themes/electro/inc/template-tags/headers/header-v2.php(74): do_action(‘electro_navbar_…’)
    #8 /var/www/wp-includes/class-wp-hook.php(287): electro_navbar_v2(”)
    #9 /var/www/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
    #10 /var/www/wp-include in /var/www/wp-content/themes/electro/inc/woocommerce/template-tags/header.php on line 33

    2020-10-28T10:20:20+00:00 CRITICAL Uncaught Error: Call to a member function get_cart_contents_count() on null in /var/www/wp-content/themes/electro/inc/woocommerce/template-tags/header.php:33
    Stack trace:
    #0 /var/www/wp-includes/class-wp-hook.php(287): electro_header_mini_cart_icon(”)
    #1 /var/www/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
    #2 /var/www/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
    #3 /var/www/wp-content/themes/electro/inc/template-tags/header.php(48): do_action(‘electro_header_…’)
    #4 /var/www/wp-includes/class-wp-hook.php(287): electro_header_icons(”)
    #5 /var/www/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
    #6 /var/www/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
    #7 /var/www/wp-content/themes/electro/inc/template-tags/headers/header-v2.php(74): do_action(‘electro_navbar_…’)
    #8 /var/www/wp-includes/class-wp-hook.php(287): electro_navbar_v2(”)
    #9 /var/www/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
    #10 /var/www/wp-include in /var/www/wp-content/themes/electro/inc/woocommerce/template-tags/header.php on line 33

    Thanks, unfortunately those errors are not related to our plugin so not the cause.
    The last thing we can think of is a possible caching/firewall plugin you are using?

    Thread Starter jmkingfernandez

    (@jmkingfernandez)

    I don’t have any caching plugin atm, do you recommend on getting for the feed?
    and for the firewall I see issue with it since I’m using sucuri security.

    Updating the feed you generate is working but only slow.

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘Feed Speed’ is closed to new replies.