🇮🇳India @biplab_drupal

Account created on 26 February 2014, almost 11 years ago
#

Recent comments

🇮🇳India biplab_drupal

I got similar type error while enable or disable module.

ERROR :

In Role.php line 207:

Adding non-existent permissions to a role is not allowed. The incorrect permissions are "create reusable blocks".

Some how the permission got broken. might be due to deletion of permission or overwrite.

So I have identify the possible module where the permission could be broken. Then I have created a custom permission file with the name of the broken permission "create reusable blocks".

docroot/modules/custom/my_custom_module/my_custom_module.permissions.yml

create reusable blocks:
title: 'create reusable blocks'
description: 'Permission for reusable block'

Next I have run the "composer install" command to build the broken permission 'create reusable blocks'.

Do not forget to run "drush cr" after build the permission.

Hope these might help you.

Production build 0.71.5 2024