Title: Date picker causing error
Last modified: June 11, 2025

---

# Date picker causing error

 *  Resolved [jillnolan](https://wordpress.org/support/users/jillnolan/)
 * (@jillnolan)
 * [12 months ago](https://wordpress.org/support/topic/date-picker-causing-error/)
 * I created a date form and when enabled on a product page, when I try to add the
   product to the cart, I get a 500 error. If I remove the date form, the product
   gets added to the cart just fine. Any ideas? I’m using Botiga theme.

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

 *  Plugin Support [Vivek Acowebs](https://wordpress.org/support/users/viveke/)
 * (@viveke)
 * [12 months ago](https://wordpress.org/support/topic/date-picker-causing-error/#post-18506666)
 * Could you please share the URL of the product page where the error occurs? 
   This
   will allow us to review the setup.
 *  Thread Starter [jillnolan](https://wordpress.org/support/users/jillnolan/)
 * (@jillnolan)
 * [12 months ago](https://wordpress.org/support/topic/date-picker-causing-error/#post-18506755)
 * Sure. [https://thatsawrapgifting.com/product/tea-huney/](https://thatsawrapgifting.com/product/tea-huney/)
 * It’s activated on the above page but it’s not showing even though there is a 
   space for it. If you inspect the space above the Add to Cart button, you’ll see
   there is a div for it there. It was showing at some point.
 *  Plugin Support [Vivek Acowebs](https://wordpress.org/support/users/viveke/)
 * (@viveke)
 * [12 months ago](https://wordpress.org/support/topic/date-picker-causing-error/#post-18506799)
 * The shared URL currently displays a ‘_Coming Soon_‘ page, so we are unable to
   access and review the issue directly.
   In the meantime, please enable WordPress
   debug mode and attempt to add the product to the cart again. After that, check
   the debug log (_/wp-content/debug.log_) to see if any errors are recorded.If 
   an error appears in the log, kindly share the details with us so we can assist
   you further.
 *  Thread Starter [jillnolan](https://wordpress.org/support/users/jillnolan/)
 * (@jillnolan)
 * [12 months ago](https://wordpress.org/support/topic/date-picker-causing-error/#post-18506814)
 * I apologize. I made the site live but looks like it’s not working yet. I’ll do
   what you suggested. Thanks.
 *  Thread Starter [jillnolan](https://wordpress.org/support/users/jillnolan/)
 * (@jillnolan)
 * [12 months ago](https://wordpress.org/support/topic/date-picker-causing-error/#post-18506844)
 * The site should now be available.
 *  Plugin Support [Vivek Acowebs](https://wordpress.org/support/users/viveke/)
 * (@viveke)
 * [12 months ago](https://wordpress.org/support/topic/date-picker-causing-error/#post-18507052)
 * Upon reviewing the issue, it appears that [conditional logic](https://prnt.sc/YV1wR3G1Pk9O)
   has been applied to a field referencing itself, which creates a processing loop
   and leads to the error.
   Please try disabling the conditional logic for that field
   and check again.If you can share the conditional logic requirement you are trying
   to achieve, we had be happy to review it and check the possibility of implementing
   it correctly.
 *  Thread Starter [jillnolan](https://wordpress.org/support/users/jillnolan/)
 * (@jillnolan)
 * [12 months ago](https://wordpress.org/support/topic/date-picker-causing-error/#post-18507901)
 * I don’t believe there is any conditional logic on that page. Can you specify 
   how you found that?
 *  Thread Starter [jillnolan](https://wordpress.org/support/users/jillnolan/)
 * (@jillnolan)
 * [12 months ago](https://wordpress.org/support/topic/date-picker-causing-error/#post-18507926)
 * from the debug log;
 * [11-Jun-2025 16:27:32 UTC] PHP Notice: Function _load_textdomain_just_in_time
   was called **incorrectly**. Translation loading for the `woocommerce-payments`
   domain was triggered too early. This is usually an indicator for some code in
   the plugin or theme running too early. Translations should be loaded at the `
   init` action or later. Please see [Debugging in WordPress](https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/)
   for more information. (This message was added in version 6.7.0.) in /home/u806051774/
   domains/thatsawrapgifting.com/public_html/wp-includes/functions.php on line 6121
   [
   11-Jun-2025 16:27:34 UTC] PHP Notice: Function _load_textdomain_just_in_time 
   was called **incorrectly**. Translation loading for the `woocommerce-payments`
   domain was triggered too early. This is usually an indicator for some code in
   the plugin or theme running too early. Translations should be loaded at the `
   init` action or later. Please see [Debugging in WordPress](https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/)
   for more information. (This message was added in version 6.7.0.) in /home/u806051774/
   domains/thatsawrapgifting.com/public_html/wp-includes/functions.php on line 6121[
   11-Jun-2025 16:27:34 UTC] PHP Notice: Function _load_textdomain_just_in_time 
   was called **incorrectly**. Translation loading for the `woocommerce-payments`
   domain was triggered too early. This is usually an indicator for some code in
   the plugin or theme running too early. Translations should be loaded at the `
   init` action or later. Please see [Debugging in WordPress](https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/)
   for more information. (This message was added in version 6.7.0.) in /home/u806051774/
   domains/thatsawrapgifting.com/public_html/wp-includes/functions.php on line 6121[
   11-Jun-2025 16:27:34 UTC] PHP Notice: Function _load_textdomain_just_in_time 
   was called **incorrectly**. Translation loading for the `woocommerce-payments`
   domain was triggered too early. This is usually an indicator for some code in
   the plugin or theme running too early. Translations should be loaded at the `
   init` action or later. Please see [Debugging in WordPress](https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/)
   for more information. (This message was added in version 6.7.0.) in /home/u806051774/
   domains/thatsawrapgifting.com/public_html/wp-includes/functions.php on line 6121[
   11-Jun-2025 16:27:36 UTC] PHP Notice: Function _load_textdomain_just_in_time 
   was called **incorrectly**. Translation loading for the `woocommerce-payments`
   domain was triggered too early. This is usually an indicator for some code in
   the plugin or theme running too early. Translations should be loaded at the `
   init` action or later. Please see [Debugging in WordPress](https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/)
   for more information. (This message was added in version 6.7.0.) in /home/u806051774/
   domains/thatsawrapgifting.com/public_html/wp-includes/functions.php on line 6121[
   11-Jun-2025 16:27:37 UTC] PHP Notice: Function _load_textdomain_just_in_time 
   was called **incorrectly**. Translation loading for the `woocommerce-payments`
   domain was triggered too early. This is usually an indicator for some code in
   the plugin or theme running too early. Translations should be loaded at the `
   init` action or later. Please see [Debugging in WordPress](https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/)
   for more information. (This message was added in version 6.7.0.) in /home/u806051774/
   domains/thatsawrapgifting.com/public_html/wp-includes/functions.php on line 6121[
   11-Jun-2025 16:27:38 UTC] PHP Notice: Function _load_textdomain_just_in_time 
   was called **incorrectly**. Translation loading for the `woocommerce-payments`
   domain was triggered too early. This is usually an indicator for some code in
   the plugin or theme running too early. Translations should be loaded at the `
   init` action or later. Please see [Debugging in WordPress](https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/)
   for more information. (This message was added in version 6.7.0.) in /home/u806051774/
   domains/thatsawrapgifting.com/public_html/wp-includes/functions.php on line 6121[
   11-Jun-2025 16:27:38 UTC] PHP Notice: Function _load_textdomain_just_in_time 
   was called **incorrectly**. Translation loading for the `woocommerce-payments`
   domain was triggered too early. This is usually an indicator for some code in
   the plugin or theme running too early. Translations should be loaded at the `
   init` action or later. Please see [Debugging in WordPress](https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/)
   for more information. (This message was added in version 6.7.0.) in /home/u806051774/
   domains/thatsawrapgifting.com/public_html/wp-includes/functions.php on line 6121
 *  Plugin Author [acowebs](https://wordpress.org/support/users/acowebs/)
 * (@acowebs)
 * [12 months ago](https://wordpress.org/support/topic/date-picker-causing-error/#post-18507976)
 * The conditional logic you’re referring to isn’t set on the page itself—it’s configured
   during the creation of the date field in the form editor.
 * You can refer to this example screenshot for clarity: [https://prnt.sc/YV1wR3G1Pk9O](https://prnt.sc/YV1wR3G1Pk9O).
   As shown, the logic appears in the right-side panel during field setup.
 * We recommend deleting the existing date field and creating a new one with the
   correct conditional logic applied.
 *  Thread Starter [jillnolan](https://wordpress.org/support/users/jillnolan/)
 * (@jillnolan)
 * [12 months ago](https://wordpress.org/support/topic/date-picker-causing-error/#post-18508072)
 * Ok, I deleted the original and created a new one and seems to be working now.
   How is the seller notified of this date? Is it included in the order?
 *  Plugin Support [Vivek Acowebs](https://wordpress.org/support/users/viveke/)
 * (@viveke)
 * [12 months ago](https://wordpress.org/support/topic/date-picker-causing-error/#post-18508442)
 * The date field is displayed on different pages as follows.
   On product page: [https://prnt.sc/sC6RwzEv6H1B](https://prnt.sc/sC6RwzEv6H1B)
   On cart page: [https://prnt.sc/FJ5wRsHBF2RK](https://prnt.sc/FJ5wRsHBF2RK)On 
   checkout page: [https://prnt.sc/6qmEFhIaz64-](https://prnt.sc/6qmEFhIaz64-)On
   order details page: [https://prnt.sc/VggYE4Um2lUj](https://prnt.sc/VggYE4Um2lUj)
   Kindly give it a try and share your feedback with us.

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

The topic ‘Date picker causing error’ is closed to new replies.

 * ![](https://ps.w.org/woo-custom-product-addons/assets/icon-256x256.gif?rev=3328656)
 * [Product Addons for Woocommerce - Product Options with Custom Fields](https://wordpress.org/plugins/woo-custom-product-addons/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woo-custom-product-addons/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woo-custom-product-addons/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-custom-product-addons/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-custom-product-addons/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-custom-product-addons/reviews/)

## Tags

 * [date picker](https://wordpress.org/support/topic-tag/date-picker/)

 * 11 replies
 * 3 participants
 * Last reply from: [Vivek Acowebs](https://wordpress.org/support/users/viveke/)
 * Last activity: [12 months ago](https://wordpress.org/support/topic/date-picker-causing-error/#post-18508442)
 * Status: resolved