{"id":4514,"date":"2017-08-25T13:42:02","date_gmt":"2017-08-25T12:42:02","guid":{"rendered":"https:\/\/www.utilewebsites.nl\/knowledgebase\/nothing-on-the-product-details-page-product-detail-page-is-blank-http-error-500-magento-2-1-x\/"},"modified":"2023-04-06T07:22:00","modified_gmt":"2023-04-06T06:22:00","slug":"nothing-on-the-product-details-page-product-detail-page-is-blank-http-error-500-magento-2-1-x","status":"publish","type":"wz_knowledgebase","link":"https:\/\/www.utilewebsites.nl\/en\/knowledgebase\/nothing-on-the-product-details-page-product-detail-page-is-blank-http-error-500-magento-2-1-x\/","title":{"rendered":"nothing on the product details page \/ Product Detail Page is blank &#8211; http error 500 &#8211; Magento 2.1.x"},"content":{"rendered":"<p>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.<\/p>\n<pre>In the file, you will find: app\/bootstrap.php\nAdd the following line:\n\nini_set('display_errors', -1) \/\/ Should enable error reporting with -1 value.\n\n<\/pre>\n<p>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<\/p>\n<pre>Error : The configuration parameter \"componentType\" is a required for \"advanced_pricing_button\" component.<\/pre>\n<p>Possible solution :<\/p>\n<pre>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:\n\n\nIn vendor\/magento\/module-configurable-product\/Ui\/DataProvider\/Product\/Form\/Modifier\/ConfigurablePrice.php look for the following code:\n$meta[$groupCode]['children'][self::CODE_GROUP_PRICE] = array_replace_recursive(\n    $meta[$groupCode]['children'][self::CODE_GROUP_PRICE],\n    [\n        'children' =&gt; [\n            self::$advancedPricingButton =&gt; [\n                'arguments' =&gt; [\n                    'data' =&gt; [\n                        'config' =&gt; $visibilityConfig,\n                    ],\n                ],\n            ],\n        ],\n    ]\n);\nAnd replace the following line:\n'config' =&gt; $visibilityConfig,\nWith:\n'config' =&gt; ['componentType'=&gt;'container',$visibilityConfig],\n\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>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&nbsp;<a href=\"https:\/\/www.utilewebsites.nl\/en\/knowledgebase\/nothing-on-the-product-details-page-product-detail-page-is-blank-http-error-500-magento-2-1-x\/\" class=\"read-more\">Continue Reading<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"wzkb_category":[61],"wzkb_tag":[],"class_list":["post-4514","wz_knowledgebase","type-wz_knowledgebase","status-publish","hentry","wzkb_category-magento-2-0-x"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>nothing on the product details page \/ Product Detail Page is blank - http error 500 - Magento 2.1.x - Utilewebsites<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.utilewebsites.nl\/en\/knowledgebase\/nothing-on-the-product-details-page-product-detail-page-is-blank-http-error-500-magento-2-1-x\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"nothing on the product details page \/ Product Detail Page is blank - http error 500 - Magento 2.1.x - Utilewebsites\" \/>\n<meta property=\"og:description\" content=\"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&#039;s bootstrap. In the file, you will find: app\/bootstrap.php Add the following line: ini_set(&#039;display_errors&#039;, -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 &quot;componentType&quot; is a required for &quot;advanced_pricing_button&quot; component. Possible solution : Had the same issue when migrating from Magento 2.0.7&nbsp;Continue Reading\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.utilewebsites.nl\/en\/knowledgebase\/nothing-on-the-product-details-page-product-detail-page-is-blank-http-error-500-magento-2-1-x\/\" \/>\n<meta property=\"og:site_name\" content=\"Utilewebsites\" \/>\n<meta property=\"article:modified_time\" content=\"2023-04-06T06:22:00+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.utilewebsites.nl\\\/en\\\/knowledgebase\\\/nothing-on-the-product-details-page-product-detail-page-is-blank-http-error-500-magento-2-1-x\\\/\",\"url\":\"https:\\\/\\\/www.utilewebsites.nl\\\/en\\\/knowledgebase\\\/nothing-on-the-product-details-page-product-detail-page-is-blank-http-error-500-magento-2-1-x\\\/\",\"name\":\"nothing on the product details page \\\/ Product Detail Page is blank - http error 500 - Magento 2.1.x - Utilewebsites\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.utilewebsites.nl\\\/en\\\/#website\"},\"datePublished\":\"2017-08-25T12:42:02+00:00\",\"dateModified\":\"2023-04-06T06:22:00+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.utilewebsites.nl\\\/en\\\/knowledgebase\\\/nothing-on-the-product-details-page-product-detail-page-is-blank-http-error-500-magento-2-1-x\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.utilewebsites.nl\\\/en\\\/knowledgebase\\\/nothing-on-the-product-details-page-product-detail-page-is-blank-http-error-500-magento-2-1-x\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.utilewebsites.nl\\\/en\\\/knowledgebase\\\/nothing-on-the-product-details-page-product-detail-page-is-blank-http-error-500-magento-2-1-x\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.utilewebsites.nl\\\/en\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Knowledge Base\",\"item\":\"https:\\\/\\\/www.utilewebsites.nl\\\/en\\\/knowledgebase\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"nothing on the product details page \\\/ Product Detail Page is blank &#8211; http error 500 &#8211; Magento 2.1.x\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.utilewebsites.nl\\\/en\\\/#website\",\"url\":\"https:\\\/\\\/www.utilewebsites.nl\\\/en\\\/\",\"name\":\"Utilewebsites\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.utilewebsites.nl\\\/en\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.utilewebsites.nl\\\/en\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.utilewebsites.nl\\\/en\\\/#organization\",\"name\":\"Utilewebsites\",\"url\":\"https:\\\/\\\/www.utilewebsites.nl\\\/en\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.utilewebsites.nl\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.utilewebsites.nl\\\/wp-content\\\/uploads\\\/2019\\\/08\\\/logo-Utilewebsites-2017.png\",\"contentUrl\":\"https:\\\/\\\/www.utilewebsites.nl\\\/wp-content\\\/uploads\\\/2019\\\/08\\\/logo-Utilewebsites-2017.png\",\"width\":3000,\"height\":593,\"caption\":\"Utilewebsites\"},\"image\":{\"@id\":\"https:\\\/\\\/www.utilewebsites.nl\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"nothing on the product details page \/ Product Detail Page is blank - http error 500 - Magento 2.1.x - Utilewebsites","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.utilewebsites.nl\/en\/knowledgebase\/nothing-on-the-product-details-page-product-detail-page-is-blank-http-error-500-magento-2-1-x\/","og_locale":"en_US","og_type":"article","og_title":"nothing on the product details page \/ Product Detail Page is blank - http error 500 - Magento 2.1.x - Utilewebsites","og_description":"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&nbsp;Continue Reading","og_url":"https:\/\/www.utilewebsites.nl\/en\/knowledgebase\/nothing-on-the-product-details-page-product-detail-page-is-blank-http-error-500-magento-2-1-x\/","og_site_name":"Utilewebsites","article_modified_time":"2023-04-06T06:22:00+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.utilewebsites.nl\/en\/knowledgebase\/nothing-on-the-product-details-page-product-detail-page-is-blank-http-error-500-magento-2-1-x\/","url":"https:\/\/www.utilewebsites.nl\/en\/knowledgebase\/nothing-on-the-product-details-page-product-detail-page-is-blank-http-error-500-magento-2-1-x\/","name":"nothing on the product details page \/ Product Detail Page is blank - http error 500 - Magento 2.1.x - Utilewebsites","isPartOf":{"@id":"https:\/\/www.utilewebsites.nl\/en\/#website"},"datePublished":"2017-08-25T12:42:02+00:00","dateModified":"2023-04-06T06:22:00+00:00","breadcrumb":{"@id":"https:\/\/www.utilewebsites.nl\/en\/knowledgebase\/nothing-on-the-product-details-page-product-detail-page-is-blank-http-error-500-magento-2-1-x\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.utilewebsites.nl\/en\/knowledgebase\/nothing-on-the-product-details-page-product-detail-page-is-blank-http-error-500-magento-2-1-x\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.utilewebsites.nl\/en\/knowledgebase\/nothing-on-the-product-details-page-product-detail-page-is-blank-http-error-500-magento-2-1-x\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.utilewebsites.nl\/en\/"},{"@type":"ListItem","position":2,"name":"Knowledge Base","item":"https:\/\/www.utilewebsites.nl\/en\/knowledgebase\/"},{"@type":"ListItem","position":3,"name":"nothing on the product details page \/ Product Detail Page is blank &#8211; http error 500 &#8211; Magento 2.1.x"}]},{"@type":"WebSite","@id":"https:\/\/www.utilewebsites.nl\/en\/#website","url":"https:\/\/www.utilewebsites.nl\/en\/","name":"Utilewebsites","description":"","publisher":{"@id":"https:\/\/www.utilewebsites.nl\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.utilewebsites.nl\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.utilewebsites.nl\/en\/#organization","name":"Utilewebsites","url":"https:\/\/www.utilewebsites.nl\/en\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.utilewebsites.nl\/en\/#\/schema\/logo\/image\/","url":"https:\/\/www.utilewebsites.nl\/wp-content\/uploads\/2019\/08\/logo-Utilewebsites-2017.png","contentUrl":"https:\/\/www.utilewebsites.nl\/wp-content\/uploads\/2019\/08\/logo-Utilewebsites-2017.png","width":3000,"height":593,"caption":"Utilewebsites"},"image":{"@id":"https:\/\/www.utilewebsites.nl\/en\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/www.utilewebsites.nl\/en\/wp-json\/wp\/v2\/wz_knowledgebase\/4514","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.utilewebsites.nl\/en\/wp-json\/wp\/v2\/wz_knowledgebase"}],"about":[{"href":"https:\/\/www.utilewebsites.nl\/en\/wp-json\/wp\/v2\/types\/wz_knowledgebase"}],"author":[{"embeddable":true,"href":"https:\/\/www.utilewebsites.nl\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.utilewebsites.nl\/en\/wp-json\/wp\/v2\/comments?post=4514"}],"version-history":[{"count":1,"href":"https:\/\/www.utilewebsites.nl\/en\/wp-json\/wp\/v2\/wz_knowledgebase\/4514\/revisions"}],"predecessor-version":[{"id":4516,"href":"https:\/\/www.utilewebsites.nl\/en\/wp-json\/wp\/v2\/wz_knowledgebase\/4514\/revisions\/4516"}],"wp:attachment":[{"href":"https:\/\/www.utilewebsites.nl\/en\/wp-json\/wp\/v2\/media?parent=4514"}],"wp:term":[{"taxonomy":"wzkb_category","embeddable":true,"href":"https:\/\/www.utilewebsites.nl\/en\/wp-json\/wp\/v2\/wzkb_category?post=4514"},{"taxonomy":"wzkb_tag","embeddable":true,"href":"https:\/\/www.utilewebsites.nl\/en\/wp-json\/wp\/v2\/wzkb_tag?post=4514"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}