Skip to content

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

Merged
weitzman merged 2 commits into11.xfrom
php8.1-deprecation
Feb 21, 2022
Merged

PHP 8.1 deprecation messages when the user has no mail or uid#5079
weitzman merged 2 commits into11.xfrom
php8.1-deprecation

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.

2 participants