pragyapradhan
7/12/2017 - 11:15 AM

While connecting existing db to new Magento installation, "There has been an error processing your request occurs!"... Follow the below link

While connecting existing db to new Magento installation, "There has been an error processing your request occurs!"... Follow the below link to solve.

https://magento.stackexchange.com/questions/123994/the-configuration-parameter-componenttype-is-a-required-for-advanced-pricing



In vendor/magento/module-configurable-product/Ui/DataProvider/Product/Form/Modifier/ConfigurablePrice.php look for the following code:

$meta[$groupCode]['children'][self::CODE_GROUP_PRICE] = array_replace_recursive(
    $meta[$groupCode]['children'][self::CODE_GROUP_PRICE],
    [
        'children' => [
            self::$advancedPricingButton => [
                'arguments' => [
                    'data' => [
                        'config' => $visibilityConfig,
                    ],
                ],
            ],
        ],
    ]
);

And replace the following line:

'config' => $visibilityConfig,

With:

'config' => ['componentType'=>'container',$visibilityConfig],