500 (Internal Server Error) using Button Modal Shortcode
#UPDATE: Thrive Themes released a fix in their latest plugin version. The modal is now working properly.
Hello everyone,
I am receiving a 500 Internal Server Error when I try to use a buy button with instant/modal checkout enabled. When instant checkout is disabled, I am redirected to the checkout page without any issues.
-
On the popup windows I get the error:
"There has been a critical error on this website. -
On the browser console I see this error:
500 (Internal Server Error)````openModal FluentCartApp.js?ver=1.5.3:1 -
This is the shortcode I am using:
Any ideas what could be causing this issue? I am using WordPress 7.0.1, FCart 1.5.3 and PHP version 8.4.19. Thanks![fluent_cart_checkout_button variation_id="1" instant_checkout="yes" button_text="Get it now!"]
#Update: It seems to be a conflict with Thrive Architect (Undefined constant "TVE_DASH_URL").
Thrive support is on it right now:
"It looks like our plugin expects a certain value to already be available whenever a page loads, which normally happens without issue. However, FluentCart's modal checkout uses a different loading process that can run before that value is ready, which is what is causing the fatal error you are seeing."