• Resolved justinmyoung

    (@justinmyoung)


    Hi,

    Thanks for your continued support for this plugin.

    We’ve encountered an error, which our host alert us to as well, when converting WooCommerce orders from processing to complete. Here’s the error:

    Error Details
    =============
    An error of type E_ERROR was caused in line 2932 of the file /nas/content/live/greenlighting/wp-content/plugins/woocommerce-discounts-plus/inc/classes/Woo_Discounts_Plus_Plugin.php. Error message: Uncaught Error: Call to a member function get() on null in /nas/content/live/greenlighting/wp-content/plugins/woocommerce-discounts-plus/inc/classes/Woo_Discounts_Plus_Plugin.php:2932
    Stack trace:
    #0 /nas/content/live/greenlighting/wp-includes/class-wp-hook.php(292): Woo_Discounts_Plus_Plugin->discount_after_shipping_thank_you(Array, Object(Automattic\WooCommerce\Admin\Overrides\Order), 'excl')
    #1 /nas/content/live/greenlighting/wp-includes/plugin.php(212): WP_Hook->apply_filters(Array, Array)
    #2 /nas/content/live/greenlighting/wp-content/plugins/woocommerce/includes/class-wc-order.php(2078): apply_filters('woocommerce_get...', Array, Object(Automattic\WooCommerce\Admin\Overrides\Order), 'excl')
    #3 /nas/content/live/greenlighting/wp-content/themes/chromium/woocommerce/emails/email-order-details.php(63): WC_Order->get_order_item_totals()
    #4 /nas/content/live/greenlighting/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include('/nas/content/li...')
    #5 /nas/content/live/greenlighting/wp-cont

    On the frontend, it indicates a critical error.

    Thanks for any help!

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

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Uncaught Error: Call to a member function get()’ is closed to new replies.