Title: Undefined variable $price_valid_until
Last modified: February 26, 2023

---

# Undefined variable $price_valid_until

 *  Resolved [jpstwisted](https://wordpress.org/support/users/jpstwisted/)
 * (@jpstwisted)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/undefined-variable-price_valid_until-2/)
 * Hi,
 * We’re experiencing regular errors with – we think – this plugin. Stack trace 
   as follows:
 *     ```wp-block-code
       Error message
       Undefined variable $price_valid_until
       Stack Trace
       New
       in Rex_Product_Feed_Pro_Admin::wpfm_structured_data called at /nas/content/live/oursite/wp-includes/class-wp-hook.php (308)
       in WP_Hook::apply_filters called at /nas/content/live/oursite/wp-includes/plugin.php (205)
       in apply_filters called at /nas/content/live/oursite/wp-content/plugins/woocommerce/includes/class-wc-structured-data.php (328)
       in WC_Structured_Data::generate_product_data called at /nas/content/live/oursite/wp-includes/class-wp-hook.php (308)
       in WP_Hook::apply_filters called at /nas/content/live/oursite/wp-includes/class-wp-hook.php (332)
       in WP_Hook::do_action called at /nas/content/live/oursite/wp-includes/plugin.php (517)
       in do_action called at /nas/content/live/oursite/wp-content/themes/storefront-child/woocommerce/content-single-product.php (78)
       in require called at /nas/content/live/oursite/wp-includes/template.php (785)
       in load_template called at /nas/content/live/oursite/wp-content/plugins/woocommerce/includes/wc-core-functions.php (284)
       in wc_get_template_part called at /nas/content/live/oursite/wp-content/themes/storefront-child/woocommerce/single-product.php (43)
       in include called at /nas/content/live/oursite/wp-includes/template-loader.php (106)
       in require_once called at /nas/content/live/oursite/wp-blog-header.php (19)
       in require called at /nas/content/live/oursite/index.php (17)
       ```
   
 * Granted, it’s an E_WARNING, but even excessive E_WARNINGS hurt response time.
   We’re getting this about 3000 times in a 5 hour window. None of the feeds explicitly
   reference this variable.
 * Any help in diagnosing this would be greatly appreciated.

Viewing 1 replies (of 1 total)

 *  [Sajarun Sadia](https://wordpress.org/support/users/sadiasajarun/)
 * (@sadiasajarun)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/undefined-variable-price_valid_until-2/#post-16508279)
 * Hi,
 * We’re extremely sorry for the error you’re facing.
 * We have addressed the issue and our developer is working on it.
 * Hopefully, we will fix it in the next update.
 * Please allocate us a little time.
 * Thank you for your patience.

Viewing 1 replies (of 1 total)

The topic ‘Undefined variable $price_valid_until’ is closed to new replies.

 * ![](https://ps.w.org/best-woocommerce-feed/assets/icon-256x256.gif?rev=2476953)
 * [Product Feed Manager For WooCommerce - Sell on 200+ Online Marketplaces](https://wordpress.org/plugins/best-woocommerce-feed/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/best-woocommerce-feed/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/best-woocommerce-feed/)
 * [Active Topics](https://wordpress.org/support/plugin/best-woocommerce-feed/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/best-woocommerce-feed/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/best-woocommerce-feed/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Sajarun Sadia](https://wordpress.org/support/users/sadiasajarun/)
 * Last activity: [3 years, 3 months ago](https://wordpress.org/support/topic/undefined-variable-price_valid_until-2/#post-16508279)
 * Status: resolved