Support » Plugin: Product Feed PRO for WooCommerce » Merchant Center Feed with duplicates

  • Resolved daniloSimonatto

    (@danilo98)


    Hello,

    I’m continuing getting product duplicates of almost al products, so i get almost double the product every day generated on my Merchant Center Feed.

    After several searches on topics i tried different things, which included:
    – Reducing batch size that made my feed get stuck and not generating.
    – increase batch size to at least the number of my products (about 2000). This solved my problem with stuck feed generation, that’s because i use an esternal cron-job to run my schedules and it runs only one/two times a day, so with lower batch sizes it doesn’t start back again when finished with first batch.
    – checking for server memory problems, and i haven’t found one.

    So right now i’m using 2000 batch size, and getting my feed generated one times a day but with all doubled products and no memory problems report.

    anyway the product feed log report got me this, maybe you can help:

    11-29-2022 @ 08:00:04 - <!-- Start new QUERY -->
    11-29-2022 @ 08:00:04 - Array
    (
        [posts_per_page] => 1588
        [offset] => 0
        [post_type] => Array
            (
                [0] => product
            )
    
        [post_status] => publish
        [fields] => ids
        [no_found_rows] => 1
    )
    
    11-29-2022 @ 08:00:04 - <!-- START new QUERY -->
    11-29-2022 @ 08:00:06 - <!-- Start new QUERY -->
    11-29-2022 @ 08:00:06 - Array
    (
        [posts_per_page] => 1588
        [offset] => 0
        [post_type] => Array
            (
                [0] => product
            )
    
        [post_status] => publish
        [fields] => ids
        [no_found_rows] => 1
    )
    
    11-29-2022 @ 08:00:06 - <!-- START new QUERY -->

    Thanks,
    Danilo

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Contributor supportadtribes

    (@supportadtribes)

    Hi Danilo,

    Thanks for using our plugin and reaching out to us. Sorry to hear you are experiencing issues with duplicate products.

    Could you share with me the content of your WooCommerce fatal error logs of the last couple of days? This is where you can find those: https://woocommerce.com/document/finding-php-error-logs/

    Thread Starter daniloSimonatto

    (@danilo98)

    Hello,

    Thank you for your quick answer.

    Unfortunately the last fatal error log expired, so i deduct no fatal error occurred during the last days.

    also checking debug.log, the last errors are from 11 Ott 2022 and relative to another plugin.

    The log i sent you are from Product-Feed-Pro-by-AdTribes.io-2022-11-29-c0a8e250e500afdab54b44ec0b1afcf7.log

    Thank you,
    Danilo

    Plugin Contributor supportadtribes

    (@supportadtribes)

    Hi Danilo,

    I am not seeing a link to a log file?

    Thread Starter daniloSimonatto

    (@danilo98)

    I directly posted the content of the log file which is the following:

    11-29-2022 @ 08:00:04 - <!-- Start new QUERY -->
    11-29-2022 @ 08:00:04 - Array
    (
        [posts_per_page] => 1588
        [offset] => 0
        [post_type] => Array
            (
                [0] => product
            )
    
        [post_status] => publish
        [fields] => ids
        [no_found_rows] => 1
    )
    
    11-29-2022 @ 08:00:04 - <!-- START new QUERY -->
    11-29-2022 @ 08:00:06 - <!-- Start new QUERY -->
    11-29-2022 @ 08:00:06 - Array
    (
        [posts_per_page] => 1588
        [offset] => 0
        [post_type] => Array
            (
                [0] => product
            )
    
        [post_status] => publish
        [fields] => ids
        [no_found_rows] => 1
    )
    
    11-29-2022 @ 08:00:06 - <!-- START new QUERY -->
    Plugin Contributor supportadtribes

    (@supportadtribes)

    That is not the WooCommerce fatal error log.

    This is where you can find the WooCommerce fatal error logs:
    https://woocommerce.com/document/finding-php-error-logs/

    Thread Starter daniloSimonatto

    (@danilo98)

    I don’t have a Woocommerce Fatal Error log

    but i can share the php_error log if useful:
    https://apromastore.eu/php_error.log

    Sorry i had problem with permissions sharing url files.

    Danilo

    Plugin Contributor supportadtribes

    (@supportadtribes)

    Hi Danilo,

    Your log is not showing anything useful.

    Can you share with us the following:

    Thread Starter daniloSimonatto

    (@danilo98)

    Hi,

    I actually noticed one thing. If the file is automatically generated it will create duplicates (all product are duplicated) but when i manually refresh the feed it will not make duplicates.

    maybe the the feed conflicts with other scheduled activities?

    So that’s the actual feed manually generated (no duplicates): http://www.apromastore.eu/wp-content/uploads/woo-product-feed-pro/csv/Dj0kTKjso2Cf8EF8Zp6Qk7Os7zuAw7nF.csv

    and that’s the feed automatically generated daily (all products are duplicates):
    https://www.apromastore.eu/wp-content/uploads/woo-product-feed-pro/csv/uploadts-1669894810-sec_Dj0kTKjso2Cf8EF8Zp6Qk7Os7zuAw7nF.csv

    That’s the plugin debug.log: https://www.apromastore.eu/wp-content/uploads/woo-product-feed-pro/logs/debug.log

    Thank you,
    Danilo

    Plugin Contributor supportadtribes

    (@supportadtribes)

    I suspect your cron set-up is causing the issue at hand. Starting off events for updating a feed when the previous never stopped/finished. That is why we always advise to use the normal WP cron

    Thread Starter daniloSimonatto

    (@danilo98)

    But normal Wp-cron is not an option for us.

    Is there something i can do to differ the feed generation events?

    Thank you,
    Danilo

    Plugin Contributor supportadtribes

    (@supportadtribes)

    Unfortunately not, our plugin is designed to work with WP-cron. When the WP-cron has been disabled and the cron events/hooks are being triggered by an external cron the process becomes unreliable and can execute similar batches with products causing duplicates.

    Thread Starter daniloSimonatto

    (@danilo98)

    Ok thanks,

    i’ll try to find a solution myself.

    Thank you for the efficient support!

    Danilo

    Plugin Contributor supportadtribes

    (@supportadtribes)

    Assuming the issue at hand has been resolved and our support is no longer required I will close this topic for housekeeping reasons now.

    Do not hesitate to reach out to us again in-case you need our help again.

Viewing 13 replies - 1 through 13 (of 13 total)
  • You must be logged in to reply to this topic.