TypeError: Argument 1 passed to Drupal\commerce_checkout\CheckoutOrderManager::getCheckoutFlow()

Created on 7 March 2023, almost 2 years ago
Updated 30 March 2023, over 1 year ago

After upgrading from 2.29 to 2.33, the payments tab of the orders, e.g. https://localhost/admin/commerce/orders/1449/payments, shows WSOD. The log says:

TypeError: Argument 1 passed to Drupal\commerce_checkout\CheckoutOrderManager::getCheckoutFlow() must implement interface Drupal\commerce_order\Entity\OrderInterface, string given,
called in /var/www/html/www/modules/contrib/commerce/modules/checkout/src/Plugin/Block/CheckoutProgressBlock.php on line 83 in
Drupal\commerce_checkout\CheckoutOrderManager->getCheckoutFlow() (line 33 of /var/www/html/www/modules/contrib/commerce/modules/checkout/src/CheckoutOrderManager.php)

💬 Support request
Status

Fixed

Version

2.33

Component

Developer experience

Created by

🇺🇸United States mygumbo

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

Comments & Activities

Production build 0.71.5 2024