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

TypeError when setting config value to '[]' #5672

Closed
T2L opened this issue Jun 22, 2023 · 1 comment
Closed

TypeError when setting config value to '[]' #5672

T2L opened this issue Jun 22, 2023 · 1 comment

Comments

@T2L
Copy link

T2L commented Jun 22, 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

Q A
Drush version? 12.1.0
Drupal version? 10.0.9
PHP version 8.1
OS? Not relevant

Additional information
None

weitzman added a commit to weitzman/drush that referenced this issue Jul 2, 2023
@T2L
Copy link
Author

T2L commented Jul 3, 2023

thanks @weitzman

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

No branches or pull requests

1 participant