Skip to main content
James Davidson
Show Navigation
Hide Navigation
  • Home
  • About
  • Blog
  • Contact

Error

"Uncaught PHP Exception InvalidArgumentException: "$string ("") must be a string." when defining new permission in Drupal 8

15th June 2018

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.
  • Read more about "Uncaught PHP Exception InvalidArgumentException: "$string ("") must be a string." when defining new permission in Drupal 8
  • Add new comment
  • Find James Davidson on Drupal.org
  • Follow James Davidson on twitter
  • Follow James Davidson on Google+
  • Find James Davidson on GitHub
  • Find James Davidson on LinkedIn
  • Home
  • About
  • Blog
  • Contact

Copyright © James Davidson 2023

Website design by Katherine Cory