• Resolved webtranquility

    (@webtranquility)


    Hello,

    I am currently using the Woo Advanced Shipment Tracking plugin in my WordPress website. Everything seem to be fine until I get to add to cart and checkout.

    Adding to cart is okay, but, when I want to pay and complete my checkout, I get the error: “Error processing checkout. Please try again.”

    I checked WooCommerce Log and I see this error in the log “

    CRITICAL Uncaught Error: Call to undefined method WC_Email_Customer_Completed_Order::get_billing_first_name() in /var/www/wp-content/plugins/woo-advanced-shipment-tracking/includes/email-manager.php:153

    I uninstalled this plugin and then tried to checkout and it worked perfectly. I need this plugin to work on my website. Please, can you help me figure this one out?


    Thank you for your time.

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Zorem

    (@zorem)

    Hi @webtranquility,

    We checked this in our developmet store but we can’t replicate any issue in our store.

    Maybe you have conflict with anoher plugin. Try to deactivate all other plugins except the AST and WooCommerce and check again.

    Thanks

    Thread Starter webtranquility

    (@webtranquility)

    Ok, I will try that and revert, thanks.

    In the meantime, will it be helpful if I supply the entire log on the wooCommerce?

    Plugin Author Zorem

    (@zorem)

    Yes share the fatal error log, it will be helpful.

    Thread Starter webtranquility

    (@webtranquility)

    2023-01-09T09:26:21+00:00 CRITICAL Uncaught Error: Call to undefined method WC_Email_Customer_Completed_Order::get_billing_first_name() in /var/www/wp-content/plugins/woo-advanced-shipment-tracking/includes/email-manager.php:153
    Stack trace: 0 /var/www/wp-includes/class-wp-hook.php(308): WC_Advanced_Shipment_Tracking_Email_Manager->completed_email_subject('Your {site_titl…', Object(WC_Email_Customer_Completed_Order)) 1 /var/www/wp-includes/plugin.php(205): WP_Hook->apply_filters('Your {site_titl…', Array) 2 /var/www/wp-content/mu-plugins/gd-system-plugin/plugins/mwc-core/src/Features/EmailNotifications/DataSources/WooCommerce/EmailNotificationAdapter.php(339): apply_filters('woocommerce_ema…', 'Your {site_titl…', Object(WC_Email_Customer_Completed_Order)) 3 /var/www/wp-content/mu-plugins/gd-system-plugin/plugins/mwc-core/src/Features/EmailNotifications/DataSources/WooCommerce/EmailNotificationAdapter.php(371): GoDaddy\WordPress\MWC\Core\Features\EmailNotifications\DataSources\WooCommerce\EmailNotificationAdapter->adaptUnformattedFilteredProperty('subject', 'subject', 'Your {site_titl…', Object(WC_Email_Customer_Completed_Order)) 4 /var/www/wp-content/mu-plugins/gd-system-plugin/plugins/mwc-core/src/Features/EmailNotifications/DataSources/WooCommerce/EmailNotificationAdapter.php(292): GoDaddy\WordPress\MWC\Core\Features\EmailNotifications\DataSources\WooCommerce\EmailNotificationAdapter->adaptEmailSubject(Object(WC_Email_Customer_Completed_Order), Object(GoDaddy\WordPress\MWC\Core\Features\EmailNotifications\Models\CompletedOrderEmailNotification)) 5 /var/www/wp-content/mu-plugins/gd-system-plugin/plugins/mwc-core/src/Features/EmailNotifications/DataStores/WooCommerce/EmailNotificationDataStore.php(163): GoDaddy\WordPress\MWC\Core\Features\EmailNotifications\DataSources\WooCommerce\EmailNotificationAdapter->convertFromSource(Object(GoDaddy\WordPress\MWC\Core\Features\EmailNotifications\Models\CompletedOrderEmailNotification)) 6 /var/www/wp-content/mu-plugins/gd-system-plugin/plugins/mwc-core/src/Features/EmailNotifications/DataStores/WooCommerce/EmailNotificationDataStore.php(219): GoDaddy\WordPress\MWC\Core\Features\EmailNotifications\DataStores\WooCommerce\EmailNotificationDataStore->getAdaptedEmailNotification(Object(WC_Email_Customer_Completed_Order), Object(GoDaddy\WordPress\MWC\Core\Features\EmailNotifications\Models\CompletedOrderEmailNotification)) 7 [internal function]: GoDaddy\WordPress\MWC\Core\Features\EmailNotifications\DataStores\WooCommerce\EmailNotificationDataStore->GoDaddy\WordPress\MWC\Core\Features\EmailNotifications\DataStores\WooCommerce{closure}(Object(WC_Email_Customer_Completed_Order)) 8 /var/www/wp-content/mu-plugins/gd-system-plugin/plugins/mwc-core/src/Features/EmailNotifications/DataStores/WooCommerce/EmailNotificationDataStore.php(227): array_map(Object(Closure), Array) 9 /var/www/wp-content/mu-plugins/gd-system-plugin/plugins/mwc-core/src/Features/EmailNotifications/DataStores/SettingsDataStore.php(42): GoDaddy\WordPress\MWC\Core\Features\EmailNotifications\DataStores\WooCommerce\EmailNotificationDataStore->all() 10 /var/www/wp-content/mu-plugins/gd-system-plugin/plugins/mwc-core/src/Features/EmailNotifications/DataStores/WooCommerce/SettingsDataStore.php(56): GoDaddy\WordPress\MWC\Core\Features\EmailNotifications\DataStores\SettingsDataStore->read('email_notificat…') 11 /var/www/wp-content/mu-plugins/gd-system-plugin/plugins/mwc-core/src/Features/EmailNotifications/EmailNotifications.php(123): GoDaddy\WordPress\MWC\Core\Features\EmailNotifications\DataStores\WooCommerce\SettingsDataStore->read('email_notificat…') 12 /var/www/wp-content/mu-plugins/gd-system-plugin/plugins/mwc-core/src/Features/EmailNotifications/EmailNotifications.php(136): GoDaddy\WordPress\MWC\Core\Features\EmailNotifications\EmailNotifications::getGeneralSettings() 13 /var/www/wp-content/mu-plugins/gd-system-plugin/plugins/mwc-core/src/Features/EmailNotifications/AbstractEmailBuilder.php(106): GoDaddy\WordPress\MWC\Core\Features\EmailNotifications\EmailNotifications::getSenderAddress() 14 /var/www/wp-content/mu-plugins/gd-system-plugin/plugins/mwc-core/src/Features/EmailNotifications/EmailBuilder.php(70): GoDaddy\WordPress\MWC\Core\Features\EmailNotifications\AbstractEmailBuilder->build() 15 /var/www/wp-content/mu-plugins/gd-system-plugin/plugins/mwc-core/src/Features/EmailNotifications/WooCommerce/EmailCatcher.php(46): GoDaddy\WordPress\MWC\Core\Features\EmailNotifications\EmailBuilder->build() 16 /var/www/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php(688): GoDaddy\WordPress\MWC\Core\Features\EmailNotifications\WooCommerce\EmailCatcher->__invoke(Object(WC_Email_New_Order)) 17 /var/www/wp-content/plugins/woocommerce/includes/emails/class-wc-email-new-order.php(111): WC_Email->send('sabawiusa@gmail…', '[Mr Zirconia]: …', '…', 'Content-Type: t…', Array) 18 /var/www/wp-includes/class-wp-hook.php(308): WC_Email_New_Order->trigger(8735, Object(Automattic\WooCommerce\Admin\Overrides\Order)) 19 /var/www/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array) 20 /var/www/wp-includes/plugin.php(565): WP_Hook->do_action(Array) 21 /var/www/wp-content/plugins/woocommerce/includes/class-wc-emails.php(170): do_action_ref_array('woocommerce_ord…', Array) 22 /var/www/wp-includes/class-wp-hook.php(308): WC_Emails::send_transactional_email(Array, Object(Automattic\WooCommerce\Admin\Overrides\Order)) 23 /var/www/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array) 24 /var/www/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 25 /var/www/wp-content/plugins/woocommerce/includes/class-wc-order.php(396): do_action('woocommerce_ord…', 8735, Object(Automattic\WooCommerce\Admin\Overrides\Order)) 26 /var/www/wp-content/plugins/woocommerce/includes/class-wc-order.php(245): WC_Order->status_transition() 27 /var/www/wp-content/plugins/woocommerce/includes/class-wc-order.php(357): WC_Order->save() 28 /var/www/wp-content/plugins/woocommerce/includes/gateways/bacs/class-wc-gateway-bacs.php(365): WC_Order->update_status('on-hold', 'Awaiting BACS p…') 29 /var/www/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(1050): WC_Gateway_BACS->process_payment(8735) 30 /var/www/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(1279): WC_Checkout->process_order_payment(8735, 'bacs') 31 /var/www/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(481): WC_Checkout->process_checkout() 32 /var/www/wp-includes/class-wp-hook.php(308): WC_AJAX::checkout('') 33 /var/www/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array) 34 /var/www/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 35 /var/www/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(94): do_action('wc_ajax_checkou…') 36 /var/www/wp-includes/class-wp-hook.php(308): WC_AJAX::do_wc_ajax('') 37 /var/www/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(false, Array) 38 /var/www/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 39 /var/www/wp-includes/template-loader.php(13): do_action('template_redire…') 40 /var/www/wp-blog-header.php(19): require_once('/var/www/wp-inc…') 41 /var/www/index.php(17): require('/var/www/wp-blo…') 42 {main} thrown in /var/www/wp-content/plugins/woo-advanced-shipment-tracking/includes/email-manager.php on line 153

    I forgot to mention that even though it returns the message “Error processing checkout. Please try again.”, I get to see the order as “processing” in my dashboard.

    I have activated the Plugin back. If you will be able to test for me to be able to pinpoint exactly what the error is, I will be very grateful.

    Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘CRITICAL Uncaught Error’ is closed to new replies.