Product feed empty with scheduled generation
-
Hey guys,
as soon as I use the scheduled feed generation, my feed is empty (zero byte file). The same happens if I use the update button in the feed overview. It only works fine if I edit the feed and click the update button within the edit view.While the scheduler tries to create the feed, the following error is shown in the server logs:
[Tue Apr 23 19:52:51.523379 2024] [php:notice] [pid 2808518] [client ---] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ')) \n\t\t\tGROUP BY 3o184VSd_posts.ID\n\t\t\tORDER BY 3o184VSd_posts.ID ASC\n\t\t\tLIMIT ...' at line 5 for query \n\t\t\tSELECT SQL_CALC_FOUND_ROWS DISTINCT 3o184VSd_posts.ID\n\t\t\tFROM 3o184VSd_posts LEFT JOIN 3o184VSd_term_relationships ON (3o184VSd_posts.ID = 3o184VSd_term_relationships.object_id) LEFT JOIN 3o184VSd_term_relationships AS RexPLL ON (3o184VSd_posts.ID = RexPLL.object_id)\n\t\t\tWHERE 1=1 AND ( \n 3o184VSd_term_relationships.term_taxonomy_id IN (103,107,111,115,119,123,152,218,294)\n) AND 3o184VSd_posts.post_type = 'product' AND ((3o184VSd_posts.post_status = 'publish')) AND (RexPLL.term_taxonomy_id IN()) \n\t\t\tGROUP BY 3o184VSd_posts.ID\n\t\t\tORDER BY 3o184VSd_posts.ID ASC\n\t\t\tLIMIT 0, 200\n\t\t made by do_action('wp_ajax_as_async_request_queue_runner'), WP_Hook->do_action, WP_Hook->apply_filters, WP_Async_Request->maybe_handle, ActionScheduler_AsyncRequest_QueueRunner->handle, do_action('action_scheduler_run_queue'), WP_Hook->do_action, WP_Hook->apply_filters, ActionScheduler_QueueRunner->run, ActionScheduler_QueueRunner->do_batch, ActionScheduler_Abstract_QueueRunner->process_action, ActionScheduler_Action->execute, do_action_ref_array('rex_feed_regenerate_feed_batch'), WP_Hook->do_action, WP_Hook->apply_filters, Rex_Feed_Scheduler->regenerate_feed_batch, Rex_Product_Feed_Factory::build, Rex_Product_Feed_Abstract_Generator->__construct, Rex_Product_Feed_Abstract_Generator->setup_products, WP_Query->__construct, WP_Query->query, WP_Query->get_posts
It looks like the last RexPLL.term_taxonomy_id IN() is empty. There are no more visible errors in the edit view.
Hope you can help me.
Best regards,
U
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Product feed empty with scheduled generation’ is closed to new replies.