"Uncaught PHP Exception InvalidArgumentException: "$string ("") must be a string." when defining new permission in Drupal 8
I recently defined a new permission in a custom module in Drupal 8. When trying to access the permissions page to assign roles to the permission I got an error.