Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter atai66

    (@atai66)

    Hi

    Thanks for your replies.

    [11-Apr-2022 23:27:14 UTC] PHP Fatal error:  Uncaught Error: Call to undefined method WC_Order::get_id() in /home/onenatio/public_html/donate/wp-content/plugins/woocommerce-gateway-stripe/includes/class-wc-gateway-stripe.php:981
    Stack trace:
    #0 /home/onenatio/public_html/donate/wp-content/plugins/woocommerce-gateway-stripe/includes/class-wc-stripe-intent-controller.php(102): WC_Gateway_Stripe->verify_intent_after_checkout(Object(WC_Order))
    #1 /home/onenatio/public_html/donate/wp-includes/class-wp-hook.php(287): WC_Stripe_Intent_Controller->verify_intent('')
    #2 /home/onenatio/public_html/donate/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters('', Array)
    #3 /home/onenatio/public_html/donate/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
    #4 /home/onenatio/public_html/donate/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(82): do_action('wc_ajax_wc_stri...')
    #5 /home/onenatio/public_html/donate/wp-includes/class-wp-hook.php(287): WC_AJAX::do_wc_ajax('')
    #6 /home/onenatio/public_html/donate/wp-includes/class-wp-hook.php(311): WP_H in /home/onenatio/public_html/donate/wp-content/plugins/woocommerce-gateway-stripe/includes/class-wc-gateway-stripe.php on line 981

    clean_post_cache( $order->get_id() ); (line 981)

    Generally, what does “Call to undefined method WC_Order::get_id()” mean?

    Thanks

    Regards
    Annie

    Thread Starter atai66

    (@atai66)

    Hi

    Thanks for your response.

    I understand the site require several plugin updates but the site is experiencing heavy traffic currently and the site owners, if possible, would like to try and fix the problem without any downtime.

    The thing that is baffling is that this error only happens to around 10% of the orders.

    Any thoughts on that?

    Thanks
    Annie

    Thread Starter atai66

    (@atai66)

    Hi

    Thank you for your response.

    Can I move this topic somehow to the other forum or do i need to start another topic there?

    Regards
    Annie

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