We have a problem with XStore child, we are facing an internal server error at checkout. The money is capture on Stripe, the order is created and we receive confirmations by email.
We deactivating all our plugins, it doesn’t change the checkout issue.
Checkout is only working using the parent theme.
+ The loading time using Xstore child is HUGE, you will see the video below.
Other infos :
– You can see a video of the pb here : https://www.loom.com/share/e1c61abcb6374e64af0b1b1685984324
– This URL leads to an internal server error : https://crushonapp.com/order/order-received/1513472/?key=wc_order_P7qVRYPGM6gKf
Please, can you help us solving this very important issue ?
Regards,Site URL: hidden Theme version: 1.0 WooCommerce version: 3.9.2
Please provide temporary wp-admin access and a video of how it works with the parent theme.
500 Internal server error means that there is some Fatal error in PHP script or on the server side. You can turn on debug mode in WordPress to see the error https://codex.wordpress.org/Debugging_in_WordPress
If it will not show any errors then contact your hosting providers and ask them to give you a server error log to check what is wrong.
Admin accès is on private content area.
We already did all of that :
– you can see attached the logs
Automattic\WooCommerce\Blocks\Domain\Services\ExtendRestApi is deprecated since version 7.2.0! Use Automattic\WooCommerce\StoreApi\Schemas\ExtendSchema instead.
PHP Notice: Trying to get property ‘ID’ of non-object in /var/www/html/wp-content/plugins/facebook-for-woocommerce/facebook-commerce-events-tracker.php on line 202
– we already turned on debug mode
– we deactivated mains plugins such as WCMP, WP rocket…. still not working
=> checkout works with parent theme but not with child theme so it can only be linked to Xstore child theme
Can you have a look please ?
Here is the vidéo of how it works on the parent theme :
Try to disable “Advanced Layout” in XStore–>Theme Options–>WooCommerce(Shop)–>Cart/Checkout.
I just tried but it doesn’t fix the problem, here is a video :
In this case, your custom changes in child theme can be the reason for the problem. Try the next, activate parent theme, re-name child theme via FTP, then upload XStore child theme that can be downloaded from this page – https://www.8theme.com/downloads , activate this child theme and check the result. If there is no the problem, you need to take a closer look at what changes were done in the first child theme.
If the problem persists even with the new child theme, provide us with FTP access, and we will take a closer look (after the weekend).
In the text of the notice, that you previously provided, facebook-for-woocommerce plugin was mentioned. Temporarily disable that plugin also.
Hey there !
We did try this solution but even on the parent theme (with no custom changes) the error persist.
It seems that the error is coming from the header builder : we tried to deactivate the header on the parent theme and we were immediately able to
validate our checkout ! The issus seems to come from the header personalization when we are not using a pre-registered template from Xstore.
“The issus seems to come from the header personalization when we are not using a pre-registered template from Xstore.” – please describe what you mean by that in more detail.
Also, please check how it works with a default WP theme, not XStore. Storefront is a default WooCommerce theme. It is important to check if the problem persists with the default theme to find out if it comes from the theme or from something else. Go to Appearance > Themes > install and activate the Storefront theme. Then test and let us know the result.
Widgets could be messed up after switching, so open the Appearance > Widgets tab before switching to be able to move the widgets to the correct area after switching back.
You must be logged in to reply to this topic.Log in/Sign up
One standard license is valid only for 1 project. Running multiple projects on a single license is a copyright violation.