upgrade_d7_commerce_order error must implement AccountInterface

Created on 4 December 2017, over 7 years ago
Updated 21 June 2023, almost 2 years ago

Using dev version (9a966b7).
Trying to migrate from Drupal 7 with Commerce 1.x to Drupal 8 with Commerce 2.x

This is part of the console log:

$ drush mi upgrade_d7_commerce_order_item
Processed 5269 items (5269 created, 0 updated, 0 failed, 0 ignored) - done with 'upgrade_d7_commerce_order_item'                                     [status]

$ drush mi upgrade_d7_commerce_order
Argument 1 passed to Drupal\commerce\Context::__construct() must implement interface Drupal\Core\Session\AccountInterface, null given, called in     [error]
/mnt/d/www/example.com/modules/contrib/commerce/modules/order/src/OrderRefresh.php on line 137 and
defined Context.php:46
E_RECOVERABLE_ERROR encountered; aborting. To ignore recoverable errors, run again with --no-halt-on-error                                           [error]
Drush command terminated abnormally due to an unrecoverable error.
💬 Support request
Status

Fixed

Version

2.0

Component

Drupal Commerce 1.x

Created by

🇨🇴Colombia Yaazkal

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