Call to a member function getWorkflowId() on null

Created on 23 September 2020, over 4 years ago
Updated 27 April 2025, about 1 month ago

Problem/Motivation

if type order change have error

Steps to reproduce

Change default type /admin/commerce/config/order-types

include my patch
I think this is a more universal approach

The website encountered an unexpected error. Please try again later.
Error: Call to a member function getWorkflowId() on null in Drupal\commerce_order\Entity\Order::getWorkflowId() (line 914 of modules/contrib/commerce/modules/order/src/Entity/Order.php).

πŸ“Œ Task
Status

Postponed: needs info

Version

2.0

Component

Code

Created by

πŸ‡¨πŸ‡¦Canada grenuy

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024