• Resolved jillnolan

    (@jillnolan)


    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

    (@viveke)

    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

    (@jillnolan)

    Sure. 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

    (@viveke)

    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

    (@jillnolan)

    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

    (@jillnolan)

    The site should now be available.

    Plugin Support Vivek Acowebs

    (@viveke)

    Upon reviewing the issue, it appears that conditional logic 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

    (@jillnolan)

    I don’t believe there is any conditional logic on that page. Can you specify how you found that?

    Thread Starter jillnolan

    (@jillnolan)

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

    (@acowebs)

    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. 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

    (@jillnolan)

    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

    (@viveke)

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

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