skip to Main Content

When clicking the edit product component type error showing magento 2.3.4

1 exception(s):
Exception #0 (MagentoFrameworkExceptionLocalizedException): The "componentType" configuration parameter is required for the "price_per_unit" component.

Exception #0 (MagentoFrameworkExceptionLocalizedException): The "componentType" configuration parameter is required for the "price_per_unit" component.

#1 MagentoFrameworkViewElementUiComponentFactory->mergeMetadataItem() called at [vendor/magento/framework/View/Element/UiComponentFactory.php:414]
#2 MagentoFrameworkViewElementUiComponentFactory->mergeMetadataItem() called at [vendor/magento/framework/View/Element/UiComponentFactory.php:321]
#3 MagentoFrameworkViewElementUiComponentFactory->mergeMetadata() called at [vendor/magento/framework/View/Element/UiComponentFactory.php:218]
#4 MagentoFrameworkViewElementUiComponentFactory->create() called at [vendor/magento/framework/View/Layout/Generator/UiComponent.php:140]
#5 MagentoFrameworkViewLayoutGeneratorUiComponent->generateComponent() called at [vendor/magento/framework/View/Layout/Generator/UiComponent.php:103]
#6 MagentoFrameworkViewLayoutGeneratorUiComponent->process() called at [vendor/magento/framework/View/Layout/GeneratorPool.php:81]
#7 MagentoFrameworkViewLayoutGeneratorPool->process() called at [vendor/magento/framework/View/Layout.php:350]
#8 MagentoFrameworkViewLayout->generateElements() called at [vendor/magento/framework/View/Layout/Builder.php:129]
#9 MagentoFrameworkViewLayoutBuilder->generateLayoutBlocks() called at [vendor/magento/framework/View/Page/Builder.php:55]
#10 MagentoFrameworkViewPageBuilder->generateLayoutBlocks() called at [vendor/magento/framework/View/Layout/Builder.php:65]
#11 MagentoFrameworkViewLayoutBuilder->build() called at [vendor/magento/framework/View/Layout.php:257]
#12 MagentoFrameworkViewLayout->build() called at [vendor/magento/framework/View/Layout.php:882]
#13 MagentoFrameworkViewLayout->getBlock() called at [vendor/magento/module-backend/Model/View/Result/Page.php:26]
#14 MagentoBackendModelViewResultPage->setActiveMenu() called at [vendor/magento/module-catalog/Controller/Adminhtml/Product/Edit.php:82]
#15 MagentoCatalogControllerAdminhtmlProductEdit->execute() called at [generated/code/Magento/Catalog/Controller/Adminhtml/Product/Edit/Interceptor.php:24]
#16 MagentoCatalogControllerAdminhtmlProductEditInterceptor->execute() called at [vendor/magento/framework/App/Action/Action.php:108]
#17 MagentoFrameworkAppActionAction->dispatch() called at [vendor/magento/module-backend/App/AbstractAction.php:231]
#18 MagentoBackendAppAbstractAction->dispatch() called at [vendor/magento/framework/Interception/Interceptor.php:58]
#19 MagentoCatalogControllerAdminhtmlProductEditInterceptor->___callParent() called at [vendor/magento/framework/Interception/Interceptor.php:138]
#20 MagentoCatalogControllerAdminhtmlProductEditInterceptor->MagentoFrameworkInterception{closure}() called at [vendor/magento/module-backend/App/Action/Plugin/Authentication.php:143]
#21 MagentoBackendAppActionPluginAuthentication->aroundDispatch() called at [vendor/magento/framework/Interception/Interceptor.php:135]
#22 MagentoCatalogControllerAdminhtmlProductEditInterceptor->MagentoFrameworkInterception{closure}() called at [vendor/magento/framework/Interception/Interceptor.php:153]
#23 MagentoCatalogControllerAdminhtmlProductEditInterceptor->___callPlugins() called at [generated/code/Magento/Catalog/Controller/Adminhtml/Product/Edit/Interceptor.php:39]
#24 MagentoCatalogControllerAdminhtmlProductEditInterceptor->dispatch() called at [vendor/magento/framework/App/FrontController.php:159]
#25 MagentoFrameworkAppFrontController->processRequest() called at [vendor/magento/framework/App/FrontController.php:99]
#26 MagentoFrameworkAppFrontController->dispatch() called at [vendor/magento/framework/Interception/Interceptor.php:58]
#27 MagentoFrameworkAppFrontControllerInterceptor->___callParent() called at [vendor/magento/framework/Interception/Interceptor.php:138]
#28 MagentoFrameworkAppFrontControllerInterceptor->MagentoFrameworkInterception{closure}() called at [vendor/magento/framework/Interception/Interceptor.php:153]
#29 MagentoFrameworkAppFrontControllerInterceptor->___callPlugins() called at [generated/code/Magento/Framework/App/FrontController/Interceptor.php:26]
#30 MagentoFrameworkAppFrontControllerInterceptor->dispatch() called at [vendor/magento/framework/App/Http.php:116]
#31 MagentoFrameworkAppHttp->launch() called at [vendor/magento/framework/App/Bootstrap.php:261]
#32 MagentoFrameworkAppBootstrap->run() called at [pub/index.php:40]

2

Answers


  1. MageWorx Advanced Product Options – You’d need to speak to MageWorx

    Login or Signup to reply.
  2. Though this is long overdue, we deeply apologies for that and hurry to provide you with a solution.

    Based on the error provided, the "price_per_unit" attribute is missing in some of your attribute sets. There is a chance that you created/migrated your attribute sets after extension installation.
    To solve this problem, please complete the following steps:

    1. Open your attribute sets for editing
    2. Make sure it contains the following group and the attribute – https://prnt.sc/17n8d4y
      group: mageworx-dynamic-options
      attribute: price_per_unit
    3. If no, you need to create this group manually and drag and drop the attribute to this group from the Unassigned Attributes column.

    Should you have any further questions or difficulties, we are always happy to assist.
    Feel free to contact our Support Team at [email protected] with inquiries.

    Kindly,

    The Mageworx Team

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search