Fatal error: Uncaught Error: Call to a member function getItems() on null in /var/www/html/vendor/magento/module-catalog/Block/Product/ProductList/Upsell.php:146 Stack trace: #0 /var/www/html/vendor/magento/module-catalog/Block/Product/ProductList/Upsell.php(238): Magento\Catalog\Block\Product\ProductList\Upsell->getItems() #1 /var/www/html/vendor/magento/module-page-cache/Model/Layout/LayoutPlugin.php(71): Magento\Catalog\Block\Product\ProductList\Upsell->getIdentities() #2 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(152): Magento\PageCache\Model\Layout\LayoutPlugin->afterGetOutput(Object(Magento\Framework\View\Layout\Interceptor), '<script type="t...') #3 /var/www/html/var/generation/Magento/Framework/View/Layout/Interceptor.php(39): Magento\Framework\View\Layout\Interceptor->___callPlugins('getOutput', Array, Array) #4 /var/www/html/vendor/magento/framework/View/Result/Page.php(243): Magento\Framework\View\Layout\Interceptor->getOutput() #5 /var/www/html/vendor/magento/framework/View/Result/Layo in /var/www/html/vendor/magento/module-catalog/Block/Product/ProductList/Upsell.php on line 146