Skip to content

Conversation

@benbjurstrom
Copy link

Getting the following error due to Spatie switching some value to enums.

exception: "TypeError"
file: "/var/www/html/vendor/vyuldashev/nova-permission/src/RoleBooleanGroup.php"
line: 21 
message: "Illegal offset type"

Currently enums can't be used as array keys. See: https://stitcher.io/blog/php-enums#enums-as-array-keys.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant