Internal server error at checkout on XStore Child theme

This topic has 9 replies, 2 voices, and was last updated 2 years, 1 months ago ago by Rose Tyler

  • Avatar: CamG
    CamG
    Participant
    October 21, 2022 at 14:12

    Hi 8theme,

    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,

    8 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    October 21, 2022 at 15:03

    Hello,

    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.

    Regards

    Avatar: CamG
    CamG
    Participant
    October 21, 2022 at 15:48

    Hi Rose,

    Admin accès is on private content area.

    We already did all of that :
    – you can see attached the logs
    https://docs.google.com/spreadsheets/d/1ft4CQnOSAbyNGf6I0p30dMESItXuo8SdLa_ohqsrMhs/edit#gid=0

    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 ?
    Thanks,

    Léa

    Please contact administrator
    for this information.
    Avatar: CamG
    CamG
    Participant
    October 21, 2022 at 15:51

    Here is the vidéo of how it works on the parent theme :
    https://www.loom.com/share/d46043d7a696468dbfb85a189379b97e

    Léa

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    October 21, 2022 at 16:18

    Hello,

    Try to disable “Advanced Layout” in XStore–>Theme Options–>WooCommerce(Shop)–>Cart/Checkout.

    Regards

    Avatar: CamG
    CamG
    Participant
    October 21, 2022 at 17:09

    Hi Rose,

    I just tried but it doesn’t fix the problem, here is a video :

    https://www.loom.com/share/e2801fe7364e4b69a1cd9dcf6b904967

    Léa

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    October 22, 2022 at 06:58

    Hello,

    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.

    Regards

    Avatar: CamG
    CamG
    Participant
    October 24, 2022 at 13:02

    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.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    October 24, 2022 at 15:02

    Hello,

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

    Regards

  • Viewing 9 results - 1 through 9 (of 9 total)

You must be logged in to reply to this topic.Log in/Sign up

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.