Xstore plugin causes fetal error with woocommerce

This topic has 20 replies, 3 voices, and was last updated 2 years, 6 months ago ago by Diollo Store

  • Avatar: Diollo Store
    Diollo Store
    Participant
    May 14, 2022 at 10:34

    HELLO, I FACE FETAL ERRORS IN MY WEBSITE, WHEN I CHECKOUT

    i tried deactivating plugins (not xstore) and still getting internal server error

    after i deactivate xstore core the site worked normally

    this is the error i get :

    Howdy! Since WordPress 5.2 there is a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email. In this case, WordPress caught an error with one of your plugins, WooCommerce. First, visit your website (https://diollo.store/) and check for any visible issues. Next, visit the page where the error was caught (https://diollo.store/wp-admin/edit.php?s=&post_status=all&post_type=shop_order&_wpnonce=19f00106cf&_wp_http_referer=%2Fwp-admin%2Fedit.php%3Fpost_type%3Dshop_order&action=mark_cancelled&m=0&_customer_user=&paged=1&post%5B%5D=2343&post%5B%5D=2342&post%5B%5D=2341&post%5B%5D=2340&post%5B%5D=1912&action2=mark_cancelled) and check for any visible issues. Please contact your host for assistance with investigating this issue further. If your site appears broken and you can’t access your dashboard normally, WordPress now has a special “recovery mode”. This lets you safely login to your dashboard and investigate further. https://diollo.store/wp-login.php?action=enter_recovery_mode&rm_token=la2FZTBbuNnB8m3IwKcMEK&rm_key=nexPmiL44XPcOr5gGsDQOk To keep your site safe, this link will expire in 1 day. Don’t worry about that, though: a new link will be emailed to you if the error occurs again after it expires. When seeking help with this issue, you may be asked for some of the following information: WordPress version 5.9.3 Current theme: XStore (version 8.1.5) Current plugin: WooCommerce (version 6.5.1) PHP version 8.0.18 Error Details ============= An error of type E_ERROR was caused in line 169 of the file /home/diollcxl/public_html/wp-content/plugins/woocommerce/vendor/pelago/emogrifier/src/CssInliner.php. Error message: Uncaught TypeError: Pelago\Emogrifier\CssInliner::inlineCss(): Argument #1 ($css) must be of type string, null given, called in /home/diollcxl/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php on line 570 and defined in /home/diollcxl/public_html/wp-content/plugins/woocommerce/vendor/pelago/emogrifier/src/CssInliner.php:169 Stack trace: #0 /home/diollcxl/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php(570): Pelago\Emogrifier\CssInliner->inlineCss() #1 /home/diollcxl/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php(658): WC_Email->style_inline() #2 /home/diollcxl/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email-cancelled-order.php(93): WC_Email->send() #3 /home/diollcxl/public_html/wp-includes/class-wp-hook.php(307): WC_Email_Cancelled_Order->trigger() #4 /home/diollcxl/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters() #5 /home/diollcxl/public_html/wp-includes/plugin.php(522): WP_Hook->do_action() #6 /home/diollcxl/public_html/wp-content/plugins/woocommerce/includes/class-wc-emails.php(170): do_action_ref_array() #7 /home/diollcxl/public_html/wp-includes/class-wp-hook.php(307): WC_Emails::send_transactional_email() #8 /home/diollcxl/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters() #9 /home/diollcxl/public_html/wp-includes/plugin.php(474): WP_Hook->do_action() #10 /home/diollcxl/public_html/wp-content/plugins/woocommerce/includes/class-wc-order.php(373): do_action() #11 /home/diollcxl/public_html/wp-content/plugins/woocommerce/includes/class-wc-order.php(222): WC_Order->status_transition() #12 /home/diollcxl/public_html/wp-content/plugins/woocommerce/includes/class-wc-order.php(334): WC_Order->save() #13 /home/diollcxl/public_html/wp-content/plugins/woocommerce/includes/admin/list-tables/class-wc-admin-list-table-orders.php(684): WC_Order->update_status() #14 /home/diollcxl/public_html/wp-includes/class-wp-hook.php(307): WC_Admin_List_Table_Orders->handle_bulk_actions() #15 /home/diollcxl/public_html/wp-includes/plugin.php(189): WP_Hook->apply_filters() #16 /home/diollcxl/public_html/wp-admin/edit.php(212): apply_filters() #17 {main} thrown

    problem causes not sending emails
    not checking out
    can’t register accounts
    can’t cancel orders
    and others

    also there are other members on the form have the same issue

    please provide a roll back ASAP

    and an update fix for this fatal error

    19 Answers
    Avatar: Diollo Store
    Diollo Store
    Participant
    May 14, 2022 at 10:35

    by xstore plugin i mean xstore core

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    May 14, 2022 at 10:40
    Avatar: Diollo Store
    Diollo Store
    Participant
    May 14, 2022 at 10:43

    does this solution will resolve other fatal errors such as internal server error while checkout ?

    Avatar: Diollo Store
    Diollo Store
    Participant
    May 14, 2022 at 10:55

    email not sending at all after this solution
    the system works fine but no emails has been sent t customers

    when is the next update coming to solve this issue ?
    also what causes this issue, is it woocommerce db update ?

    Avatar: Diollo Store
    Diollo Store
    Participant
    May 14, 2022 at 11:46

    i disabled the email builder, now it’s working and sending emails with default woocommerce email templates

    can you provide a solution for this problem ?

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    May 14, 2022 at 13:52

    Hello,

    Please provide temporary wp-admin and FTP access. We need to take a closer look at your site.

    Regards

    Avatar: Diollo Store
    Diollo Store
    Participant
    May 14, 2022 at 15:49

    Hello, i can’t at the moment give ftp access
    The issue appeared in different topics these days, so it’s common
    As a solution i want to rollback to the previous version of the theme,because i didn’t not updated it, and you did without permission when i give you wp access last time
    If rolling back didn’t not solve the problem i will let you know

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    May 16, 2022 at 11:36

    Hello,

    Point is that solution that we provided helped other clients. If that does not work for you then we need access to your site (WP Dashboard and FTP) to test and find out why that code fix does not work for you and find the other solution that would help.

    So, please, provide us with the necessary access. Or create a staging site (full copy of the production site) and provide us with access to staging to allow us to test and help you.

    Regards

    Avatar: Diollo Store
    Diollo Store
    Participant
    May 18, 2022 at 06:37

    i tested it today and activated the email builder
    the only message i get is when the order is under processing, but on hold and other emails templates has not been sent to the customer emails (neither your builder or woocommerce no emails at all)
    i managed to have access to ftp
    you can find access credentials

    we don’t have much time, so please ASAP

    Please contact administrator
    for this information.
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    May 18, 2022 at 16:37

    Hello,

    If I try to send a test email using the email builder tool and I get the email https://prnt.sc/YVAZ6k5UZy4b

    Did you get emails while the default theme Storefront is activated?

    Regards

    Avatar: Diollo Store
    Diollo Store
    Participant
    May 21, 2022 at 12:39

    hi, the problem is not with the test email, its with the email builder
    now i updated the theme and no emails are sending while the email bulder is on

    when i turn it off and then for example put an order on hold the customer receive an email
    but when your builder is on the customer don’t receive any emails except for the first order email (under processing)
    when you try to test test in a real scenario (try to make an order and change its state )

    i tried all order states and no emails
    credentials are the same

    theme version 8.1.6

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    May 23, 2022 at 15:11

    Hello,

    We have disabled the Emil builder and made test order. We got a new order email https://prnt.sc/NyFk4Htd2Vyl . Then we changed the status of the order to on-hold and there is no on-hold email even if the email builder is disabled https://prnt.sc/o3BUdHcrh7iJ So, email builder is not the reason of the issue. Provide us with the video of your order with the enabled Storefront theme and on-hold email that you get when the Storefront theme is enabled. Because I think that you won’t get the email even with the Storefront and that you need to contact WooCommerce support about this.

    Regards

    Avatar: Diollo Store
    Diollo Store
    Participant
    May 23, 2022 at 16:09

    hello, i can confirm that i receive on hold email and all others emails
    this is a new picture :

    https://prnt.sc/Fth9W4DJ6dRL

    i also sent one to your gmail

    if you just opened that email you will find it’s status written inside

    i also as said in prior reply
    the problem seems to be from the xcore plugin because when i deactivated it i think it worked

    please make more testing and make sure that everything is working correctly

    its almost a week now and solution has been provided
    also if the problem is with the other emails status how you explain that the first order email (processing email with 8theme email builder is on) is delivered with out any problems and for the other statues it cannot deliver ?

    EDITED1:
    i have seen same problem i think in the past week in the topics page

    also the order in the screenshot is old and i just updated its status

    credentials are the same

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    May 23, 2022 at 16:57

    Hello,

    Look, I could send you the video where the XStore core plugin is disabled and even the default theme is enabled but there is no on-hold email from your site.
    That’s why it would be better if you contact WooCommerce support https://wordpress.org/support/plugin/woocommerce/ because I get the processed order email but not on-hold.

    Regards

    Avatar: Diollo Store
    Diollo Store
    Participant
    May 23, 2022 at 18:03

    Hello, the screen shot i pinned in the last reply (before yours) shows that i got the on hold email (while the email builder is off)

    As a solution i need to rollback to version 8.1.4 and see

    IMPORTANT DO NOT ROLL BACK AUTOMATICALLY
    SEND THE ROLLBACKED PLUGIN VERSION
    I NEED TO TAKE A BACKUP FIRST

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    May 23, 2022 at 18:50

    Hello,

    Look at this video https://recordit.co/dFCU2CZBFP
    I’m checking your site and the order that I created and it does not send on-hold or canceled order emails to customer even with the default theme. So, Provide us with video not just with the screenshot that you get emails with the default theme and current version of WooCommerce, please.

    Regards

    Avatar: Diollo Store
    Diollo Store
    Participant
    May 24, 2022 at 09:38

    Hello, i need to clarify that the system has no issues, turns out it was the rules in the email builder
    when i set an order to cancelled, by default it’s no sending to customer just admin

    so now i tested all the rules and i think it’s all working

    although, is their a way wen an admin cancel an order the customer can receive a cancellation email?

    Regards

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    May 24, 2022 at 12:06

    Hello,

    There is no option in WooCommerce to send emails about canceled orders. Read this topic and check if the solutions described there help you
    https://wordpress.org/support/topic/failed-and-canceled-orders-email-send-to-customer/

    Regards

    Avatar: Diollo Store
    Diollo Store
    Participant
    May 24, 2022 at 14:07

    thanks, im going to close this topic

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

The issue related to '‘Xstore plugin causes fetal error with woocommerce’' has been successfully resolved, and the topic is now closed for further responses

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.