Fatal error: Uncaught Error: Call to a member function getId() on null in /var/www/pietklerkx.nl/releases/20190620120707/app/code/PietKlerkx/Catalog/Plugin/Product/ViewPlugin.php:91 Stack trace: #0 /var/www/pietklerkx.nl/releases/20190620120707/app/code/PietKlerkx/Catalog/Plugin/Product/ViewPlugin.php(64): PietKlerkx\Catalog\Plugin\Product\ViewPlugin->getProduct() #1 /var/www/pietklerkx.nl/releases/20190620120707/vendor/magento/framework/Interception/Interceptor.php(146): PietKlerkx\Catalog\Plugin\Product\ViewPlugin->afterExecute(Object(Magento\Catalog\Controller\Product\View\Interceptor), Object(Magento\Framework\Controller\Result\Forward\Interceptor)) #2 /var/www/pietklerkx.nl/releases/20190620120707/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Catalog\Controller\Product\View\Interceptor->Magento\Framework\Interception\{closure}() #3 /var/www/pietklerkx.nl/releases/20190620120707/generated/code/Magento/Catalog/Controller/Product/View/Interceptor.php(26): Magento\Catalog\Controller\Product\View\Int in /var/www/pietklerkx.nl/releases/20190620120707/app/code/PietKlerkx/Catalog/Plugin/Product/ViewPlugin.php on line 91