You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Implementation of #5587 in #5588 created a regression when setting config value to '[]'
To Reproduce ./vendor/bin/drush config:set config_ignore.settings ignored_config_entities '[]' --yes
Expected behavior
Drush successfully sets a config value to an empty array
Actual behavior TypeError: strtolower(): Argument #1 ($string) must be of type string, array given in ./vendor/drush/drush/src/Commands/config/ConfigCommands.php on line 175
Workaround
Unknown
System Configuration
Q
A
Drush version?
12.1.0
Drupal version?
10.0.9
PHP version
8.1
OS?
Not relevant
Additional information
None
The text was updated successfully, but these errors were encountered:
weitzman
added a commit
to weitzman/drush
that referenced
this issue
Jul 2, 2023
Describe the bug
Implementation of #5587 in #5588 created a regression when setting config value to
'[]'
To Reproduce
./vendor/bin/drush config:set config_ignore.settings ignored_config_entities '[]' --yes
Expected behavior
Drush successfully sets a config value to an empty array
Actual behavior
TypeError: strtolower(): Argument #1 ($string) must be of type string, array given in ./vendor/drush/drush/src/Commands/config/ConfigCommands.php on line 175
Workaround
Unknown
System Configuration
Additional information
None
The text was updated successfully, but these errors were encountered: