TypeError: _scheduler_config_import_process_entity_definitions(): Argument #1 ($context) must be of type array, DrushBatchContext given

Created on 10 July 2023, almost 2 years ago
Updated 14 July 2023, almost 2 years ago

Problem/Motivation

Unable to install custom distro using Drush
TypeError: _scheduler_config_import_process_entity_definitions(): Argument #1 ($context) must be of type array, DrushBatchContext given, called in /var/www/html/docroot/core/lib/Drupal/Core/Config/ConfigImporter.php on line 565 in _scheduler_config_import_process_entity_definitions() (line 1447 of /var/www/html/docroot/modules/contrib/scheduler/scheduler.module).

Steps to reproduce

Using custom distro but will test with others.

Proposed resolution

Remove the array type hint from _scheduler_config_import_process_entity_definitions.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

🇺🇸United States kevinfunk

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

Comments & Activities

Production build 0.71.5 2024