Error: Call to a member function getValue() on null in /var/www/vhosts/worthavegroup.com/html/app/code/Wag/CustomProductOptions/view/frontend/templates/custom_options_product_main.phtml:4 Stack trace: #0 /var/www/vhosts/worthavegroup.com/html/vendor/magento/framework/View/TemplateEngine/Php.php(71): include() #1 /var/www/vhosts/worthavegroup.com/html/vendor/magento/framework/View/Element/Template.php(273): Magento\Framework\View\TemplateEngine\Php->render() #2 /var/www/vhosts/worthavegroup.com/html/generated/code/Magento/Catalog/Block/Product/View/Interceptor.php(383): Magento\Framework\View\Element\Template->fetchView() #3 /var/www/vhosts/worthavegroup.com/html/vendor/magento/framework/View/Element/Template.php(303): Magento\Catalog\Block\Product\View\Interceptor->fetchView() #4 /var/www/vhosts/worthavegroup.com/html/vendor/magento/framework/View/Element/AbstractBlock.php(1111): Magento\Framework\View\Element\Template->_toHtml() #5 /var/www/vhosts/worthavegroup.com/html/vendor/magento/framework/View/Element/AbstractBlock.php(1115): Magento\Framework\View\Element\AbstractBlock->Magento\Framework\View\Element\{closure}() #6 /var/www/vhosts/worthavegroup.com/html/vendor/magento/framework/View/Element/AbstractBlock.php(675): Magento\Framework\View\Element\AbstractBlock->_loadCache() #7 /var/www/vhosts/worthavegroup.com/html/generated/code/Magento/Catalog/Block/Product/View/Interceptor.php(608): Magento\Framework\View\Element\AbstractBlock->toHtml() #8 /var/www/vhosts/worthavegroup.com/html/vendor/magento/framework/View/Layout.php(578): Magento\Catalog\Block\Product\View\Interceptor->toHtml() #9 /var/www/vhosts/worthavegroup.com/html/vendor/magento/framework/View/Layout.php(555): Magento\Framework\View\Layout->_renderBlock() #10 /var/www/vhosts/worthavegroup.com/html/generated/code/Magento/Framework/View/Layout/Interceptor.php(149): Magento\Framework\View\Layout->renderNonCachedElement() #11 /var/www/vhosts/worthavegroup.com/html/vendor/magento/framework/View/Layout.php(510): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement() #12 /var/www/vhosts/worthavegroup.com/html/generated/code/Magento/Framework/View/Layout/Interceptor.php(140): Magento\Framework\View\Layout->renderElement() #13 /var/www/vhosts/worthavegroup.com/html/vendor/magento/framework/View/Layout.php(606): Magento\Framework\View\Layout\Interceptor->renderElement() #14 /var/www/vhosts/worthavegroup.com/html/vendor/magento/framework/View/Layout.php(557): Magento\Framework\View\Layout->_renderContainer() #15 /var/www/vhosts/worthavegroup.com/html/generated/code/Magento/Framework/View/Layout/Interceptor.php(149): Magento\Framework\View\Layout->renderNonCachedElement() #16 /var/www/vhosts/worthavegroup.com/html/vendor/magento/framework/View/Layout.php(510): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement() #17 /var/www/vhosts/worthavegroup.com/html/generated/code/Magento/Framework/View/Layout/Interceptor.php(140): Magento\Framework\View\Layout->renderElement() #18 /var/www/vhosts/worthavegroup.com/html/vendor/magento/framework/View/Layout.php(606): Magento\Framework\View\Layout\Interceptor->renderElement() #19 /var/www/vhosts/worthavegroup.com/html/vendor/magento/framework/View/Layout.php(557): Magento\Framework\View\Layout->_renderContainer() #20 /var/www/vhosts/worthavegroup.com/html/generated/code/Magento/Framework/View/Layout/Interceptor.php(149): Magento\Framework\View\Layout->renderNonCachedElement() #21 /var/www/vhosts/worthavegroup.com/html/vendor/magento/framework/View/Layout.php(510): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement() #22 /var/www/vhosts/worthavegroup.com/html/generated/code/Magento/Framework/View/Layout/Interceptor.php(140): Magento\Framework\View\Layout->renderElement() #23 /var/www/vhosts/worthavegroup.com/html/vendor/magento/framework/View/Element/AbstractBlock.php(522): Magento\Framework\View\Layout\Interceptor->renderElement() #24 /var/www/vhosts/worthavegroup.com/html/generated/code/Magento/Catalog/Block/Product/View/Interceptor.php(545): Magento\Framework\View\Element\AbstractBlock->getChildHtml() #25 /var/www/vhosts/worthavegroup.com/html/app/code/Wag/CustomProductOptions/view/frontend/templates/product/detail-style/detail-1.phtml(20): Magento\Catalog\Block\Product\View\Interceptor->getChildHtml() #26 /var/www/vhosts/worthavegroup.com/html/app/code/Wag/CustomProductOptions/view/frontend/templates/product/view.phtml(14): include('/var/www/vhosts...') #27 /var/www/vhosts/worthavegroup.com/html/vendor/magento/framework/View/TemplateEngine/Php.php(71): include('/var/www/vhosts...') #28 /var/www/vhosts/worthavegroup.com/html/vendor/magento/framework/View/Element/Template.php(273): Magento\Framework\View\TemplateEngine\Php->render() #29 /var/www/vhosts/worthavegroup.com/html/generated/code/Magento/Catalog/Block/Product/View/Interceptor.php(383): Magento\Framework\View\Element\Template->fetchView() #30 /var/www/vhosts/worthavegroup.com/html/vendor/magento/framework/View/Element/Template.php(303): Magento\Catalog\Block\Product\View\Interceptor->fetchView() #31 /var/www/vhosts/worthavegroup.com/html/vendor/magento/framework/View/Element/AbstractBlock.php(1111): Magento\Framework\View\Element\Template->_toHtml() #32 /var/www/vhosts/worthavegroup.com/html/vendor/magento/framework/View/Element/AbstractBlock.php(1115): Magento\Framework\View\Element\AbstractBlock->Magento\Framework\View\Element\{closure}() #33 /var/www/vhosts/worthavegroup.com/html/vendor/magento/framework/View/Element/AbstractBlock.php(675): Magento\Framework\View\Element\AbstractBlock->_loadCache() #34 /var/www/vhosts/worthavegroup.com/html/generated/code/Magento/Catalog/Block/Product/View/Interceptor.php(608): Magento\Framework\View\Element\AbstractBlock->toHtml() #35 /var/www/vhosts/worthavegroup.com/html/vendor/magento/framework/View/Layout.php(578): Magento\Catalog\Block\Product\View\Interceptor->toHtml() #36 /var/www/vhosts/worthavegroup.com/html/vendor/magento/framework/View/Layout.php(555): Magento\Framework\View\Layout->_renderBlock() #37 /var/www/vhosts/worthavegroup.com/html/generated/code/Magento/Framework/View/Layout/Interceptor.php(149): Magento\Framework\View\Layout->renderNonCachedElement() #38 /var/www/vhosts/worthavegroup.com/html/vendor/magento/framework/View/Layout.php(510): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement() #39 /var/www/vhosts/worthavegroup.com/html/generated/code/Magento/Framework/View/Layout/Interceptor.php(140): Magento\Framework\View\Layout->renderElement() #40 /var/www/vhosts/worthavegroup.com/html/vendor/magento/framework/View/Layout.php(606): Magento\Framework\View\Layout\Interceptor->renderElement() #41 /var/www/vhosts/worthavegroup.com/html/vendor/magento/framework/View/Layout.php(557): Magento\Framework\View\Layout->_renderContainer() #42 /var/www/vhosts/worthavegroup.com/html/generated/code/Magento/Framework/View/Layout/Interceptor.php(149): Magento\Framework\View\Layout->renderNonCachedElement() #43 /var/www/vhosts/worthavegroup.com/html/vendor/magento/framework/View/Layout.php(510): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement() #44 /var/www/vhosts/worthavegroup.com/html/generated/code/Magento/Framework/View/Layout/Interceptor.php(140): Magento\Framework\View\Layout->renderElement() #45 /var/www/vhosts/worthavegroup.com/html/vendor/magento/framework/View/Layout.php(606): Magento\Framework\View\Layout\Interceptor->renderElement() #46 /var/www/vhosts/worthavegroup.com/html/vendor/magento/framework/View/Layout.php(557): Magento\Framework\View\Layout->_renderContainer() #47 /var/www/vhosts/worthavegroup.com/html/generated/code/Magento/Framework/View/Layout/Interceptor.php(149): Magento\Framework\View\Layout->renderNonCachedElement() #48 /var/www/vhosts/worthavegroup.com/html/vendor/magento/framework/View/Layout.php(510): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement() #49 /var/www/vhosts/worthavegroup.com/html/generated/code/Magento/Framework/View/Layout/Interceptor.php(140): Magento\Framework\View\Layout->renderElement() #50 /var/www/vhosts/worthavegroup.com/html/vendor/magento/framework/View/Layout.php(606): Magento\Framework\View\Layout\Interceptor->renderElement() #51 /var/www/vhosts/worthavegroup.com/html/vendor/magento/framework/View/Layout.php(557): Magento\Framework\View\Layout->_renderContainer() #52 /var/www/vhosts/worthavegroup.com/html/generated/code/Magento/Framework/View/Layout/Interceptor.php(149): Magento\Framework\View\Layout->renderNonCachedElement() #53 /var/www/vhosts/worthavegroup.com/html/vendor/magento/framework/View/Layout.php(510): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement() #54 /var/www/vhosts/worthavegroup.com/html/generated/code/Magento/Framework/View/Layout/Interceptor.php(140): Magento\Framework\View\Layout->renderElement() #55 /var/www/vhosts/worthavegroup.com/html/vendor/magento/framework/View/Layout.php(606): Magento\Framework\View\Layout\Interceptor->renderElement() #56 /var/www/vhosts/worthavegroup.com/html/vendor/magento/framework/View/Layout.php(557): Magento\Framework\View\Layout->_renderContainer() #57 /var/www/vhosts/worthavegroup.com/html/generated/code/Magento/Framework/View/Layout/Interceptor.php(149): Magento\Framework\View\Layout->renderNonCachedElement() #58 /var/www/vhosts/worthavegroup.com/html/vendor/magento/framework/View/Layout.php(510): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement() #59 /var/www/vhosts/worthavegroup.com/html/generated/code/Magento/Framework/View/Layout/Interceptor.php(140): Magento\Framework\View\Layout->renderElement() #60 /var/www/vhosts/worthavegroup.com/html/vendor/magento/framework/View/Layout.php(606): Magento\Framework\View\Layout\Interceptor->renderElement() #61 /var/www/vhosts/worthavegroup.com/html/vendor/magento/framework/View/Layout.php(557): Magento\Framework\View\Layout->_renderContainer() #62 /var/www/vhosts/worthavegroup.com/html/generated/code/Magento/Framework/View/Layout/Interceptor.php(149): Magento\Framework\View\Layout->renderNonCachedElement() #63 /var/www/vhosts/worthavegroup.com/html/vendor/magento/framework/View/Layout.php(510): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement() #64 /var/www/vhosts/worthavegroup.com/html/generated/code/Magento/Framework/View/Layout/Interceptor.php(140): Magento\Framework\View\Layout->renderElement() #65 /var/www/vhosts/worthavegroup.com/html/vendor/magento/framework/View/Layout.php(606): Magento\Framework\View\Layout\Interceptor->renderElement() #66 /var/www/vhosts/worthavegroup.com/html/vendor/magento/framework/View/Layout.php(557): Magento\Framework\View\Layout->_renderContainer() #67 /var/www/vhosts/worthavegroup.com/html/generated/code/Magento/Framework/View/Layout/Interceptor.php(149): Magento\Framework\View\Layout->renderNonCachedElement() #68 /var/www/vhosts/worthavegroup.com/html/vendor/magento/framework/View/Layout.php(510): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement() #69 /var/www/vhosts/worthavegroup.com/html/generated/code/Magento/Framework/View/Layout/Interceptor.php(140): Magento\Framework\View\Layout->renderElement() #70 /var/www/vhosts/worthavegroup.com/html/vendor/magento/framework/View/Layout.php(606): Magento\Framework\View\Layout\Interceptor->renderElement() #71 /var/www/vhosts/worthavegroup.com/html/vendor/magento/framework/View/Layout.php(557): Magento\Framework\View\Layout->_renderContainer() #72 /var/www/vhosts/worthavegroup.com/html/generated/code/Magento/Framework/View/Layout/Interceptor.php(149): Magento\Framework\View\Layout->renderNonCachedElement() #73 /var/www/vhosts/worthavegroup.com/html/vendor/magento/framework/View/Layout.php(510): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement() #74 /var/www/vhosts/worthavegroup.com/html/generated/code/Magento/Framework/View/Layout/Interceptor.php(140): Magento\Framework\View\Layout->renderElement() #75 /var/www/vhosts/worthavegroup.com/html/vendor/magento/framework/View/Layout.php(606): Magento\Framework\View\Layout\Interceptor->renderElement() #76 /var/www/vhosts/worthavegroup.com/html/vendor/magento/framework/View/Layout.php(557): Magento\Framework\View\Layout->_renderContainer() #77 /var/www/vhosts/worthavegroup.com/html/generated/code/Magento/Framework/View/Layout/Interceptor.php(149): Magento\Framework\View\Layout->renderNonCachedElement() #78 /var/www/vhosts/worthavegroup.com/html/vendor/magento/framework/View/Layout.php(510): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement() #79 /var/www/vhosts/worthavegroup.com/html/generated/code/Magento/Framework/View/Layout/Interceptor.php(140): Magento\Framework\View\Layout->renderElement() #80 /var/www/vhosts/worthavegroup.com/html/vendor/magento/framework/View/Layout.php(606): Magento\Framework\View\Layout\Interceptor->renderElement() #81 /var/www/vhosts/worthavegroup.com/html/vendor/magento/framework/View/Layout.php(557): Magento\Framework\View\Layout->_renderContainer() #82 /var/www/vhosts/worthavegroup.com/html/generated/code/Magento/Framework/View/Layout/Interceptor.php(149): Magento\Framework\View\Layout->renderNonCachedElement() #83 /var/www/vhosts/worthavegroup.com/html/vendor/magento/framework/View/Layout.php(510): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement() #84 /var/www/vhosts/worthavegroup.com/html/generated/code/Magento/Framework/View/Layout/Interceptor.php(140): Magento\Framework\View\Layout->renderElement() #85 /var/www/vhosts/worthavegroup.com/html/vendor/magento/framework/View/Layout.php(975): Magento\Framework\View\Layout\Interceptor->renderElement() #86 /var/www/vhosts/worthavegroup.com/html/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\View\Layout->getOutput() #87 /var/www/vhosts/worthavegroup.com/html/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\View\Layout\Interceptor->___callParent() #88 /var/www/vhosts/worthavegroup.com/html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\View\Layout\Interceptor->Magento\Framework\Interception\{closure}() #89 /var/www/vhosts/worthavegroup.com/html/generated/code/Magento/Framework/View/Layout/Interceptor.php(347): Magento\Framework\View\Layout\Interceptor->___callPlugins() #90 /var/www/vhosts/worthavegroup.com/html/vendor/magento/framework/View/Result/Page.php(258): Magento\Framework\View\Layout\Interceptor->getOutput() #91 /var/www/vhosts/worthavegroup.com/html/vendor/magento/framework/View/Result/Layout.php(171): Magento\Framework\View\Result\Page->render() #92 /var/www/vhosts/worthavegroup.com/html/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\View\Result\Layout->renderResult() #93 /var/www/vhosts/worthavegroup.com/html/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\View\Result\Page\Interceptor->___callParent() #94 /var/www/vhosts/worthavegroup.com/html/vendor/litespeed/module-litemage/Model/Controller/Result/LitemagePlugin.php(62): Magento\Framework\View\Result\Page\Interceptor->Magento\Framework\Interception\{closure}() #95 /var/www/vhosts/worthavegroup.com/html/vendor/magento/framework/Interception/Interceptor.php(135): Litespeed\Litemage\Model\Controller\Result\LitemagePlugin->aroundRenderResult() #96 /var/www/vhosts/worthavegroup.com/html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\View\Result\Page\Interceptor->Magento\Framework\Interception\{closure}() #97 /var/www/vhosts/worthavegroup.com/html/generated/code/Magento/Framework/View/Result/Page/Interceptor.php(95): Magento\Framework\View\Result\Page\Interceptor->___callPlugins() #98 /var/www/vhosts/worthavegroup.com/html/vendor/magento/framework/App/Http.php(120): Magento\Framework\View\Result\Page\Interceptor->renderResult() #99 /var/www/vhosts/worthavegroup.com/html/vendor/magento/framework/App/Bootstrap.php(263): Magento\Framework\App\Http->launch() #100 /var/www/vhosts/worthavegroup.com/html/pub/index.php(29): Magento\Framework\App\Bootstrap->run() #101 {main}