Exception: Warning: Invalid argument supplied for foreach() in /var/www/html/app/code/Modiseh/ProductList/Block/Product/DetailPage.php on line 303 in /var/www/html/vendor/magento/framework/App/ErrorHandler.php:61 Stack trace: #0 /var/www/html/app/code/Modiseh/ProductList/Block/Product/DetailPage.php(303): Magento\Framework\App\ErrorHandler->handler(2, 'Invalid argumen...', '/var/www/html/a...', 303, Array) #1 /var/www/html/app/design/frontend/Codazon/unlimited/netweb/Magento_Catalog/templates/product/detailpage.phtml(33): Modiseh\ProductList\Block\Product\DetailPage->getSupperAttribute(Array, Array) #2 /var/www/html/vendor/magento/framework/View/TemplateEngine/Php.php(59): include('/var/www/html/a...') #3 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\View\TemplateEngine\Php->render(Object(Modiseh\ProductList\Block\Product\DetailPage\Interceptor), '/var/www/html/a...', Array) #4 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\View\TemplateEngine\Php\Interceptor->___callParent('render', Array) #5 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\View\TemplateEngine\Php\Interceptor->Magento\Framework\Interception\{closure}(Object(Modiseh\ProductList\Block\Product\DetailPage\Interceptor), '/var/www/html/a...', Array) #6 /var/www/html/generated/code/Magento/Framework/View/TemplateEngine/Php/Interceptor.php(26): Magento\Framework\View\TemplateEngine\Php\Interceptor->___callPlugins('render', Array, Array) #7 /var/www/html/vendor/magento/framework/View/Element/Template.php(271): Magento\Framework\View\TemplateEngine\Php\Interceptor->render(Object(Modiseh\ProductList\Block\Product\DetailPage\Interceptor), '/var/www/html/a...', Array) #8 /var/www/html/vendor/magento/framework/View/Element/Template.php(301): Magento\Framework\View\Element\Template->fetchView('/var/www/html/a...') #9 /var/www/html/vendor/magento/framework/View/Element/AbstractBlock.php(1100): Magento\Framework\View\Element\Template->_toHtml() #10 /var/www/html/vendor/magento/framework/View/Element/AbstractBlock.php(1104): Magento\Framework\View\Element\AbstractBlock->Magento\Framework\View\Element\{closure}() #11 /var/www/html/vendor/magento/framework/View/Element/AbstractBlock.php(674): Magento\Framework\View\Element\AbstractBlock->_loadCache() #12 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\View\Element\AbstractBlock->toHtml() #13 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(138): Modiseh\ProductList\Block\Product\DetailPage\Interceptor->___callParent('toHtml', Array) #14 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(153): Modiseh\ProductList\Block\Product\DetailPage\Interceptor->Magento\Framework\Interception\{closure}() #15 /var/www/html/generated/code/Modiseh/ProductList/Block/Product/DetailPage/Interceptor.php(26): Modiseh\ProductList\Block\Product\DetailPage\Interceptor->___callPlugins('toHtml', Array, Array) #16 /var/www/html/vendor/magento/framework/View/Layout.php(566): Modiseh\ProductList\Block\Product\DetailPage\Interceptor->toHtml() #17 /var/www/html/vendor/magento/framework/View/Layout.php(542): Magento\Framework\View\Layout->_renderBlock('product.cache.d...') #18 /var/www/html/vendor/magento/framework/View/Layout.php(497): Magento\Framework\View\Layout->renderNonCachedElement('product.cache.d...') #19 /var/www/html/vendor/magento/framework/View/Layout.php(594): Magento\Framework\View\Layout->renderElement('product.cache.d...', false) #20 /var/www/html/vendor/magento/framework/View/Layout.php(544): Magento\Framework\View\Layout->_renderContainer('product.detail', false) #21 /var/www/html/vendor/magento/framework/View/Layout.php(497): Magento\Framework\View\Layout->renderNonCachedElement('product.detail') #22 /var/www/html/vendor/magento/framework/View/Layout.php(594): Magento\Framework\View\Layout->renderElement('product.detail', false) #23 /var/www/html/vendor/magento/framework/View/Layout.php(544): Magento\Framework\View\Layout->_renderContainer('main.content', false) #24 /var/www/html/vendor/magento/framework/View/Layout.php(497): Magento\Framework\View\Layout->renderNonCachedElement('main.content') #25 /var/www/html/vendor/magento/framework/View/Layout.php(594): Magento\Framework\View\Layout->renderElement('main.content', false) #26 /var/www/html/vendor/magento/framework/View/Layout.php(544): Magento\Framework\View\Layout->_renderContainer('page.wrapper', false) #27 /var/www/html/vendor/magento/framework/View/Layout.php(497): Magento\Framework\View\Layout->renderNonCachedElement('page.wrapper') #28 /var/www/html/vendor/magento/framework/View/Layout.php(594): Magento\Framework\View\Layout->renderElement('page.wrapper', false) #29 /var/www/html/vendor/magento/framework/View/Layout.php(544): Magento\Framework\View\Layout->_renderContainer('root', false) #30 /var/www/html/vendor/magento/framework/View/Layout.php(497): Magento\Framework\View\Layout->renderNonCachedElement('root') #31 /var/www/html/vendor/magento/framework/View/Layout.php(963): Magento\Framework\View\Layout->renderElement('root') #32 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\View\Layout->getOutput() #33 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\View\Layout\Interceptor->___callParent('getOutput', Array) #34 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\View\Layout\Interceptor->Magento\Framework\Interception\{closure}() #35 /var/www/html/generated/code/Magento/Framework/View/Layout/Interceptor.php(52): Magento\Framework\View\Layout\Interceptor->___callPlugins('getOutput', Array, Array) #36 /var/www/html/vendor/magento/framework/View/Result/Page.php(258): Magento\Framework\View\Layout\Interceptor->getOutput() #37 /var/www/html/vendor/magento/framework/View/Result/Layout.php(171): Magento\Framework\View\Result\Page->render(Object(Magento\Framework\App\Response\Http\Interceptor)) #38 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\View\Result\Layout->renderResult(Object(Magento\Framework\App\Response\Http\Interceptor)) #39 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\View\Result\Page\Interceptor->___callParent('renderResult', Array) #40 /var/www/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)) #41 /var/www/html/generated/code/Magento/Framework/View/Result/Page/Interceptor.php(26): Magento\Framework\View\Result\Page\Interceptor->___callPlugins('renderResult', Array, Array) #42 /var/www/html/vendor/magento/framework/App/Http.php(120): Magento\Framework\View\Result\Page\Interceptor->renderResult(Object(Magento\Framework\App\Response\Http\Interceptor)) #43 /var/www/html/vendor/magento/framework/App/Bootstrap.php(261): Magento\Framework\App\Http->launch() #44 /var/www/html/pub/index.php(39): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http\Interceptor)) #45 {main}