Viewing 8 replies - 1 through 8 (of 8 total)
  • Hoi Luuk,

    Ik denk dat ik gewoon in het Nederlands kan reageren? ??

    Zou je de plugin debug.log URL met ons kunnen delen? Dan kunnen we kijken hoe je de feed hebt geconfigureerd. Dit is hoe je de debug.log URL verkrijgt: https://adtribes.io/send-your-debug-log-to-support/

    Thread Starter luuknewsky

    (@luuknewsky)

    Zeker! ??

    Onderstaand vind je de log:

    https://kinderboekjes.nl/wp-content/uploads/woo-product-feed-pro/logs/debug.log

    Alvast bedankt!

    Goedemorgen Luuk,

    Je debug.log URL geeft een 403 forbidden permission fout. Blijkbaar heb je die URL beschermd. Kan jij hem wel openen en de inhoud bekijken of kan je wellicht het debug.log bestand rechtstreeks van je server afhalen en naar ons opsturen?

    I have the same issue, did you find the reason for this?

    When I look in my logs the issue seems to be that it does not start from 0, it starts with an offset.

    08-07-2023 @ 09:54:04 –
    08-07-2023 @ 09:54:04 – Array
    (
    [post_type] => Array
    (
    [0] => product
    [1] => product_variation
    )

    [posts_per_page] => 651
    [offset] => 4550
    [post_status] => publish
    [orderby] => date
    [order] => desc
    [fields] => ids
    [no_found_rows] => 1
    [cache_results] => 
    [update_post_term_cache] => 
    [update_post_meta_cache] => 

    )

    So I have narrowed my issue down to an object cache issue.. I use wp-redis and a redis server as object cache and for some currently unknown reason delete_option( batch_project_xyz ); does not remove the object from cache.

    So for now my workaround is to clear the cache with wp_cache_flush(); before the processing of the feed is started.

    Does not seem to be a redis cache issue after all, I get the same result with the default cache.

    On line 5328 in classes/class-get-products.php, “delete_option( $batch_project );” removes the entry in the database but not in the cache.

    Calling “wp_cache_delete($batch_project,’options’)” directly after does not seem to clear the cache either, so there is something locking it in cache.

    I run PHP 8.1.21, using the official wordpress container with the tag php-8.1-apache.

    My workaround for now is to flush the cache when the update is about to run by adding this to my theme’s functions.php

    add_action( ‘wp_ajax_woosea_project_refresh’, function(){ wp_cache_flush(); },1);

    Closing this topic for housekeeping reasons.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Product Feed Empty after 1 day’ is closed to new replies.