• Resolved mikel555

    (@mikel555)


    Have a great day,

    I have the following problem with my feed. I have set everything in my XML feed. First day after my xml was generated there was over 2500 products inside. After the daily update I got only 1500 products inside. After another update 2200 and the number of products is not fixed as it was at the first day. I see these numbers in my google merchant account.

    I have checked my error log and I have found this.
    What may occur this feed generating problem?

    Thank you.

    I have the latest version of the plugin, also variations are included. I use wp-rocket for caching.

    domain.com [Tue Mar 23 09:54:22.155197 2021] [php7:warn] PHP Warning: simplexml_load_file(): I/O warning : failed to load external entity "/data/5/7/5730a866-3a19-4654-bc4a-3f11c809bbeb/domain.com/web/wp-content/uploads/woo-product-feed-pro/xml/cTrKRgbm6oASS8aZqez9T90hUOwXi3ED_tmp.xml" in /data/5/7/5730a866-3a19-4654-bc4a-3f11c809bbeb/domain.com/web/wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php on line 1136, referer https://domain.com/wp-cron.php?doing_wp_cron=1616489661.4252378940582275390625

    • This topic was modified 4 years ago by mikel555.
    • This topic was modified 4 years ago by mikel555.
Viewing 14 replies - 1 through 14 (of 14 total)
  • supportadtribes

    (@supportadtribes)

    Hi,

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

    The error indicates that the plugin can no longer find or access the product feed file on your server and as such also can’t update it either.

    Now the question is, why can’t it find that file anymore? There is nothing in our plugin that actually deletes product feed files so some other process on your webserver is either removing that file or restricting access to it it seems. Are you perhaps running some backup/firewall/security plugin that could be doing this?

    Thread Starter mikel555

    (@mikel555)

    @supportadtribes thank you for a fast reply. There is wordfence on the website. But this may occur my problem that once there are 2500 products and on the other day there is almost 500 products missing?

    Is this error related to this problem? Or what may be the problem feed does not finish its updating process correctly?

    Thank you.

    supportadtribes

    (@supportadtribes)

    Yes that might be related.

    The plugin processes products in batches. So assuming the 2500 products in your feed is the correct number our plugin would need to do 4 batches (every batch is 750 products big on default). When, for some reason, the plugin can’t open your product feed file while trying to put a new batch in you will miss the 750 products if that batch.

    Are there any more warnings or errors in your fatal error log of today, such as maximum execution time errors or maximum CPU usage errors?

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

    Thread Starter mikel555

    (@mikel555)

    There is only one from the funtions.php also related to the cronjob.

    [Tue Mar 23 09:55:33.629234 2021] [php7:notice] Copy of file failed, referer https://domain.com/wp-cron.php?doing_wp_cron=1616489661.4252378940582275390625
    
    [Tue Mar 23 11:19:17.709056 2021] [php7:error] PHP Fatal error:  Uncaught Error: Call to a member function get() on null in /data/5/7/5730a866-3a19-4654-bc4a-3f11c809bbeb/domain.com/web/wp-content/themes/childtheme/functions.php:77\nStack trace:\n#0 /data/5/7/5730a866-3a19-4654-bc4a-3f11c809bbeb/domain.com/web/wp-includes/class-wp-hook.php(287): disable_shipping(Array)\n#1 /data/5/7/5730a866-3a19-4654-bc4a-3f11c809bbeb/domain.com/web/wp-includes/plugin.php(212): WP_Hook->apply_filters(Array, Array)\n#2 /data/5/7/5730a866-3a19-4654-bc4a-3f11c809bbeb/domain.com/web/wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php(160): apply_filters('woocommerce_ava...', Array)\n#3 /data/5/7/5730a866-3a19-4654-bc4a-3f11c809bbeb/domain.com/web/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/Notes/OnboardingPayments.php(38): WC_Payment_Gateways->get_available_payment_gateways()\n#4 /data/5/7/5730a866-3a19-4654-bc4a-3f11c809bbeb/domain.com/web/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/Notes/NoteTraits.php(74): Aut in /data/5/7/5730a866-3a19-4654-bc4a-3f11c809bbeb/domain.com/web/wp-content/themes/childtheme/functions.php on line 77, referer https://domain.comk/wp-cron.php?doing_wp_cron=1616494757.0142030715942382812500
    Thread Starter mikel555

    (@mikel555)

    I do not have any debug file in my FTP.

    supportadtribes

    (@supportadtribes)

    The debug.log is only being created when you follow the steps as laid out in this blog post: https://adtribes.io/send-your-debug-log-to-support/

    Thread Starter mikel555

    (@mikel555)

    https://we.tl/t-ksf1LZYvFs Debug log is here you could take a look. Thank you

    supportadtribes

    (@supportadtribes)

    Thanks for sending over the debug.log.

    Now there are two feeds configured. These are the product numbers per feed per update:

    Feed 1: Google XML

    [12 Mar 2021 10:05] => 1865
    [12 Mar 2021 11:53] => 2574
    [12 Mar 2021 13:40] => 2563
    [12 Mar 2021 14:21] => 7282
    [12 Mar 2021 16:57] => 2574
    [13 Mar 2021 08:19] => 3283
    [14 Mar 2021 07:28] => 2563
    [15 Mar 2021 08:22] => 2574
    [16 Mar 2021 07:32] => 2563
    [17 Mar 2021 07:33] => 2574
    [17 Mar 2021 19:24] => 2643
    [17 Mar 2021 19:56] => 2605
    [17 Mar 2021 21:15] => 2590
    [17 Mar 2021 21:52] => 2590
    [18 Mar 2021 08:15] => 2693
    [19 Mar 2021 08:36] => 2658
    [19 Mar 2021 12:20] => 3134
    [19 Mar 2021 12:41] => 3134
    [19 Mar 2021 16:25] => 3134
    [19 Mar 2021 17:06] => 3510
    [20 Mar 2021 08:59] => 2590
    [22 Mar 2021 12:37] => 2590
    [23 Mar 2021 08:58] => 2628`

    Feed 2: Google ads csv

    [17 Mar 2021 21:01] => 2590
    [18 Mar 2021 07:31] => 2590
    [18 Mar 2021 08:02] => 2590
    [19 Mar 2021 07:41] => 2590
    [20 Mar 2021 09:03] => 3580
    [21 Mar 2021 09:00] => 3562
    [21 Mar 2021 19:52] => 2586
    [22 Mar 2021 08:11] => 3064
    [23 Mar 2021 08:15] => 3542

    Also looking at the other error message you send me that was related to the WP-cron this now seems more like a WP-cron issue that hangs every now and then.

    Perhaps it will help if we change the batch size of the plugin so the cron hooks running take less time (and less server resources) per batch. Can you lower the batch size of the plugin to 450 and see if it makes a difference? This is how you can lower it: https://adtribes.io/batch-size-configuration-product-feed/

    Thread Starter mikel555

    (@mikel555)

    Okay let me test it so we will see. Thank you

    Thread Starter mikel555

    (@mikel555)

    I think this solution did not help. Any other ideas? :/

    supportadtribes

    (@supportadtribes)

    What makes you think it did not help? Can you share some more information?

    Thread Starter mikel555

    (@mikel555)

    I have set batches to 450, then 250 products per batche and it is still comming up and down with the products in feed.

    Thats unfortunate. When there is nothing more in your fatal error logs of today I still suspect something is off with your WP-cron. Unfortunately these kind of issues are quite hard to tackle.

    Would you be so kind as to install this WP-cron plugin:
    https://www.ads-software.com/plugins/wp-crontrol/

    And once done share with us the list of cron events the tool shows? A screenshot of the entire page with the notifications on top would be best.

    Hi,

    Assuming the issue at hand has been resolved or our support is no longer required I am going to close this topic for housekeeping reasons now.

    Please do not hesitate to reach out to our support-team again whenever you need our help.

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Missing products in my XML feed’ is closed to new replies.