Fix Additional uncaught exception thrown while handling exception for The 'core_version_requirement' constraint (^9.4 || ^10) requires the 'core' key not be set

Created on 20 February 2023, almost 2 years ago

Problem/Motivation

Having the following fatal error message.
After #3266511: [Barrio] Details elements have incorrect aria-describedby attributes β†’

The 'core_version_requirement' constraint (^9.4 || ^10) requires the 'core' key not be set in bootstrap_barrio.info.yml

Additional uncaught exception thrown while handling exception.
Original
Drupal\Core\Extension\InfoParserException: The 'core_version_requirement' constraint (^9.4 || ^10) requires the 'core' key not be set in themes/contrib/bootstrap_barrio/bootstrap_barrio.info.yml in Drupal\Core\Extension\InfoParserDynamic->parse() (line 88 of /var/www/html/dev/drupal9test/docroot/core/lib/Drupal/Core/Extension/InfoParserDynamic.php).

Drupal\Core\Extension\InfoParserDynamic->parse() (Line: 22)
Drupal\Core\Extension\InfoParser->parse() (Line: 554)
Drupal\Core\Extension\ExtensionList->createExtensionInfo() (Line: 266)
Drupal\Core\Extension\ThemeExtensionList->createExtensionInfo() (Line: 316)
Drupal\Core\Extension\ExtensionList->doList() (Line: 113)
Drupal\Core\Extension\ThemeExtensionList->doList() (Line: 282)
Drupal\Core\Extension\ExtensionList->getList() (Line: 70)
_drupal_maintenance_theme() (Line: 506)
drupal_maintenance_theme() (Line: 516)
install_begin_request() (Line: 116)
install_drupal() (Line: 48)
Additional
Drupal\Core\Extension\InfoParserException: The 'core_version_requirement' constraint (^9.4 || ^10) requires the 'core' key not be set in themes/contrib/bootstrap_barrio/bootstrap_barrio.info.yml in Drupal\Core\Extension\InfoParserDynamic->parse() (line 88 of /var/www/html/dev/drupal9test/docroot/core/lib/Drupal/Core/Extension/InfoParserDynamic.php).

Drupal\Core\Extension\InfoParserDynamic->parse() (Line: 22)
Drupal\Core\Extension\InfoParser->parse() (Line: 554)
Drupal\Core\Extension\ExtensionList->createExtensionInfo() (Line: 266)
Drupal\Core\Extension\ThemeExtensionList->createExtensionInfo() (Line: 316)
Drupal\Core\Extension\ExtensionList->doList() (Line: 113)
Drupal\Core\Extension\ThemeExtensionList->doList() (Line: 282)
Drupal\Core\Extension\ExtensionList->getList() (Line: 70)
_drupal_maintenance_theme() (Line: 506)
drupal_maintenance_theme() (Line: 1025)
install_display_output() (Line: 271)
_drupal_log_error() (Line: 365)

Proposed resolution

Remove core: 8.x from the bootstrap_barrio.info.yml file.

Remaining tasks

  • File an issue
  • MR/Patch fix
  • Test
  • Review

User interface changes

  • N/A

API changes

  • N/A

Data model changes

  • N/A
πŸ› Bug report
Status

Fixed

Version

5.1

Component

Code

Created by

πŸ‡―πŸ‡΄Jordan Rajab Natshah Jordan

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

Comments & Activities

Production build 0.71.5 2024