TypeError: Unsupported operand types: string + array in Drupal\Core\Plugin\Discovery\YamlDiscovery->getDefinitions()

Created on 2 November 2023, 8 months ago
Updated 3 November 2023, 8 months ago

I tried to upgrade my site from Drupal 9.4 to 10.0.11 and used upgrade status module and followed all the migration procedure. After the upgrade the site encountered unexpected error and the error that was logged
"TypeError: Unsupported operand types: string + array in Drupal\Core\Plugin\Discovery\YamlDiscovery->getDefinitions() (line 97 of YamlDiscovery.php"

Steps to reproduce
upgrade from Drupal 9.4 to 10.0.11
Modules listed in my composer.json are
"drupal/pingdom_rum": "2.0.5",
"drupal/recaptcha_v3": "2.0.2",
"drupal/simple_sitemap": "4.1.6",
"drupal/upgrade_status": "4.0.0",
"drupal/view_custom_table": "2.0.4",
"drupal/watchdog_prune": "2.3",
"drush/drush": "11.6"
"drupal/admin_toolbar": "3.4.2",
"drupal/advagg": "6.0.x-dev",
"drupal/bartik": "1.0.2",
"drupal/block_class": "2.0.11",
"drupal/bootstrap": "3.29",
"drupal/captcha": "2.0.5",
"drupal/ckeditor": "1.0.2",
"drupal/color": "1.0.3",
"drupal/config_update": "2.0.x-dev",
"drupal/ctools": "3.14",
"drupal/date_popup": "1.3",
"drupal/editor_advanced_link": "2.2.4",
"drupal/entity_class_formatter": "2.0.0",
"drupal/entity_reference_revisions": "1.10",
"drupal/eu_cookie_compliance": "1.24",
"drupal/features": "3.13",
"drupal/google_analytics": "4.0.2",
"drupal/google_tag": "1.6",
"drupal/metatag": "1.25",
"drupal/paragraphs": "1.15",
"drupal/pathauto": "1.11",
"drupal/quickedit": "1.0.3",
"drupal/rdf": "2.1.1",
"drupal/recaptcha": "3.2",
"drupal/seven": "1.0.0",
"drupal/token": "1.11",
"drupal/webform": "6.2.0-rc1"

💬 Support request
Status

Closed: outdated

Version

10.0 ✨

Component
Plugin  →

Last updated about 14 hours ago

Created by

🇮🇳India prabha.venkatesan

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

Comments & Activities

Production build 0.69.0 2024