Drupal 6 migration fails with TypeError: in_array(): Argument #2 ($haystack) must be of type array, string given in in_array()

Created on 30 August 2022, almost 2 years ago
Updated 22 July 2023, 11 months ago

Problem/Motivation

I want to migrate a Drupal 6 site to Drupal 9 with migrate_drupal module, but I get this error:

The website encountered an unexpected error. Please try again later.
TypeError: in_array(): Argument #2 ($haystack) must be of type array, string given in in_array() (line 106 of core/modules/node/src/Plugin/migrate/source/d7/NodeType.php).

Steps to reproduce

I fill the form in upgrade/credentials with this options:

  • Drupal version: Drupal 6
  • Database type: MariaDB
  • DatabaseHost: mariadb (I work with wodby 4 drupal dockers so I use the service name)
  • Databasename: Drupal6 (with capital letter)
  • User: drupal
  • password: drupal.
  • document root: https://project_domain.es
πŸ› Bug report
Status

Postponed: needs info

Version

9.5

Component
MigrationΒ  β†’

Last updated about 1 hour ago

Created by

πŸ‡ͺπŸ‡ΈSpain oskar_calvo

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