- Issue created by @joshf
Attempting to run address_post_update_convert_names_subdivisions()
(post update hook) without first running address_update_8101()
yields a fatal error:
TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in address_post_update_convert_names_subdivisions() (line 19 of /var/www/web/modules/contrib/address/address.post_update.php) #0 /var/www/vendor/drush/drush/src/Commands/core/UpdateDBCommands.php(280): address_post_update_convert_names_subdivisions(Array)
Install a previous version (that already includes address_update_8101()
but not address_post_update_convert_names_subdivisions()
), update to the current version, run drush updb
.
Do not throw a type error if the state value is NULL.
Active
1.0
Code