When you go to the product details in magento 2 you get an unexpected error (e.g. 500). To find out, one needs to enable error reporting on magento's bootstrap.

In the file, you will find: app/bootstrap.php
Add the following line:

ini_set('display_errors', -1) // Should enable error reporting with -1 value.

An http error 500 (Internal server error) can be caused by the following, among other things. After you enable error reporting, you get the following problem

Error : The configuration parameter "componentType" is a required for "advanced_pricing_button" component.

Possible solution :

Had the same issue when migrating from Magento 2.0.7 to 2.1.0, the following described on https://github.com/magento/magento2/issues/5236 fixed the problem for me:


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],