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.
Full backtrace:
$ drush en -y commerce_payment
The following extensions will be enabled: commerce_payment, commerce_price, commerce
Do you really want to continue? (y/n): y
exception 'InvalidArgumentException' with message 'Missing required properties for an EntityDisplay entity.' in [error]
core/lib/Drupal/Core/Entity/EntityDisplayBase.php:128
Stack trace:
#0 core/lib/Drupal/Core/Entity/Entity/EntityFormDisplay.php(127):
Drupal\Core\Entity\EntityDisplayBase->__construct(Array, 'entity_form_dis...')
#1 core/lib/Drupal/Core/Entity/EntityStorageBase.php(328):
Drupal\Core\Entity\Entity\EntityFormDisplay->__construct(Array, 'entity_form_dis...')
#2 core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.php(411):
Drupal\Core\Entity\EntityStorageBase->mapFromStorageRecords(Array)
#3 core/lib/Drupal/Core/Config/ConfigInstaller.php(310):
Drupal\Core\Config\Entity\ConfigEntityStorage->createFromStorageRecord(Array)
#4 core/lib/Drupal/Core/Config/ConfigInstaller.php(130):
Drupal\Core\Config\ConfigInstaller->createConfiguration('', Array)
#5 core/lib/Drupal/Core/Extension/ModuleInstaller.php(246):
Drupal\Core\Config\ConfigInstaller->installDefaultConfig('module', 'commerce_paymen...')
#6 /home/josh/.composer/vendor/drush/drush/commands/core/drupal/environment.inc(130):
Drupal\Core\Extension\ModuleInstaller->install(Array, true)
#7 /home/josh/.composer/vendor/drush/drush/commands/core/drupal/environment.inc(197): drush_module_install(Array)
#8 /home/josh/.composer/vendor/drush/drush/commands/pm/pm.drush.inc(1120): drush_module_enable(Array)
#9 [internal function]: drush_pm_enable('commerce_paymen...')
#10 /home/josh/.composer/vendor/drush/drush/includes/command.inc(368): call_user_func_array('drush_pm_enable', Array)
#11 /home/josh/.composer/vendor/drush/drush/includes/command.inc(219): _drush_invoke_hooks(Array, Array)
#12 [internal function]: drush_command('commerce_paymen...')
#13 /home/josh/.composer/vendor/drush/drush/includes/command.inc(187): call_user_func_array('drush_command', Array)
#14 /home/josh/.composer/vendor/drush/drush/lib/Drush/Boot/BaseBoot.php(62): drush_dispatch(Array)
#15 /home/josh/.composer/vendor/drush/drush/drush.php(70): Drush\Boot\BaseBoot->bootstrap_and_dispatch()
#16 /home/josh/.composer/vendor/drush/drush/drush.php(11): drush_main()
#17 {main}
Comments
Comment #1
bojanz CreditAttribution: bojanz at Centarro commentedMerged, thank you.