Error: Call to a member function getDefaultPlaceholderUrl() on null in /home/dezireit/public_html/app/design/frontend/Smartwave/porto/Magento_Catalog/templates/product/view/gallery.phtml:318 Stack trace: #0 /home/dezireit/public_html/vendor/magento/framework/View/TemplateEngine/Php.php(71): include() #1 /home/dezireit/public_html/vendor/magento/framework/View/Element/Template.php(273): Magento\Framework\View\TemplateEngine\Php->render(Object(Magento\Catalog\Block\Product\View\Gallery\Interceptor), '/home/dezireit/...', Array) #2 /home/dezireit/public_html/vendor/magento/framework/View/Element/Template.php(303): Magento\Framework\View\Element\Template->fetchView('/home/dezireit/...') #3 /home/dezireit/public_html/vendor/magento/framework/View/Element/AbstractBlock.php(1111): Magento\Framework\View\Element\Template->_toHtml() #4 /home/dezireit/public_html/vendor/magento/framework/View/Element/AbstractBlock.php(1115): Magento\Framework\View\Element\AbstractBlock->Magento\Framework\View\Element\{closure}() #5 /home/dezireit/public_html/vendor/magento/framework/View/Element/AbstractBlock.php(675): Magento\Framework\View\Element\AbstractBlock->_loadCache() #6 /home/dezireit/public_html/vendor/magento/module-catalog/view/frontend/templates/product/view/form.phtml(35): Magento\Framework\View\Element\AbstractBlock->toHtml() #7 /home/dezireit/public_html/vendor/magento/framework/View/TemplateEngine/Php.php(71): include('/home/dezireit/...') #8 /home/dezireit/public_html/vendor/magento/framework/View/Element/Template.php(273): Magento\Framework\View\TemplateEngine\Php->render(Object(Magento\Catalog\Block\Product\View\Interceptor), '/home/dezireit/...', Array) #9 /home/dezireit/public_html/vendor/magento/framework/View/Element/Template.php(303): Magento\Framework\View\Element\Template->fetchView('/home/dezireit/...') #10 /home/dezireit/public_html/vendor/magento/framework/View/Element/AbstractBlock.php(1111): Magento\Framework\View\Element\Template->_toHtml() #11 /home/dezireit/public_html/vendor/magento/framework/View/Element/AbstractBlock.php(1115): Magento\Framework\View\Element\AbstractBlock->Magento\Framework\View\Element\{closure}() #12 /home/dezireit/public_html/vendor/magento/framework/View/Element/AbstractBlock.php(675): Magento\Framework\View\Element\AbstractBlock->_loadCache() #13 /home/dezireit/public_html/vendor/magento/framework/View/Layout.php(578): Magento\Framework\View\Element\AbstractBlock->toHtml() #14 /home/dezireit/public_html/vendor/magento/framework/View/Layout.php(555): Magento\Framework\View\Layout->_renderBlock('product.info') #15 /home/dezireit/public_html/vendor/magento/framework/View/Layout.php(510): Magento\Framework\View\Layout->renderNonCachedElement('product.info') #16 /home/dezireit/public_html/vendor/magento/framework/View/Layout.php(606): Magento\Framework\View\Layout->renderElement('product.info', false) #17 /home/dezireit/public_html/vendor/magento/framework/View/Layout.php(557): Magento\Framework\View\Layout->_renderContainer('product.info.ma...', false) #18 /home/dezireit/public_html/vendor/magento/framework/View/Layout.php(510): Magento\Framework\View\Layout->renderNonCachedElement('product.info.ma...') #19 /home/dezireit/public_html/vendor/magento/framework/View/Layout.php(606): Magento\Framework\View\Layout->renderElement('product.info.ma...', false) #20 /home/dezireit/public_html/vendor/magento/framework/View/Layout.php(557): Magento\Framework\View\Layout->_renderContainer('content', false) #21 /home/dezireit/public_html/vendor/magento/framework/View/Layout.php(510): Magento\Framework\View\Layout->renderNonCachedElement('content') #22 /home/dezireit/public_html/vendor/magento/framework/View/Layout.php(606): Magento\Framework\View\Layout->renderElement('content', false) #23 /home/dezireit/public_html/vendor/magento/framework/View/Layout.php(557): Magento\Framework\View\Layout->_renderContainer('main', false) #24 /home/dezireit/public_html/vendor/magento/framework/View/Layout.php(510): Magento\Framework\View\Layout->renderNonCachedElement('main') #25 /home/dezireit/public_html/vendor/magento/framework/View/Layout.php(606): Magento\Framework\View\Layout->renderElement('main', false) #26 /home/dezireit/public_html/vendor/magento/framework/View/Layout.php(557): Magento\Framework\View\Layout->_renderContainer('columns', false) #27 /home/dezireit/public_html/vendor/magento/framework/View/Layout.php(510): Magento\Framework\View\Layout->renderNonCachedElement('columns') #28 /home/dezireit/public_html/vendor/magento/framework/View/Layout.php(606): Magento\Framework\View\Layout->renderElement('columns', false) #29 /home/dezireit/public_html/vendor/magento/framework/View/Layout.php(557): Magento\Framework\View\Layout->_renderContainer('main.content', false) #30 /home/dezireit/public_html/vendor/magento/framework/View/Layout.php(510): Magento\Framework\View\Layout->renderNonCachedElement('main.content') #31 /home/dezireit/public_html/vendor/magento/framework/View/Layout.php(606): Magento\Framework\View\Layout->renderElement('main.content', false) #32 /home/dezireit/public_html/vendor/magento/framework/View/Layout.php(557): Magento\Framework\View\Layout->_renderContainer('page.wrapper', false) #33 /home/dezireit/public_html/vendor/magento/framework/View/Layout.php(510): Magento\Framework\View\Layout->renderNonCachedElement('page.wrapper') #34 /home/dezireit/public_html/vendor/magento/framework/View/Layout.php(606): Magento\Framework\View\Layout->renderElement('page.wrapper', false) #35 /home/dezireit/public_html/vendor/magento/framework/View/Layout.php(557): Magento\Framework\View\Layout->_renderContainer('root', false) #36 /home/dezireit/public_html/vendor/magento/framework/View/Layout.php(510): Magento\Framework\View\Layout->renderNonCachedElement('root') #37 /home/dezireit/public_html/vendor/magento/framework/View/Layout.php(975): Magento\Framework\View\Layout->renderElement('root') #38 /home/dezireit/public_html/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\View\Layout->getOutput() #39 /home/dezireit/public_html/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\View\Layout\Interceptor->___callParent('getOutput', Array) #40 /home/dezireit/public_html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\View\Layout\Interceptor->Magento\Framework\Interception\{closure}() #41 /home/dezireit/public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(41): Magento\Framework\View\Layout\Interceptor->___callPlugins('getOutput', Array, Array) #42 /home/dezireit/public_html/vendor/magento/framework/View/Result/Page.php(258): Magento\Framework\View\Layout\Interceptor->getOutput() #43 /home/dezireit/public_html/vendor/magento/framework/View/Result/Layout.php(171): Magento\Framework\View\Result\Page->render(Object(Magento\Framework\App\Response\Http\Interceptor)) #44 /home/dezireit/public_html/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\View\Result\Layout->renderResult(Object(Magento\Framework\App\Response\Http\Interceptor)) #45 /home/dezireit/public_html/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\View\Result\Page\Interceptor->___callParent('renderResult', Array) #46 /home/dezireit/public_html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\View\Result\Page\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Response\Http\Interceptor)) #47 /home/dezireit/public_html/generated/code/Magento/Framework/View/Result/Page/Interceptor.php(32): Magento\Framework\View\Result\Page\Interceptor->___callPlugins('renderResult', Array, Array) #48 /home/dezireit/public_html/vendor/magento/framework/App/Http.php(120): Magento\Framework\View\Result\Page\Interceptor->renderResult(Object(Magento\Framework\App\Response\Http\Interceptor)) #49 /home/dezireit/public_html/vendor/magento/framework/App/Bootstrap.php(263): Magento\Framework\App\Http->launch() #50 /home/dezireit/public_html/index.php(39): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http\Interceptor)) #51 {main}