Title: Feed fatal error
Last modified: May 25, 2023

---

# Feed fatal error

 *  Resolved [mixtura456](https://wordpress.org/support/users/mixtura456/)
 * (@mixtura456)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/feed-fatal-error-2/)
 * When creating a new feed I get a fatal error.
 *     ```wp-block-code
       Fatal error: Uncaught TypeError: date(): Argument #2 ($timestamp) must be of type ?int, string given in /home/user_9753/app_9753_staging/wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php:2945 Stack trace: #0 /home/user_9753/app_9753_staging/wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php(2945): date() #1 /home/user_9753/app_9753_staging/wp-content/plugins/woo-product-feed-pro/woocommerce-sea.php(4690): WooSEA_Get_Products->woosea_get_products() #2 /home/user_9753/app_9753_staging/wp-content/plugins/woo-product-feed-pro/woocommerce-sea.php(4494): woosea_continue_batch() #3 /home/user_9753/app_9753_staging/wp-includes/class-wp-hook.php(308): woosea_generate_pages() #4 /home/user_9753/app_9753_staging/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() #5 /home/user_9753/app_9753_staging/wp-includes/plugin.php(517): WP_Hook->do_action() #6 /home/user_9753/app_9753_staging/wp-admin/admin.php(259): do_action() #7 {main} thrown in /home/user_9753/app_9753_staging/wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php on line 2945
       ```
   
 * How to fix this?

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

 *  [supportadtribes](https://wordpress.org/support/users/supportadtribes/)
 * (@supportadtribes)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/feed-fatal-error-2/#post-16768247)
 * Hi,
 * Thanks for using our plugin and reaching out to us. Sorry to hear you are experiencing
   issues. On what version of our plugin are you?
 *  Thread Starter [mixtura456](https://wordpress.org/support/users/mixtura456/)
 * (@mixtura456)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/feed-fatal-error-2/#post-16768260)
 * 12.6.4. I can’t update. Shows a critical error when I’m trying.
 *  [supportadtribes](https://wordpress.org/support/users/supportadtribes/)
 * (@supportadtribes)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/feed-fatal-error-2/#post-16768287)
 * What error are you seeing?
 *  Thread Starter [mixtura456](https://wordpress.org/support/users/mixtura456/)
 * (@mixtura456)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/feed-fatal-error-2/#post-16768897)
 * It is now 12.6.6. Still I can’t create any feed. I get the above error.
 *  [supportadtribes](https://wordpress.org/support/users/supportadtribes/)
 * (@supportadtribes)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/feed-fatal-error-2/#post-16768903)
 * Since we released a new version the error you are experiencing is probably happening
   on a new code line. Can you share the new error line here?
 *  Thread Starter [mixtura456](https://wordpress.org/support/users/mixtura456/)
 * (@mixtura456)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/feed-fatal-error-2/#post-16769238)
 * **Fatal error**: Uncaught TypeError: date(): Argument #2 ($timestamp) must be
   of type ?int, string given in /home/user_9753/app_9753_staging/wp-content/plugins/
   woo-product-feed-pro/classes/class-get-products.php:2947 Stack trace: #0 /home/
   user_9753/app_9753_staging/wp-content/plugins/woo-product-feed-pro/classes/class-
   get-products.php(2947): date() #1 /home/user_9753/app_9753_staging/wp-content/
   plugins/woo-product-feed-pro/woocommerce-sea.php(4761): WooSEA_Get_Products->
   woosea_get_products() #2 /home/user_9753/app_9753_staging/wp-content/plugins/
   woo-product-feed-pro/woocommerce-sea.php(4515): woosea_continue_batch() #3 /home/
   user_9753/app_9753_staging/wp-includes/class-wp-hook.php(308): woosea_generate_pages()#
   4 /home/user_9753/app_9753_staging/wp-includes/class-wp-hook.php(332): WP_Hook-
   >apply_filters() #5 /home/user_9753/app_9753_staging/wp-includes/plugin.php(517):
   WP_Hook->do_action() #6 /home/user_9753/app_9753_staging/wp-admin/admin.php(259):
   do_action() #7 {main} thrown in **/home/user_9753/app_9753_staging/wp-content/
   plugins/woo-product-feed-pro/classes/class-get-products.php** on line **2947**
 *  [supportadtribes](https://wordpress.org/support/users/supportadtribes/)
 * (@supportadtribes)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/feed-fatal-error-2/#post-16771076)
 * Hi,
 * The issue at hand seems to be caused by the sale dates you added. Somehow you
   added dates that are not official timestamp dates that broke the processing of
   the feed. Theoratically this should not be possible but nonetheless we just pushed
   out a new release of the plugin that should solve the issue at hand for you. 
   Can you update the plugin and give it a try?
 *  Thread Starter [mixtura456](https://wordpress.org/support/users/mixtura456/)
 * (@mixtura456)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/feed-fatal-error-2/#post-16771105)
 * It is working now, thank you.
 * The sale dates are added by the bulk edit plugin, shall I contact them about 
   it?
 *  [supportadtribes](https://wordpress.org/support/users/supportadtribes/)
 * (@supportadtribes)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/feed-fatal-error-2/#post-16771110)
 * The sale dates need to be added in an Unix timestamp format (which is an integer),
   in your case they seemed to have another format which caused the problem. You
   could let them know yes but our plugin can handle it now.
 *  Thread Starter [mixtura456](https://wordpress.org/support/users/mixtura456/)
 * (@mixtura456)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/feed-fatal-error-2/#post-16771121)
 * Great, thanks again.

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

The topic ‘Feed fatal error’ is closed to new replies.

 * ![](https://ps.w.org/woo-product-feed-pro/assets/icon-256x256.png?rev=3111496)
 * [Product Feed PRO for WooCommerce by AdTribes – Product Feeds for WooCommerce](https://wordpress.org/plugins/woo-product-feed-pro/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woo-product-feed-pro/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woo-product-feed-pro/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-product-feed-pro/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-product-feed-pro/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-product-feed-pro/reviews/)

 * 10 replies
 * 2 participants
 * Last reply from: [mixtura456](https://wordpress.org/support/users/mixtura456/)
 * Last activity: [2 years, 11 months ago](https://wordpress.org/support/topic/feed-fatal-error-2/#post-16771121)
 * Status: resolved