Fatal error: Uncaught Error: Call to a member function get() on null
in /volume1/web/dw/wp-content/plugins/woocommerce/includes/wc-cart-functions.php on line 396

Call stack:

  1. wc_get_chosen_shipping_method_ids()
    wp-content/plugins/newebpay/class-newebpay.php:1673
  2. newebpay_alter_payment_gateways()
    wp-includes/class-wp-hook.php:324
  3. WP_Hook::apply_filters()
    wp-includes/plugin.php:205
  4. apply_filters()
    wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php:94
  5. WC_Payment_Gateways::init()
    wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php:76
  6. WC_Payment_Gateways::__construct()
    wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php:49
  7. WC_Payment_Gateways::instance()
    wp-content/plugins/woocommerce/includes/class-woocommerce.php:1071
  8. WooCommerce::payment_gateways()
    wp-content/plugins/woocommerce/includes/class-woocommerce.php:181
  9. WooCommerce::__get()
    wp-content/plugins/woocommerce/src/StoreApi/Schemas/V1/CheckoutSchema.php:141
  10. Automattic\W\S\S\V\CheckoutSchema::get_properties()
    wp-content/plugins/woocommerce/src/StoreApi/Schemas/V1/AbstractSchema.php:64
  11. Automattic\W\S\S\V\AbstractSchema::get_item_schema()
    wp-content/plugins/woocommerce/src/StoreApi/Routes/V1/AbstractRoute.php:87
  12. Automattic\W\S\R\V\AbstractRoute::get_item_schema()
    wp-content/plugins/woocommerce/src/StoreApi/Routes/V1/AbstractRoute.php:271
  13. Automattic\W\S\R\V\AbstractRoute::get_context_param()
    wp-content/plugins/woocommerce/src/StoreApi/Routes/V1/Checkout.php:72
  14. Automattic\W\S\R\V\Checkout::get_args()
    wp-content/plugins/woocommerce/src/StoreApi/RoutesController.php:125
  15. Automattic\W\S\RoutesController::register_routes()
    wp-content/plugins/woocommerce/src/StoreApi/RoutesController.php:79
  16. Automattic\W\S\RoutesController::register_all_routes()
    wp-content/plugins/woocommerce/src/StoreApi/StoreApi.php:27
  17. Automattic\W\S\StoreApi::Automattic\W\S\{closure}()
    wp-includes/class-wp-hook.php:324
  18. WP_Hook::apply_filters()
    wp-includes/class-wp-hook.php:348
  19. WP_Hook::do_action()
    wp-includes/plugin.php:517
  20. do_action()
    wp-includes/rest-api.php:597
  21. rest_get_server()
    wp-includes/rest-api.php:421
  22. rest_api_loaded()
    wp-includes/class-wp-hook.php:324
  23. WP_Hook::apply_filters()
    wp-includes/class-wp-hook.php:348
  24. WP_Hook::do_action()
    wp-includes/plugin.php:565
  25. do_action_ref_array()
    wp-includes/class-wp.php:418
  26. WP::parse_request()
    wp-includes/class-wp.php:813
  27. WP::main()
    wp-includes/functions.php:1336
  28. wp()
    wp-blog-header.php:16
  29. require()
    index.php:17

Query Monitor

Fatal error: Uncaught Error: Call to a member function get() on null in /volume1/web/dw/wp-content/plugins/woocommerce/includes/wc-cart-functions.php on line 396 Error: Call to a member function get() on null in /volume1/web/dw/wp-content/plugins/woocommerce/includes/wc-cart-functions.php on line 396 Call Stack: 5.9772 154517696 1. QM_Collector_PHP_Errors->exception_handler($e = class Error { protected $message = 'Call to a member function get() on null'; private $string = ''; protected $code = 0; protected $file = '/volume1/web/dw/wp-content/plugins/woocommerce/includes/wc-cart-functions.php'; protected $line = 396; private $trace = [0 => [...], 1 => [...], 2 => [...], 3 => [...], 4 => [...], 5 => [...], 6 => [...], 7 => [...], 8 => [...], 9 => [...], 10 => [...], 11 => [...], 12 => [...], 13 => [...], 14 => [...], 15 => [...], 16 => [...], 17 => [...], 18 => [...], 19 => [...], 20 => [...], 21 => [...], 22 => [...], 23 => [...], 24 => [...], 25 => [...], 26 => [...], 27 => [...], 28 => [...]]; private $previous = NULL; public $xdebug_message = '\nError: Call to a member function get() on null in /volume1/web/dw/wp-content/plugins/woocommerce/includes/wc-cart-functions.php on line 396\n\nCall Stack:\n 0.0001 360040 1. {main}() /volume1/web/dw/index.php:0\n 0.0002 360320 2. require(\'/volume1/web/dw/wp-blog-header.php\') /volume1/web/dw/index.php:17\n 4.7592 141076032 3. wp($query_vars = ???) /volume1/web/dw/wp-blog-header.php:16\n 4.7592 141076032 4. WP->main($query_args = \'\') /volume1/web/dw/wp-includes/functions.ph' }) /volume1/web/dw/wp-content/plugins/query-monitor/collectors/php_errors.php:0