• Resolved juramraz

    (@juramraz)


    After the update to Woocommerce 7.8.1, the COD payment method does not work and an error appears – Error processing checkout. please try again.

    Although an error occurs, the order is recorded in the database, but the products are not moved from the stock.

    Anyone else getting the error?

    in the Status log – a Fatal Error appears:

    2023-07-03T09:09:25+02:00 CRITICAL Uncaught Error: Call to a member function get_items() on bool in /var/www/vhosts/svarogsden.com/httpdocs/wp-content/plugins/wp-activity-log-for-woocommerce/wp-security-audit-log/sensors/class-woocommerce-sensor.php:3622
    Stack trace:
    #0 /var/www/vhosts/svarogsden.com/httpdocs/wp-includes/class-wp-hook.php(308): WSAL\Plugin_Sensors\WooCommerce_Sensor::event_order_items_removed()
    #1 /var/www/vhosts/svarogsden.com/httpdocs/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
    #2 /var/www/vhosts/svarogsden.com/httpdocs/wp-includes/plugin.php(517): WP_Hook->do_action()
    #3 /var/www/vhosts/svarogsden.com/httpdocs/wp-content/plugins/woocommerce/includes/data-stores/abstract-wc-order-item-type-data-store.php(104): do_action()
    #4 /var/www/vhosts/svarogsden.com/httpdocs/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(207): Abstract_WC_Order_Item_Type_Data_Store->delete()
    #5 /var/www/vhosts/svarogsden.com/httpdocs/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-data.php(199): WC_Data_Store->delete()
    #6 /var/www/vhosts/svarogsden.com/httpdocs/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php(273): WC_Data->delete()
    #7 /var/www/vhosts/svarogsden.com/httpdocs/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php(217): WC_Abstract_Order->save_items()
    #8 /var/www/vhosts/svarogsden.com/httpdocs/wp-content/plugins/woocommerce/includes/class-wc-order.php(244): WC_Abstract_Order->save()
    #9 /var/www/vhosts/svarogsden.com/httpdocs/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php(1849): WC_Order->save()
    #10 /var/www/vhosts/svarogsden.com/httpdocs/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php(1774): WC_Abstract_Order->update_taxes()
    #11 /var/www/vhosts/svarogsden.com/httpdocs/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php(1921): WC_Abstract_Order->calculate_taxes()
    #12 /var/www/vhosts/svarogsden.com/httpdocs/wp-content/plugins/checkout-fees-for-woocommerce/includes/class-alg-wc-order-fees.php(195): WC_Abstract_Order->calculate_totals()
    #13 /var/www/vhosts/svarogsden.com/httpdocs/wp-content/plugins/checkout-fees-for-woocommerce/includes/class-alg-wc-order-fees.php(109): Alg_WC_Order_Fees->remove_fees()
    #14 /var/www/vhosts/svarogsden.com/httpdocs/wp-includes/class-wp-hook.php(310): Alg_WC_Order_Fees->alg_wc_cf_update_order_fees()
    #15 /var/www/vhosts/svarogsden.com/httpdocs/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
    #16 /var/www/vhosts/svarogsden.com/httpdocs/wp-includes/plugin.php(517): WP_Hook->do_action()
    #17 /var/www/vhosts/svarogsden.com/httpdocs/wp-includes/post.php(4715): do_action()
    #18 /var/www/vhosts/svarogsden.com/httpdocs/wp-includes/post.php(4817): wp_insert_post()
    #19 /var/www/vhosts/svarogsden.com/httpdocs/wp-content/plugins/woocommerce/includes/data-stores/abstract-wc-order-data-store-cpt.php(185): wp_update_post()
    #20 /var/www/vhosts/svarogsden.com/httpdocs/wp-content/plugins/woocommerce/includes/data-stores/class-wc-order-data-store-cpt.php(188): Abstract_WC_Order_Data_Store_CPT->update()
    #21 /var/www/vhosts/svarogsden.com/httpdocs/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(196): WC_Order_Data_Store_CPT->update()
    #22 /var/www/vhosts/svarogsden.com/httpdocs/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php(212): WC_Data_Store->update()
    #23 /var/www/vhosts/svarogsden.com/httpdocs/wp-content/plugins/woocommerce/includes/class-wc-order.php(244): WC_Abstract_Order->save()
    #24 /var/www/vhosts/svarogsden.com/httpdocs/wp-content/plugins/woocommerce/includes/class-wc-order.php(357): WC_Order->save()
    #25 /var/www/vhosts/svarogsden.com/httpdocs/wp-content/plugins/woocommerce/includes/gateways/cod/class-wc-gateway-cod.php(327): WC_Order->update_status()
    #26 /var/www/vhosts/svarogsden.com/httpdocs/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(1050): WC_Gateway_COD->process_payment()
    #27 /var/www/vhosts/svarogsden.com/httpdocs/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(1279): WC_Checkout->process_order_payment()
    #28 /var/www/vhosts/svarogsden.com/httpdocs/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(507): WC_Checkout->process_checkout()
    #29 /var/www/vhosts/svarogsden.com/httpdocs/wp-includes/class-wp-hook.php(308): WC_AJAX::checkout()
    #30 /var/www/vhosts/svarogsden.com/httpdocs/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
    #31 /var/www/vhosts/svarogsden.com/httpdocs/wp-includes/plugin.php(517): WP_Hook->do_action()
    #32 /var/www/vhosts/svarogsden.com/httpdocs/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(96): do_action()
    #33 /var/www/vhosts/svarogsden.com/httpdocs/wp-includes/class-wp-hook.php(308): WC_AJAX::do_wc_ajax()
    #34 /var/www/vhosts/svarogsden.com/httpdocs/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
    #35 /var/www/vhosts/svarogsden.com/httpdocs/wp-includes/plugin.php(517): WP_Hook->do_action()
    #36 /var/www/vhosts/svarogsden.com/httpdocs/wp-includes/template-loader.php(13): do_action()
    #37 /var/www/vhosts/svarogsden.com/httpdocs/wp-blog-header.php(19): require_once('...')
    #38 /var/www/vhosts/svarogsden.com/httpdocs/index.php(17): require('...')
    #39 {main}
      thrown in /var/www/vhosts/svarogsden.com/httpdocs/wp-content/plugins/wp-activity-log-for-woocommerce/wp-security-audit-log/sensors/class-woocommerce-sensor.php on line 3622
    • This topic was modified 1 year, 4 months ago by juramraz.
    • This topic was modified 1 year, 4 months ago by juramraz.

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter juramraz

    (@juramraz)

    Problem Solved.
    The problem was in WP Activity Log for WooCommerce plugin. Everything is ok after disabling this plugin…

    • This reply was modified 1 year, 4 months ago by juramraz.
    Plugin Support Beauty of Code (woo-hc)

    (@beautyofcode)

    Hi @juramraz ,

    Thanks for reaching out!

    Problem Solved.
    The problem was in?WP Activity Log for WooCommerce?plugin. Everything is ok after disabling this plugin…

    It seems you have already managed to identify the culprit – great work!

    Since the issue is no longer present when the?WP Activity Log for WooCommerce?plugin is deactivated, I’d suggest reaching out to the plugin developers for further help with this issue.

    Here is a direct link to the plugins support page:

    On the other hand, since this has been resolved, feel free to?create a new topic?if you need further help.

    Cheers!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Woocommerce 7.8.1 – COD not working’ is closed to new replies.