{"action":"created","issue":{"url":"https://api.github.com/repos/Magenerds/BasePrice/issues/31","repository_url":"https://api.github.com/repos/Magenerds/BasePrice","labels_url":"https://api.github.com/repos/Magenerds/BasePrice/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/Magenerds/BasePrice/issues/31/comments","events_url":"https://api.github.com/repos/Magenerds/BasePrice/issues/31/events","html_url":"https://github.com/Magenerds/BasePrice/issues/31","id":332431361,"node_id":"MDU6SXNzdWUzMzI0MzEzNjE=","number":31,"title":"Fatal Error for Grouped Products without active child","user":{"login":"zolthan","id":3035434,"node_id":"MDQ6VXNlcjMwMzU0MzQ=","avatar_url":"https://avatars2.githubusercontent.com/u/3035434?v=4","gravatar_id":"","url":"https://api.github.com/users/zolthan","html_url":"https://github.com/zolthan","followers_url":"https://api.github.com/users/zolthan/followers","following_url":"https://api.github.com/users/zolthan/following{/other_user}","gists_url":"https://api.github.com/users/zolthan/gists{/gist_id}","starred_url":"https://api.github.com/users/zolthan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zolthan/subscriptions","organizations_url":"https://api.github.com/users/zolthan/orgs","repos_url":"https://api.github.com/users/zolthan/repos","events_url":"https://api.github.com/users/zolthan/events{/privacy}","received_events_url":"https://api.github.com/users/zolthan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-06-14T14:36:39Z","updated_at":"2018-09-06T14:07:22Z","closed_at":null,"author_association":"NONE","body":"https://github.com/Magenerds/BasePrice/blob/9b5d703f2db3f2c940f680449bcfc88b16a9fd5e/Model/Plugin/AfterPrice.php#L110\r\n\r\n````\r\nFatal error: Uncaught Error: Call to a member function getId() on null in magenerds-base-price/Model/Plugin/AfterPrice.php:92 \r\nStack trace: \r\n#0 magenerds-base-price/Model/Plugin/AfterPrice.php(68): Magenerds\\BasePrice\\Model\\Plugin\\AfterPrice->getAfterPriceHtml(NULL) \r\n#1 vendor/magento/framework/Interception/Interceptor.php(135): Magenerds\\BasePrice\\Model\\Plugin\\AfterPrice->aroundRender(Object(Magento\\Framework\\Pricing\\Render\\Interceptor), Object(Closure), 'final_price', Object(Magento\\Catalog\\Model\\Product\\Interceptor), Array) \r\n#2 vendor/magento/framework/Interception/Interceptor.php(153): Magento\\Framework\\Pricing\\Render\\Interceptor->Magento\\Framework\\Interception\\{closure}('final_price', Object(Magento\\Catalog\\Model\\Product\\Interceptor), Array) \r\n#3 generated/code/Magento/Framework/Pricing/Render/Interceptor.php(26): Magento\\Framework\\Pricing\\Render\\Interceptor-> in magenerds-base-price/Model/Plugin/AfterPrice.php on line 92\r\n````\r\n\r\nA simple check for $product is enough as it is done for the original product in the beginning of this method.\r\n\r\n````\r\n        // check if product is available\r\n        if (!$product) return '';\r\n````\r\n"},"comment":{"url":"https://api.github.com/repos/Magenerds/BasePrice/issues/comments/419106689","html_url":"https://github.com/Magenerds/BasePrice/issues/31#issuecomment-419106689","issue_url":"https://api.github.com/repos/Magenerds/BasePrice/issues/31","id":419106689,"node_id":"MDEyOklzc3VlQ29tbWVudDQxOTEwNjY4OQ==","user":{"login":"sydekumf","id":3983052,"node_id":"MDQ6VXNlcjM5ODMwNTI=","avatar_url":"https://avatars0.githubusercontent.com/u/3983052?v=4","gravatar_id":"","url":"https://api.github.com/users/sydekumf","html_url":"https://github.com/sydekumf","followers_url":"https://api.github.com/users/sydekumf/followers","following_url":"https://api.github.com/users/sydekumf/following{/other_user}","gists_url":"https://api.github.com/users/sydekumf/gists{/gist_id}","starred_url":"https://api.github.com/users/sydekumf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sydekumf/subscriptions","organizations_url":"https://api.github.com/users/sydekumf/orgs","repos_url":"https://api.github.com/users/sydekumf/repos","events_url":"https://api.github.com/users/sydekumf/events{/privacy}","received_events_url":"https://api.github.com/users/sydekumf/received_events","type":"User","site_admin":false},"created_at":"2018-09-06T14:07:22Z","updated_at":"2018-09-06T14:07:22Z","author_association":"CONTRIBUTOR","body":"Hey, can you provide a PR? Thanks!"}}
{"actor":{"display_login":"sydekumf"}}