Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP 8.1 deprecation messages when the user has no mail or uid #5079

Merged
merged 2 commits into from Feb 21, 2022

Conversation

claudiu-cristea
Copy link
Member

With PHP 8.1 I'm running

drush user:role:add moderator john

and I'm getting:

explode(): Passing null to parameter #2 ($string) of type string is deprecated in /Drush\Utils\StringUtils::csvToArray()

The error pops up for both, lack of --uid and lack of --mail

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

Successfully merging this pull request may close these issues.

None yet

2 participants