Missing required keys (core)

Created on 12 April 2020, over 4 years ago
Updated 21 March 2024, 9 months ago

Hi, We have a drupal site version 8.6.13, today added the module using composer, and then while accessing extend section to enable it or using drush dre command, the issue appeared.

Front-end output
The website encountered an unexpected error. Please try again later.

Back-end (drush output)

In InfoParserDynamic.php line 29:

  Missing required keys (core) in modules/contrib/content_lock/content_lock.info.yml


pm:uninstall [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-d|--debug] [-y|--yes] [--no] [--remote-host REMOTE-HOST] [--remote-user REMOTE-USER] [-r|--root ROOT] [-l|--uri URI] [--simulate] [--pipe] [-D|--define DEFINE] [--notify [NOTIFY]] [--druplicon] [--xh-link XH-LINK] [--] <command> [<modules>]...


In InfoParserDynamic.php line 29:

  Missing required keys (core) in modules/contrib/content_lock/content_lock.info.yml


pm:enable [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-d|--debug] [-y|--yes] [--no] [--remote-host REMOTE-HOST] [--remote-user REMOTE-USER] [-r|--root ROOT] [-l|--uri URI] [--simulate] [--pipe] [-D|--define DEFINE] [--notify [NOTIFY]] [--druplicon] [--xh-link XH-LINK] [--] <command> [<modules>]...

For fixing this I added the core version support to the two .info files, required by the enabling procedure and generated this patch file for anyone who may need.

πŸ› Bug report
Status

Closed: outdated

Version

2.0

Component

Code

Created by

πŸ‡¦πŸ‡«Afghanistan Mohammad Naser Nikzad

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.71.5 2024