Preconditions (*)
- Magento EE 2.3.3
- PHP 7.2.25
Steps to reproduce (*)
- Create a grouped product
- Edit grouped product in back end
Expected result (*)
- Product edit form is shown
Actual result (*)
- The following error appears:
Fatal error: Uncaught TypeError: Argument 2 passed to Magento\Framework\Stdlib\ArrayManager::set() must be of the type array, null given, called in /Users/molovo/projects/bmc/vendor/magento/module-catalog-staging/Ui/DataProvider/Product/Form/Modifier/ScheduleDesignUpdate.php on line 60 and defined in /Users/molovo/projects/bmc/vendor/magento/framework/Stdlib/ArrayManager.php:72 Stack trace: #0 /Users/molovo/projects/bmc/vendor/magento/module-catalog-staging/Ui/DataProvider/Product/Form/Modifier/ScheduleDesignUpdate.php(60): Magento\Framework\Stdlib\ArrayManager->set('data/config/lab...', NULL, 'Design') #1 /Users/molovo/projects/bmc/vendor/magento/module-catalog/Ui/DataProvider/Product/Form/ProductDataProvider.php(73): Magento\CatalogStaging\Ui\DataProvider\Product\Form\Modifier\ScheduleDesignUpdate->modifyMeta(Array) #2 /Users/molovo/projects/bmc/vendor/magento/framework/View/Element/UiComponentFactory.php(316): Magento\Catalog\Ui\DataProvider\Product\Form\ProductDataProvider->getMeta() #3 /Users/molovo/projects/bmc/vend in /Users/molovo/projects/bmc/vendor/magento/framework/Stdlib/ArrayManager.php on line 72
I got a similar error:
“TypeError: Argument 2 passed to Magento\Framework\Stdlib\ArrayManager::set() must be of the type array, null given, called in /vendor/magento/module-catalog-staging/Ui/DataProvider/Product/Form/Modifier/ScheduleDesignUpdate.php on line 64”
The problem is, that in the Attribute Set I removed the attributes for Scheduled Design… So I had to add them again.
Hey, I know it has been a long time for this post. But I was facing the same issue and realize the issue was that the attribute_set_id for the catalog_product_entity was incorrect set up. Due a mistake on my script I was insertin with the attribute_set_id as 0, instead 4. You can check the why the issue happens here:
\vendor\magento\module-catalog\Ui\DataProvider\Product\Form\Modifier\Eav.phpOn method getGroups that relies on ATTRIBUTE_SET_ID, and if is 0 it never populate the ‘design’ info for $meta.@engcom-Echo as I have outlined above, this issue only occurs when creating the product programatically, not when creating it through the admin area.
Hello @molovo @sdzhepa
I am not able to reproduce this issue on the 2.4-develop branch by provided steps. Tested on the both EE(Enterprise) and CE(Open Source) editions.
Testing scenario:
Steps to reproduce:
Result: Product edit form is shown. No errors.

So I have to close this issue. Thanks for your report!
Hi @molovo, This issue may be related to your customization code or Third-party integration. Thanks.