Is this issue has been resolved? Whenever I try to modify a block (title, description, position in the layout, etc..) I get the same error from Mr#9 :
TypeError: array_merge(): Argument #1 must be of type array, string given in array_merge() (line 202 of modules/contrib/block_class/src/Service/BlockClassHelperService.php).
I tried the command "drush cget block_class.settings" and the block_classes_stored does not contain any array's but is instead kept in string:
block_classes_stored: '{"col-sm-4":"col-sm-4","col-md-3":"col-md-3","col-sm-offset-2":"col-sm-offset-2","col-md-offset-4":"col-md-offset-4","col-lg-offset-5":"col-lg-offset-5","col-sm-6":"col-sm-6","col-md-5":"col-md-5","col-lg-4":"col-lg-4","col-md-12":"col-md-12","col-sm-7col-lg-6":"col-sm-7col-lg-6","col-sm-3":"col-sm-3","col-lg-offset-3":"col-lg-offset-3","col-sm-12":"col-sm-12"}'
It seems like the " $current_block_classes = explode(' ', $block_classes ?? ''); " doesn't convert the String value to an array correctly...
Here's the solutions that I tried by following this comment thread:
-> Change the line 196 of BlockClassHelperService.php to " $block_classes_stored = $config->get('block_classes_stored') ?? [];"
-> The Commands "drush cr" + "drush updb".
-> Starting the local environment to a clean build (started over from scratch with 0 file modified from the origin).
Did anyone find a solution to the error from Mr#9 ?