• Resolved olstadesigns

    (@olstadesigns)


    After Payment has been processed and you land on the thank you page you get a critical error along with what looks like the stripping of CSS This happens to to another site of ours https://offroadlife4x4.com.au. Exactly the same thing.
    Could you have a look into the errors in the screenshot below?

    Screenshot : https://snipboard.io/kTnmGE.jpg

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 22 total)
  • Plugin Support James Osborne

    (@jamesosborne)

    Thanks for reaching out @olstadesigns. We’re aware of an issue and we plan on a fix for this soon, with more details added to the GitHub issue below:
    https://github.com/google/site-kit-wp/issues/9276

    As a possible workaround, can you try to downgrade to PHP 8.1 if using a newer version?

    Thread Starter olstadesigns

    (@olstadesigns)

    Hi @jamesosborne,

    Thanks for your response. I already tried to downgrade to php8.1 with no change to the issue at play. Guess I’ll need to leave Google Site Kit deactivated for now. I hope there is a fix for this very shortly.

    Plugin Support James Osborne

    (@jamesosborne)

    Sorry to hear that, and appreciate the update @olstadesigns. I’ll follow up with the team on this conflict and let you know once I have an update.

    Thread Starter olstadesigns

    (@olstadesigns)

    I see this issue started approx 6 weeks ago so not sure why a fix is taking so long. I spoke to my developer and he said he can fix it but I’m hoping Google can hurry up and fix the issue so I don’t have to pay my developer to fix it.

    Plugin Support James Osborne

    (@jamesosborne)

    I understand, and I will request an update on this @olstadesigns. As a possible workaround, can you try deactivate Enhanced Conversion Tracking within Site Kit and check does the same occur? If not, you can enable this one more via Tag Manager while this is being worked on.

    Let me know how you get on with the above possible workaround.

    Thread Starter olstadesigns

    (@olstadesigns)

    Thanks @jamesosborne, I don’t have this enabled so to me it looks like this isn’t the issue with the plugin. I also don’t have Tag Manager activated so the second solution isn’t an option for me either.

    Plugin Support James Osborne

    (@jamesosborne)

    Thanks for the update @olstadesigns. In that case, there is another check you can perform. Given that I suspect this occurs with the Analytics snippet placed via Site Kit, can you check if the same occurs if you toggle off the option for Site Kit to place your Google Analytics snippet (Site Kit > Settings > Connected Services > Analytics > Edit)?

    Note that this is just a temporary check. If the same doesn’t occur, I can guide you through adding Google Analytics via Tag Manager while we work on this.

    Thread Starter olstadesigns

    (@olstadesigns)

    @jamesosborne, if I toggle this off there is no change.

    Plugin Support James Osborne

    (@jamesosborne)

    Thanks for checking @olstadesigns. In that case I’ll check this with the team further, while I’ll also test this myself. I don’t have any other known workaround at this time, but I will keep you updated here as soon as I have an update. Thank you.

    Thread Starter olstadesigns

    (@olstadesigns)

    Thanks for the reply @jamesosborne. Are my websites going to be penalised for not having this plugin active. If so what steps should I take to avoid this as I currently have the plugin deactivated until this is resolved.

    Hi, I have this same problem. How can this be solved temporarily?
    Video – https://www.loom.com/share/0ad15cd512b345b495ab762ead747e64


    Fatal error: Uncaught TypeError: hash_equals(): Argument #2 ($user_string) must be of type string, null given in /home/znajdz/domains/zabawybeznudy.pl/public_html/wp-content/plugins/woocommerce/includes/class-wc-order.php:1585 Stack trace: #0 /home/znajdz/domains/zabawybeznudy.pl/public_html/wp-content/plugins/woocommerce/includes/class-wc-order.php(1585): hash_equals() #1 /home/znajdz/domains/zabawybeznudy.pl/public_html/wp-content/plugins/google-site-kit/includes/Core/Conversion_Tracking/Conversion_Event_Providers/WooCommerce.php(97): WC_Order->key_is_valid() #2 /home/znajdz/domains/zabawybeznudy.pl/public_html/wp-includes/class-wp-hook.php(324): Google\Site_Kit\Core\Conversion_Tracking\Conversion_Event_Providers\WooCommerce->Google\Site_Kit\Core\Conversion_Tracking\Conversion_Event_Providers\{closure}() #3 /home/znajdz/domains/zabawybeznudy.pl/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #4 /home/znajdz/domains/zabawybeznudy.pl/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #5 /home/znajdz/domains/zabawybeznudy.pl/public_html/wp-content/plugins/cartflows/woocommerce/template/checkout/thankyou.php(82): do_action() #6 /home/znajdz/domains/zabawybeznudy.pl/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include('/home/znajdz/do...') #7 /home/znajdz/domains/zabawybeznudy.pl/public_html/wp-content/plugins/cartflows/modules/thankyou/classes/class-cartflows-thankyou-markup.php(212): wc_get_template() #8 /home/znajdz/domains/zabawybeznudy.pl/public_html/wp-includes/shortcodes.php(434): Cartflows_Thankyou_Markup->cartflows_order_details_shortcode_markup() #9 [internal function]: do_shortcode_tag() #10 /home/znajdz/domains/zabawybeznudy.pl/public_html/wp-includes/shortcodes.php(273): preg_replace_callback() #11 /home/znajdz/domains/zabawybeznudy.pl/public_html/wp-content/plugins/cartflows/modules/elementor/widgets/class-cartflows-el-order-details-form.php(781): do_shortcode() #12 /home/znajdz/domains/zabawybeznudy.pl/public_html/wp-content/plugins/elementor/includes/base/controls-stack.php(2325): Cartflows_Order_Details_Form->render() #13 /home/znajdz/domains/zabawybeznudy.pl/public_html/wp-content/plugins/elementor/includes/base/widget-base.php(635): Elementor\Controls_Stack->render_by_mode() #14 /home/znajdz/domains/zabawybeznudy.pl/public_html/wp-content/plugins/elementor/includes/base/widget-base.php(776): Elementor\Widget_Base->render_content() #15 /home/znajdz/domains/zabawybeznudy.pl/public_html/wp-content/plugins/elementor/includes/base/element-base.php(483): Elementor\Widget_Base->print_content() #16 /home/znajdz/domains/zabawybeznudy.pl/public_html/wp-content/plugins/elementor/includes/base/element-base.php(1442): Elementor\Element_Base->print_element() #17 /home/znajdz/domains/zabawybeznudy.pl/public_html/wp-content/plugins/elementor/includes/base/element-base.php(483): Elementor\Element_Base->print_content() #18 /home/znajdz/domains/zabawybeznudy.pl/public_html/wp-content/plugins/elementor/includes/base/element-base.php(1442): Elementor\Element_Base->print_element() #19 /home/znajdz/domains/zabawybeznudy.pl/public_html/wp-content/plugins/elementor/includes/base/element-base.php(483): Elementor\Element_Base->print_content() #20 /home/znajdz/domains/zabawybeznudy.pl/public_html/wp-content/plugins/elementor/core/base/document.php(1875): Elementor\Element_Base->print_element() #21 /home/znajdz/domains/zabawybeznudy.pl/public_html/wp-content/plugins/elementor/core/base/document.php(1800): Elementor\Core\Base\Document->do_print_elements() #22 /home/znajdz/domains/zabawybeznudy.pl/public_html/wp-content/plugins/elementor/core/base/document.php(1201): Elementor\Core\Base\Document->print_elements() #23 /home/znajdz/domains/zabawybeznudy.pl/public_html/wp-content/plugins/elementor/includes/frontend.php(1207): Elementor\Core\Base\Document->print_elements_with_wrapper() #24 /home/znajdz/domains/zabawybeznudy.pl/public_html/wp-content/plugins/elementor/includes/frontend.php(1102): Elementor\Frontend->get_builder_content() #25 /home/znajdz/domains/zabawybeznudy.pl/public_html/wp-includes/class-wp-hook.php(324): Elementor\Frontend->apply_builder_in_content() #26 /home/znajdz/domains/zabawybeznudy.pl/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters() #27 /home/znajdz/domains/zabawybeznudy.pl/public_html/wp-includes/post-template.php(256): apply_filters() #28 /home/znajdz/domains/zabawybeznudy.pl/public_html/wp-content/themes/bookory-child/inc/template-functions.php(314): the_content() #29 /home/znajdz/domains/zabawybeznudy.pl/public_html/wp-includes/class-wp-hook.php(324): bookory_page_content() #30 /home/znajdz/domains/zabawybeznudy.pl/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #31 /home/znajdz/domains/zabawybeznudy.pl/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #32 /home/znajdz/domains/zabawybeznudy.pl/public_html/wp-content/themes/bookory/content-page.php(10): do_action() #33 /home/znajdz/domains/zabawybeznudy.pl/public_html/wp-includes/template.php(812): require('/home/znajdz/do...') #34 /home/znajdz/domains/zabawybeznudy.pl/public_html/wp-includes/template.php(745): load_template() #35 /home/znajdz/domains/zabawybeznudy.pl/public_html/wp-includes/general-template.php(206): locate_template() #36 /home/znajdz/domains/zabawybeznudy.pl/public_html/wp-content/themes/bookory/page.php(14): get_template_part() #37 /home/znajdz/domains/zabawybeznudy.pl/public_html/wp-includes/template-loader.php(106): include('/home/znajdz/do...') #38 /home/znajdz/domains/zabawybeznudy.pl/public_html/wp-blog-header.php(19): require_once('/home/znajdz/do...') #39 /home/znajdz/domains/zabawybeznudy.pl/public_html/index.php(17): require('/home/znajdz/do...') #40 {main} thrown in /home/znajdz/domains/zabawybeznudy.pl/public_html/wp-content/plugins/woocommerce/includes/class-wc-order.php on line 1585
    Plugin Support James Osborne

    (@jamesosborne)

    @olstadesigns No, your website will not be penalized for not having the plugin active. If you did deactivate Site Kit. You may wish to add Google Analytics manually to your site while this is being investigated so you don’t miss out on any traffic and related statistics.

    @gorzewski If you’d like to open an individual support topic we can communicate with you from there. Please include also share your Site Health information after opening a support topic, which references your own individual topic, and a mention of whether you encounter this with the Google Analytics module deactivated within Site Kit. I’ll keep an eye out for your topic. Thank you!

    Plugin Support James Osborne

    (@jamesosborne)

    Just to let you know that we did perform some checks on this today while also discussing your case. Unfortunately it will take a while longer for a fix within Site Kit, but there are a couple of checks you may wish to perform based on some tests and possible workarounds. If you have the time, please perform the following checks:

    1. Regarding the stripping of CSS, please check does the same occur if you regenerate CSS using the Cartflow settings (see screenshot).
    2. Does the same occur if you temporarily disable the Site Kit admin toolbar feature (Site Kit > Settings > Admin settings > Plugin Settings > Display relevant page stats in the Admin bar)? By the same I’m referring to both the CSS changes and the critical error.
    3. Does the same occur if you select the “Other” template and you override the default checkout, within the CartFlows settings (screenshot)

    For the above checks, you will need to enable Site Kit once more. Note also that it may of use to check whether this occurs if you have the Google Analytics module within Site Kit deactivated (Site Kit > Settings > Analytics > Edit > Disconnect Analytics from Site Kit).

    Let me know if you have any questions with the above. Regardless of whether you can perform the above checks, we will be addressing this via the related GitHub issue. The above suggestions for you are to check for a possible workaround, given I can’t consistently create any such critical error on my own test site.

    Thread Starter olstadesigns

    (@olstadesigns)

    Hi @jamesosborne,

    Sorry for the late reply. I have done all the steps you mentioned above but no change at any stage of doing these steps. I even disconnected from ALL services and still no change.

    Plugin Support James Osborne

    (@jamesosborne)

    Thanks for checking. I’ll request an update from the team this week on this. In the meantime, if you do find the time, please confirm that you can create the same on a disposable WordPress site with Site Kit, WooCommerce and CartFlows installed. Here’s a link that will generated such a disposable site with Site Kit pre-installed. This may be of use to test this error further. Regardless, I will check for any updates with the team this week.

Viewing 15 replies - 1 through 15 (of 22 total)
  • You must be logged in to reply to this topic.