• Resolved mixtura456

    (@mixtura456)


    When creating a new feed I get a fatal error.

    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)
  • 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

    (@mixtura456)

    12.6.4. I can’t update. Shows a critical error when I’m trying.

    What error are you seeing?

    Thread Starter mixtura456

    (@mixtura456)

    It is now 12.6.6. Still I can’t create any feed. I get the above error.

    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

    (@mixtura456)

    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

    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

    (@mixtura456)

    It is working now, thank you.

    The sale dates are added by the bulk edit plugin, shall I contact them about it?

    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

    (@mixtura456)

    Great, thanks again.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Feed fatal error’ is closed to new replies.