Title: Empty feed
Last modified: May 10, 2024

---

# Empty feed

 *  Resolved [Walter Lopez](https://wordpress.org/support/users/lopwalj/)
 * (@lopwalj)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/empty-feed-16/)
 * I am experiencing an issue where the XML file is empty. I see this issue reported
   [here](https://wordpress.org/support/topic/empty-xml-file-2/) and [here](https://wordpress.org/support/topic/xml-feed-is-empty/).
 * Narrowed it down to the **get_feed_products** method in the **FeedGenerator**
   class. The problem is that the **wc_get_products** function returns 0 products(
   an empty array), caused because the **parent_exclude** query argument is an empty
   array.
 * WordPress 6.5.3
   WooCommerce 8.8.3Pinterest for WooCommerce 1.3.24

Viewing 7 replies - 1 through 7 (of 7 total)

 *  [ckadenge (woo-hc)](https://wordpress.org/support/users/ckadenge/)
 * (@ckadenge)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/empty-feed-16/#post-17746456)
 * Hello [@lopwalj](https://wordpress.org/support/users/lopwalj/),
 * Thanks for reaching out.
 * I’m sorry to hear you are facing issues with your XML files. Can you please share
   with us a screenshot of your /wp-admin part of your site?
 * You will need to go to “Marketing > Pinterest” then send as a screenshot of the
   3 tabs. Here’s how to make a screenshot: [https://wordpress.com/support/make-a-screenshot/](https://wordpress.com/support/make-a-screenshot/)
 * You can use a screenshot sharing software like [https://snipboard.io/](https://snipboard.io/)
   and paste the link here.
 *  Thread Starter [Walter Lopez](https://wordpress.org/support/users/lopwalj/)
 * (@lopwalj)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/empty-feed-16/#post-17747625)
 * Hello [@ckadenge](https://wordpress.org/support/users/ckadenge/), thanks for 
   looking into this.
 * **Catalog tab (before query args change)**: [https://snipboard.io/iMF4QO.jpg](https://snipboard.io/iMF4QO.jpg)
   **
   Settings tab**: [https://snipboard.io/ZR7LcV.jpg](https://snipboard.io/ZR7LcV.jpg)**
   Catalog tab (after query args change)**: [https://snipboard.io/Xh6a9W.jpg](https://snipboard.io/Xh6a9W.jpg)
 *  [Zee](https://wordpress.org/support/users/doublezed2/)
 * (@doublezed2)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/empty-feed-16/#post-17748039)
 * Hello [Walter Lopez](https://wordpress.org/support/users/lopwalj/)
 * Thanks for your reply.
 * To confirm, were you able to fix the issue by changing the query arguments of
   the **get_feed_products** method in the **FeedGenerator** class?
 * It would be helpful if you could share a screenshot of the changes you made.
   
   I will try to recreate this issue on my end.
 * Also, could you send me a copy of your site’s **System Status Report**?
   You can
   find it via WooCommerce > Status.Select Get system report and then Copy for support.
 * Once you’ve done that, you can paste the text in [https://gist.github.com](https://gist.github.com)
   
   After that, you can paste the Gist link here in your reply.
 * Looking forward to your response. 🙂
 * Best regards.
 *  Thread Starter [Walter Lopez](https://wordpress.org/support/users/lopwalj/)
 * (@lopwalj)
 * [2 years ago](https://wordpress.org/support/topic/empty-feed-16/#post-17774050)
 * Hello [@doublezed2](https://wordpress.org/support/users/doublezed2/), thanks 
   for your reply.
 * Yes, I changed the query arguments of the **get_feed_products** method in the**
   FeedGenerator** class; specifically removed the **parent_exclude** argument which
   is an empty array returned by the **get_excluded_products_by_parent** method.
   You can find the screenshot of my change here: [https://snipboard.io/3Cd04P.jpg](https://snipboard.io/3Cd04P.jpg).
 * You can also find the **System Status Report** here: [https://pastebin.com/sRKDrdYn](https://pastebin.com/sRKDrdYn)
 *  [Zee](https://wordpress.org/support/users/doublezed2/)
 * (@doublezed2)
 * [2 years ago](https://wordpress.org/support/topic/empty-feed-16/#post-17778326)
 * Hello [Walter Lopez](https://wordpress.org/support/users/lopwalj/)
 * Thank you for your reply.
 * I have reviewed your site’s SSR and noticed that there are a few plugins such
   as Rank Math, that might interfere with the default functionality of the Pinterest
   for WooCommerce plugin.
 * Just to make sure could you disable other plugins and then check if the issue
   occurs.
   If you are not comfortable with disabling plugins on the live site, I
   suggest using a Staging site.
 * Please let me know how it goes. 🙂
   Appreciate your cooperation.
 * Best regards.
 *  Thread Starter [Walter Lopez](https://wordpress.org/support/users/lopwalj/)
 * (@lopwalj)
 * [2 years ago](https://wordpress.org/support/topic/empty-feed-16/#post-17779118)
 * [@doublezed2](https://wordpress.org/support/users/doublezed2/) thanks for your
   reply.
 * I tested with the **Rank Math plugin** deactivated and the generated feed is 
   empty.
 *  [Zee](https://wordpress.org/support/users/doublezed2/)
 * (@doublezed2)
 * [2 years ago](https://wordpress.org/support/topic/empty-feed-16/#post-17781678)
 * Hello [Walter Lopez](https://wordpress.org/support/users/lopwalj/)
 * Thank you for your reply and for deactivating the Rank Math plugin.
 * It appears the problem is caused by a conflict with some other plugin.
   So to 
   make sure, could you disable all other plugins except WooCommerce and Pinterest
   for WooCommerce?
 * This conflict test will allow us to pinpoint the issue and then find a solution
   for it.
   Appreciate your cooperation and I will look forward to your results. 
   🙂
 * Best regards.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Empty feed’ is closed to new replies.

 * ![](https://ps.w.org/pinterest-for-woocommerce/assets/icon.svg?rev=2619817)
 * [Pinterest for WooCommerce](https://wordpress.org/plugins/pinterest-for-woocommerce/)
 * [Support Threads](https://wordpress.org/support/plugin/pinterest-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/pinterest-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pinterest-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pinterest-for-woocommerce/reviews/)

 * 7 replies
 * 3 participants
 * Last reply from: [Zee](https://wordpress.org/support/users/doublezed2/)
 * Last activity: [2 years ago](https://wordpress.org/support/topic/empty-feed-16/#post-17781678)
 * Status: resolved