Call to a member function getRefreshMode()

Created on 9 August 2024, about 1 month ago

On adding to cart a product:

Error: Call to a member function getRefreshMode() on null in Drupal\commerce_order\OrderRefresh->shouldRefresh() (line 104 of modules/commerce/modules/order/src/OrderRefresh.php).

Drupal core 10.3.1
Commerce Core 8.x-2.38
Mail Login 3.0.1

💬 Support request
Status

Closed: won't fix

Version

2.38

Component

Cart

Created by

🇮🇹Italy openmode

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @openmode
  • Status changed to Closed: won't fix about 1 month ago
  • 🇮🇱Israel jsacksick

    This isn't a "critical" bug report. This is happening because the code is loading an order type that no longer exists. Before deleting an order type you have to make sure no orders are still referencing that type/bundle...

Production build 0.71.5 2024