Expected result
Open customer attribute edit page without issue
Actual result
Shows error:
TypeError: implode(): Argument #2 ($array) must be of type ?array, string given in *vendor/magento/module-customer-custom-attributes/Block/Adminhtml/Customer/Attribute/Edit/Tab/Main.php:209
In production mode, see the same error in var/log/exception.log
Once config value 'general/file/protected_extensions' saved in db, Magento $this->_scopeConfig->getValue function returns string, while as default, it loads from vendor/magento/module-store/etc/config.xml and returns array as expected.
Preconditions and environment
Steps to reproduce
Expected result Open customer attribute edit page without issue
Actual result Shows error: TypeError: implode(): Argument #2 ($array) must be of type ?array, string given in *vendor/magento/module-customer-custom-attributes/Block/Adminhtml/Customer/Attribute/Edit/Tab/Main.php:209
In production mode, see the same error in var/log/exception.log
Additional information This issue is introduced by 1.2.3 patch. https://github.com/experius/Magento-2-Module-Experius-WysiwygDownloads/pull/33 Setup/Patch/Data/ProtectedExtensions.php
Once config value 'general/file/protected_extensions' saved in db, Magento $this->_scopeConfig->getValue function returns string, while as default, it loads from vendor/magento/module-store/etc/config.xml and returns array as expected.