QUESTION:
After updating our Magento shop to M2.4.2 the duplicate category module gave an error.
When going to Catalog > Categories this error is shown:
1 exception(s): Exception #0 (Magento\Framework\Exception\LocalizedException): The "componentType" configuration parameter is required for the "parent" component.Exception #0 (Magento\Framework\Exception\LocalizedException): The "componentType" configuration parameter is required for the "parent" component. <pre>#1 Magento\Framework\View\Element\UiComponentFactory->mergeMetadataItem() called at [vendor/magento/framework/View/Element/UiComponentFactory.php:425] #2 Magento\Framework\View\Element\UiComponentFactory->mergeMetadataItem() called at [vendor/magento/framework/View/Element/UiComponentFactory.php:334] #3 Magento\Framework\View\Element\UiComponentFactory->mergeMetadata() called at [vendor/magento/framework/View/Element/UiComponentFactory.php:231] #4Magento\Framework\View\Element\UiComponentFactory->create() called at [vendor/magento/framework/View/Layout/Generator/UiComponent.php:140] #5 Magento\Framework\View\Layout\Generator\UiComponent->generateComponent() called at [vendor/magento/framework/View/Layout/Generator/UiComponent.php:103] #6 Magento\Framework\View\Layout\Generator\UiComponent->process() called at [vendor/magento/framework/View/Layout/GeneratorPool.php:93] #7 Magento\Framework\View\Layout\GeneratorPool->process() called at [vendor/magento/framework/View/Layout.php:365] #8 Magento\Framework\View\Layout->generateElements() called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:68] .......
The exception is triggered at
UiComponentFactory.php
vendor/magento/framework/View/Element/UiComponentFactory.php at line 405
Could you send me the fix?
ANSWER:
<field name="parent">
<field name="parent_duplicate">

If you need any further assistance, please feel free to contact us. We'd be happy to support!
Explore more powerful extensions:
- Magento 2 B2B Extension by BSS Commerce delivers a complete solution for scalable and efficient wholesale management.
- Magento 2 SEO Extension by BSS Commerce empowers your store to rank higher and grow organic traffic faster.
To get to know us, here are some information:
BSS Commerce is a full-service ecommerce agency with 14+ years of experience, supporting 75,000+ customers worldwide. As an Adobe Commerce Solution Bronze Partner and Select Magento Extensions Builder, we deliver trusted end-to-end solutions.
Our core strength is Magento, with 150+ extensions designed to enhance store performance and drive growth. With deep expertise from years of working on Magento websites, we deliver scalable, high-impact solutions backed by strong client trust.
Discover our extensions: https://bsscommerce.com/magento-2-extensions.html
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article