'entity:user' context is required and not present

Created on 12 April 2023, about 1 year ago
Updated 15 April 2023, about 1 year ago

Problem/Motivation

I am trying to follow this tutorial for Drupal 7 to 9 user migration with migration_tools:
https://www.metaltoad.com/blog/drupal-8-migrations-part-2-migrating-user...

I know this isn't your tutorial, but I am lost on how to use your module without it. I am getting the following error as soon as I am adding my custom module (without enabling): "The 'entity:user' context is required and not present."
Also the URL to get to find destination plugins is a little different than in the tutorial:
core/modules/migrate/src/Plugin/migrate/destination
And I am seeing only the following destinations but not a file for User and no User destination is defined in Entity.php:

ComponentEntityDisplayBase.php
Config.php
DestinationBase.php
Entity.php
EntityBaseFieldOverride.php
EntityConfigBase.php
EntityContentBase.php
EntityContentComplete.php
EntityFieldInstance.php
EntityFieldStorageConfig.php
EntityRevision.php
EntityViewMode.php
NullDestination.php
PerComponentEntityDisplay.php
PerComponentEntityFormDisplay.php

How to resolve the error "'entity:user' context is required and not present"?

๐Ÿ’ฌ Support request
Status

Closed: cannot reproduce

Version

2.5

Component

Documentation

Created by

๐Ÿ‡บ๐Ÿ‡ธUnited States nsuit

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

Comments & Activities

Production build 0.69.0 2024