Additional uncaught exception thrown while handling exception.

Original

Drupal\Core\Extension\InfoParserException: The 'core' or the 'core_version_requirement' key must be present in modules/contrib/flag/flag.info.yml in Drupal\Core\Extension\InfoParserDynamic->parse() (line 73 of /var/www/lantaclimat/data/www/lantavent.ru/web/core/lib/Drupal/Core/Extension/InfoParserDynamic.php).

Drupal\Core\Extension\InfoParserDynamic->parse('modules/contrib/flag/flag.info.yml') (Line: 22)
Drupal\Core\Extension\InfoParser->parse('modules/contrib/flag/flag.info.yml') (Line: 164)
drupal_required_modules() (Line: 1152)
install_profile_info('demo_umami') (Line: 1292)
_install_select_profile(Array) (Line: 464)
install_begin_request(Object, Array) (Line: 114)
install_drupal(Object) (Line: 44)

Additional

Error: Call to undefined function Drupal\Core\Render\system_page_attachments() in Drupal\Core\Render\BareHtmlPageRenderer->renderBarePage() (line 65 of /var/www/lantaclimat/data/www/lantavent.ru/web/core/lib/Drupal/Core/Render/BareHtmlPageRenderer.php).

Drupal\Core\Render\BareHtmlPageRenderer->renderBarePage(Array, 'Error', 'install_page', Array) (Line: 76)
Drupal\Core\ProxyClass\Render\BareHtmlPageRenderer->renderBarePage(Array, 'Error', 'install_page', Array) (Line: 1061)
install_display_output(Array, Array, Array) (Line: 267)
_drupal_log_error(Array, 1) (Line: 618)
_drupal_exception_handler(Object)