Unable to import if user uid 1 does not exist.

Created on 14 June 2020, about 4 years ago
Updated 30 October 2023, 8 months ago

Unable to import if user uid 1 does not exist.

Facing following error:
TypeError: Argument 1 passed to Drupal\Core\Session\AccountSwitcher::switchTo() must implement interface Drupal\Core\Session\AccountInterface, null given, called in modules/contrib/default_content_deploy/src/Importer.php on line 244

🐛 Bug report
Status

Needs work

Component

Code

Created by

🇮🇳India mukesh.dev

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.69.0 2024