Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
How to reproduce:
$ drush8 updb
exception 'Drupal\Core\Extension\InfoParserException' with message 'Unable to parse [error]
modules/metatag/metatag_verification/metatag_verification.info.yml A colon cannot be used in an unquoted
mapping value at line 1 (near "name: Metatag: Verification").' in
/Users/sean.hamlin/Sites/specarc/docroot/core/lib/Drupal/Core/Extension/InfoParserDynamic.php:25
Stack trace:
#0 /Users/sean.hamlin/Sites/specarc/docroot/core/lib/Drupal/Core/Extension/InfoParser.php(22):
Drupal\Core\Extension\InfoParserDynamic->parse('modules/metatag...')
#1 /Users/sean.hamlin/Sites/specarc/docroot/core/modules/system/system.module(996):
Drupal\Core\Extension\InfoParser->parse('modules/metatag...')
#2 /Users/sean.hamlin/Sites/specarc/docroot/core/modules/system/system.module(1073):
_system_rebuild_module_data()
#3 /Users/sean.hamlin/Sites/specarc/docroot/core/includes/update.inc(46): system_rebuild_module_data()
#4 /Users/sean.hamlin/Sites/specarc/docroot/core/includes/update.inc(22):
update_check_incompatibility('automated_cron', 'module')
#5 phar:///usr/local/bin/drush8/commands/core/drupal/update.inc(112): update_fix_compatibility()
#6 phar:///usr/local/bin/drush8/commands/core/core.drush.inc(462): update_main()
#7 [internal function]: drush_core_updatedb()
#8 phar:///usr/local/bin/drush8/includes/command.inc(366): call_user_func_array('drush_core_upda...', Array)
#9 phar:///usr/local/bin/drush8/includes/command.inc(217): _drush_invoke_hooks(Array, Array)
#10 [internal function]: drush_command()
#11 phar:///usr/local/bin/drush8/includes/command.inc(185): call_user_func_array('drush_command', Array)
#12 phar:///usr/local/bin/drush8/lib/Drush/Boot/BaseBoot.php(67): drush_dispatch(Array)
#13 phar:///usr/local/bin/drush8/includes/preflight.inc(66): Drush\Boot\BaseBoot->bootstrap_and_dispatch()
#14 phar:///usr/local/bin/drush8/includes/startup.inc(321): drush_main()
#15 phar:///usr/local/bin/drush8/drush(114): drush_startup(Array)
#16 /usr/local/bin/drush8(10): require('phar:///usr/loc...')
#17 {main}
And the file:
~/Sites/specarc/docroot/modules/metatag on deploy-uat*
$ grep -nriI "Metatag: Verification" *
README.txt:47: engine to confirm ownership of the site; see the "Metatag: Verification"
metatag_verification/metatag_verification.info.yml:1:name: Metatag: Verification
So it seems another issue like #2674732: InfoParserException in metatag_open_graph.info.yml is still here.
Comment | File | Size | Author |
---|---|---|---|
#7 | metatag-n2725895-7.patch | 542 bytes | darrell_ulm |
#2 | metatag-n2725895-2.patch | 444 bytes | DamienMcKenna |
Comments
Comment #2
DamienMcKennaSorry about that. This will fix the problem.
Comment #4
DamienMcKennaCommitted. Sorry about making that mistake (again).
Comment #5
wiifmThanks @DamienMcKenna for your quick response!
Comment #7
darrell_ulm CreditAttribution: darrell_ulm as a volunteer commentedHi looks like this is an issue again in the latest release 8.x-1.0-beta8.
Comment #8
darrell_ulm CreditAttribution: darrell_ulm as a volunteer commentedComment #10
DamienMcKennaThis was fixed in #2725895: Incorrect quoting in YML file leading to PHP Exception, I'm going to release beta9 to get that fix out.