- Issue was unassigned.
- Status changed to Fixed
over 1 year ago 11:58am 5 August 2023 Automatically closed - issue fixed for 2 weeks with no activity.
Having the following
RuntimeException: Adding non-existent permissions to a role is not allowed. The incorrect permissions are "access site-wide contact form". in Drupal\user\Entity\Role->calculateDependencies() (line 206 of /var/www/html/dev/w10c3/web/core/modules/user/src/Entity/Role.php)
#0 /var/www/html/dev/w10c3/web/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php(320): Drupal\user\Entity\Role->calculateDependencies()
#1 /var/www/html/dev/w10c3/web/core/modules/user/src/Entity/Role.php(179): Drupal\Core\Config\Entity\ConfigEntityBase->preSave()
#2 /var/www/html/dev/w10c3/web/core/lib/Drupal/Core/Entity/EntityStorageBase.php(528): Drupal\user\Entity\Role->preSave()
#3 /var/www/html/dev/w10c3/web/core/lib/Drupal/Core/Entity/EntityStorageBase.php(483): Drupal\Core\Entity\EntityStorageBase->doPreSave()
#4 /var/www/html/dev/w10c3/web/core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.php(253): Drupal\Core\Entity\EntityStorageBase->save()
#5 /var/www/html/dev/w10c3/web/core/lib/Drupal/Core/Entity/EntityBase.php(339): Drupal\Core\Config\Entity\ConfigEntityStorage->save()
#6 /var/www/html/dev/w10c3/web/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php(608): Drupal\Core\Entity\EntityBase->save()
#7 /var/www/html/dev/w10c3/web/core/lib/Drupal/Core/Config/ConfigInstaller.php(388): Drupal\Core\Config\Entity\ConfigEntityBase->save()
#8 /var/www/html/dev/w10c3/web/core/lib/Drupal/Core/Config/ConfigInstaller.php(148): Drupal\Core\Config\ConfigInstaller->createConfiguration()
#9 /var/www/html/dev/w10c3/web/core/lib/Drupal/Core/ProxyClass/Config/ConfigInstaller.php(75): Drupal\Core\Config\ConfigInstaller->installDefaultConfig()
#10 /var/www/html/dev/w10c3/web/core/lib/Drupal/Core/Extension/ModuleInstaller.php(319): Drupal\Core\ProxyClass\Config\ConfigInstaller->installDefaultConfig()
#11 /var/www/html/dev/w10c3/web/core/lib/Drupal/Core/ProxyClass/Extension/ModuleInstaller.php(83): Drupal\Core\Extension\ModuleInstaller->install()
#12 /var/www/html/dev/w10c3/web/core/includes/install.core.inc(1657): Drupal\Core\ProxyClass\Extension\ModuleInstaller->install()
#13 /var/www/html/dev/w10c3/web/core/includes/install.core.inc(698): install_install_profile()
#14 /var/www/html/dev/w10c3/web/core/includes/install.core.inc(569): install_run_task()
#15 /var/www/html/dev/w10c3/web/core/includes/install.core.inc(119): install_run_tasks()
#16 /var/www/html/dev/w10c3/web/core/install.php(48): install_drupal()
#17 {main}
.
Remove all non-existent permissions for not enabled modules
Fixed
10.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Automatically closed - issue fixed for 2 weeks with no activity.