• Resolved astralex

    (@astralex)


    Hi, when users have paid their order, on thankyou page they get a message displayed: “There has been a critical error on this website”.
    I display a banner there for a gift card.

    I checked woocommerce logs and it seams to be related to this:

    2023-05-29T21:16:23+00:00 CRITICAL Uncaught Error: Call to a member function get_data() on bool in /home/xxxxxx.server.com/xxxxxxuser/public_html/wp-content/themes/redirect/functions.php:176
    Stack trace:
    #0 /home/xxxxxx.server.com/xxxxxxuser/public_html/wp-includes/class-wp-hook.php(308): hawkdive_google_conversion_tracking()
    #1 /home/xxxxxx.server.com/xxxxxxuser/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
    #2 /home/xxxxxx.server.com/xxxxxxuser/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
    #3 /home/xxxxxx.server.com/xxxxxxuser/public_html/wp-content/plugins/banner-management-for-woocommerce/public/woocommerce/checkout/thankyou.php(205): do_action()
    #4 /home/xxxxxx.server.com/xxxxxxuser/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include('/home/723066.cl...')
    #5 /home/xxxxxx.server.com/xxxxxxuser/public_html/wp-content/plugins/woocommerce/includes/shortcodes/class-wc-shortcode-checkout.php(279): wc_get_template()
    #6 / in /home/xxxxxx.server.com/xxxxxxuser/public_html/wp-content/themes/redirect/functions.php on line 176
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Hitendra Chopda

    (@hitendra-chopda)

    Hello @astralex

    Thanks for reaching out to us and for sharing the details here.

    We need to check your active theme and system report, as unable to reproduce the issue on our side.

    Also let us know the code that added at functions.php:176 line.

    Best Regards,
    Hitendra & DotStore Team

    Plugin Support Hitendra Chopda

    (@hitendra-chopda)

    Hello there,

    We haven’t heard back from you in a while, so I’m going to mark this as resolved.

    If you have any further questions, you can start a new thread.

    Best Regards,
    Hitendra & DotStore Team

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Critical error message’ is closed to new replies.