{"action":"created","issue":{"url":"https://api.github.com/repos/magento/magento2/issues/3855","repository_url":"https://api.github.com/repos/magento/magento2","labels_url":"https://api.github.com/repos/magento/magento2/issues/3855/labels{/name}","comments_url":"https://api.github.com/repos/magento/magento2/issues/3855/comments","events_url":"https://api.github.com/repos/magento/magento2/issues/3855/events","html_url":"https://github.com/magento/magento2/issues/3855","id":142539540,"number":3855,"title":"Uncaught Error: Call to a member function getValue() on boolean in","user":{"login":"shuaiZend","id":1478692,"avatar_url":"https://avatars.githubusercontent.com/u/1478692?v=3","gravatar_id":"","url":"https://api.github.com/users/shuaiZend","html_url":"https://github.com/shuaiZend","followers_url":"https://api.github.com/users/shuaiZend/followers","following_url":"https://api.github.com/users/shuaiZend/following{/other_user}","gists_url":"https://api.github.com/users/shuaiZend/gists{/gist_id}","starred_url":"https://api.github.com/users/shuaiZend/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shuaiZend/subscriptions","organizations_url":"https://api.github.com/users/shuaiZend/orgs","repos_url":"https://api.github.com/users/shuaiZend/repos","events_url":"https://api.github.com/users/shuaiZend/events{/privacy}","received_events_url":"https://api.github.com/users/shuaiZend/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/magento/magento2/labels/needs%20update","name":"needs update","color":"b60205"}],"state":"closed","locked":false,"assignee":{"login":"piotrekkaminski","id":1714545,"avatar_url":"https://avatars.githubusercontent.com/u/1714545?v=3","gravatar_id":"","url":"https://api.github.com/users/piotrekkaminski","html_url":"https://github.com/piotrekkaminski","followers_url":"https://api.github.com/users/piotrekkaminski/followers","following_url":"https://api.github.com/users/piotrekkaminski/following{/other_user}","gists_url":"https://api.github.com/users/piotrekkaminski/gists{/gist_id}","starred_url":"https://api.github.com/users/piotrekkaminski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/piotrekkaminski/subscriptions","organizations_url":"https://api.github.com/users/piotrekkaminski/orgs","repos_url":"https://api.github.com/users/piotrekkaminski/repos","events_url":"https://api.github.com/users/piotrekkaminski/events{/privacy}","received_events_url":"https://api.github.com/users/piotrekkaminski/received_events","type":"User","site_admin":false},"assignees":[{"login":"piotrekkaminski","id":1714545,"avatar_url":"https://avatars.githubusercontent.com/u/1714545?v=3","gravatar_id":"","url":"https://api.github.com/users/piotrekkaminski","html_url":"https://github.com/piotrekkaminski","followers_url":"https://api.github.com/users/piotrekkaminski/followers","following_url":"https://api.github.com/users/piotrekkaminski/following{/other_user}","gists_url":"https://api.github.com/users/piotrekkaminski/gists{/gist_id}","starred_url":"https://api.github.com/users/piotrekkaminski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/piotrekkaminski/subscriptions","organizations_url":"https://api.github.com/users/piotrekkaminski/orgs","repos_url":"https://api.github.com/users/piotrekkaminski/repos","events_url":"https://api.github.com/users/piotrekkaminski/events{/privacy}","received_events_url":"https://api.github.com/users/piotrekkaminski/received_events","type":"User","site_admin":false},{"login":"voleye","id":2727670,"avatar_url":"https://avatars.githubusercontent.com/u/2727670?v=3","gravatar_id":"","url":"https://api.github.com/users/voleye","html_url":"https://github.com/voleye","followers_url":"https://api.github.com/users/voleye/followers","following_url":"https://api.github.com/users/voleye/following{/other_user}","gists_url":"https://api.github.com/users/voleye/gists{/gist_id}","starred_url":"https://api.github.com/users/voleye/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/voleye/subscriptions","organizations_url":"https://api.github.com/users/voleye/orgs","repos_url":"https://api.github.com/users/voleye/repos","events_url":"https://api.github.com/users/voleye/events{/privacy}","received_events_url":"https://api.github.com/users/voleye/received_events","type":"User","site_admin":false}],"milestone":null,"comments":8,"created_at":"2016-03-22T03:43:22Z","updated_at":"2016-09-12T08:49:11Z","closed_at":"2016-07-07T14:36:27Z","body":"Steps to reproduce\r\n--\r\n1. Install Magento from `2.0` branch.   On **php7**\r\n2. Add Related Products to the Product.\r\n\r\nExpected result\r\n--\r\n1. view Product page\r\n\r\nActual result\r\n--\r\n1.  Error message appears:\r\n```\r\n<b>Fatal error</b>:  Uncaught Error: Call to a member function getValue() on boolean in /home/wwwroot/mysite/vendor/magento/module-catalog/Pricing/Render/FinalPriceBox.php:101\r\nStack trace:\r\n#0 /home/wwwroot/mysite/vendor/magento/module-catalog/view/base/templates/product/price/final_price.phtml(24): Magento\\Catalog\\Pricing\\Render\\FinalPriceBox-&gt;hasSpecialPrice()\r\n#1 /home/wwwroot/mysite/vendor/magento/framework/View/TemplateEngine/Php.php(59): include('/home/wwwroot/i...')\r\n#2 /home/wwwroot/mysite/vendor/magento/framework/View/Element/Template.php(255): Magento\\Framework\\View\\TemplateEngine\\Php-&gt;render(Object(Magento\\Catalog\\Pricing\\Render\\FinalPriceBox), '/home/wwwroot/i...', Array)\r\n#3 /home/wwwroot/mysite/vendor/magento/framework/View/Element/Template.php(279): Magento\\Framework\\View\\Element\\Template-&gt;fetchView('/home/wwwroot/i...')\r\n#4 /home/wwwroot/mysite/vendor/magento/framework/Pricing/Render/PriceBox.php(65): Magento\\Framework\\View\\Element\\Template-&gt;_toHtml()\r\n#5 /home/wwwroot/mysite/vendor/ma in <b>/home/wwwroot/mysite/vendor/magento/module-catalog/Pricing/Render/FinalPriceBox.php</b> on line <b>101</b><br />\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/magento/magento2/issues/comments/246285857","html_url":"https://github.com/magento/magento2/issues/3855#issuecomment-246285857","issue_url":"https://api.github.com/repos/magento/magento2/issues/3855","id":246285857,"user":{"login":"giacmir","id":447940,"avatar_url":"https://avatars.githubusercontent.com/u/447940?v=3","gravatar_id":"","url":"https://api.github.com/users/giacmir","html_url":"https://github.com/giacmir","followers_url":"https://api.github.com/users/giacmir/followers","following_url":"https://api.github.com/users/giacmir/following{/other_user}","gists_url":"https://api.github.com/users/giacmir/gists{/gist_id}","starred_url":"https://api.github.com/users/giacmir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giacmir/subscriptions","organizations_url":"https://api.github.com/users/giacmir/orgs","repos_url":"https://api.github.com/users/giacmir/repos","events_url":"https://api.github.com/users/giacmir/events{/privacy}","received_events_url":"https://api.github.com/users/giacmir/received_events","type":"User","site_admin":false},"created_at":"2016-09-12T08:49:11Z","updated_at":"2016-09-12T08:49:11Z","body":"This is fixed due to `getMinRegularAmount` returning `false` instead of an instance of `AmountInterface` in `ConfigurableRegularPrice` class. It seems to be fixed in 2.1.\r\n\r\nFor Magento 2.0.7 I solved by adding an after plugin to that method that checks if the result is wrong and then fixes it by using the `AbstractPrice` implementation of that method."}}
{"actor":{"display_login":"giacmir"}}