1 exception(s): Exception #0 (Exception): Warning: array_rand(): Array is empty in /home/rightgift/public_html/app/design/frontend/Codazon/fastest/hightech/Magento_Catalog/templates/product/similarProducts.phtml on line 351 Exception #0 (Exception): Warning: array_rand(): Array is empty in /home/rightgift/public_html/app/design/frontend/Codazon/fastest/hightech/Magento_Catalog/templates/product/similarProducts.phtml on line 351
#1 array_rand(array()) called at [app/design/frontend/Codazon/fastest/hightech/Magento_Catalog/templates/product/similarProducts.phtml:351] #2 include('/home/rightgift/...') called at [vendor/magento/framework/View/TemplateEngine/Php.php:59] #3 Magento\Framework\View\TemplateEngine\Php->render(&Magento\Catalog\Block\Product\View\Attributes#000000004b78d357000000005938165c#, '/home/rightgift/...', array('escaper' => &Magento\Framework\Escaper#000000004b78db1e000000005938165c#)) called at [vendor/magento/framework/Interception/Interceptor.php:60] #4 Magento\Framework\View\TemplateEngine\Php\Interceptor->___callParent('render', array(&Magento\Catalog\Block\Product\View\Attributes#000000004b78d357000000005938165c#, '/home/rightgift/...', array('escaper' => &Magento\Framework\Escaper#000000004b78db1e000000005938165c#))) called at [vendor/magento/framework/Interception/Interceptor.php:201] #5 Magento\Framework\View\TemplateEngine\Php\Interceptor->Magento\Framework\Interception\{closure}(&Magento\Catalog\Block\Product\View\Attributes#000000004b78d357000000005938165c#, '/home/rightgift/...', array()) called at [vendor/magento/framework/Interception/Interceptor.php:216] #6 Magento\Framework\View\TemplateEngine\Php\Interceptor->___callPlugins('render', array(&Magento\Catalog\Block\Product\View\Attributes#000000004b78d357000000005938165c#, '/home/rightgift/...', array()), array(array('Amasty_Base::Add...'))) called at [generated/code/Magento/Framework/View/TemplateEngine/Php/Interceptor.php:26] #7 Magento\Framework\View\TemplateEngine\Php\Interceptor->render(&Magento\Catalog\Block\Product\View\Attributes#000000004b78d357000000005938165c#, '/home/rightgift/...', array()) called at [vendor/magento/framework/View/Element/Template.php:271] #8 Magento\Framework\View\Element\Template->fetchView('/home/rightgift/...') called at [vendor/magento/framework/View/Element/Template.php:301] #9 Magento\Framework\View\Element\Template->_toHtml() called at [vendor/magento/framework/View/Element/AbstractBlock.php:1100] #10 Magento\Framework\View\Element\AbstractBlock->Magento\Framework\View\Element\{closure}() called at [vendor/magento/framework/View/Element/AbstractBlock.php:1104] #11 Magento\Framework\View\Element\AbstractBlock->_loadCache() called at [vendor/magento/framework/View/Element/AbstractBlock.php:674] #12 Magento\Framework\View\Element\AbstractBlock->toHtml() called at [vendor/magento/framework/View/Layout.php:566] #13 Magento\Framework\View\Layout->_renderBlock('similar.products') called at [vendor/magento/framework/View/Layout.php:542] #14 Magento\Framework\View\Layout->renderNonCachedElement('similar.products') called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:206] #15 Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('similar.products') called at [vendor/magento/framework/View/Layout.php:497] #16 Magento\Framework\View\Layout->renderElement('similar.products', false) called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:193] #17 Magento\Framework\View\Layout\Interceptor->renderElement('similar.products', false) called at [vendor/magento/framework/View/Layout.php:594] #18 Magento\Framework\View\Layout->_renderContainer('content', false) called at [vendor/magento/framework/View/Layout.php:544] #19 Magento\Framework\View\Layout->renderNonCachedElement('content') called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:206] #20 Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('content') called at [vendor/magento/framework/View/Layout.php:497] #21 Magento\Framework\View\Layout->renderElement('content', false) called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:193] #22 Magento\Framework\View\Layout\Interceptor->renderElement('content', false) called at [vendor/magento/framework/View/Layout.php:594] #23 Magento\Framework\View\Layout->_renderContainer('main', false) called at [vendor/magento/framework/View/Layout.php:544] #24 Magento\Framework\View\Layout->renderNonCachedElement('main') called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:206] #25 Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('main') called at [vendor/magento/framework/View/Layout.php:497] #26 Magento\Framework\View\Layout->renderElement('main', false) called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:193] #27 Magento\Framework\View\Layout\Interceptor->renderElement('main', false) called at [vendor/magento/framework/View/Layout.php:594] #28 Magento\Framework\View\Layout->_renderContainer('columns', false) called at [vendor/magento/framework/View/Layout.php:544] #29 Magento\Framework\View\Layout->renderNonCachedElement('columns') called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:206] #30 Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('columns') called at [vendor/magento/framework/View/Layout.php:497] #31 Magento\Framework\View\Layout->renderElement('columns', false) called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:193] #32 Magento\Framework\View\Layout\Interceptor->renderElement('columns', false) called at [vendor/magento/framework/View/Layout.php:594] #33 Magento\Framework\View\Layout->_renderContainer('main.content', false) called at [vendor/magento/framework/View/Layout.php:544] #34 Magento\Framework\View\Layout->renderNonCachedElement('main.content') called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:206] #35 Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('main.content') called at [vendor/magento/framework/View/Layout.php:497] #36 Magento\Framework\View\Layout->renderElement('main.content', false) called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:193] #37 Magento\Framework\View\Layout\Interceptor->renderElement('main.content', false) called at [vendor/magento/framework/View/Layout.php:594] #38 Magento\Framework\View\Layout->_renderContainer('page.wrapper', false) called at [vendor/magento/framework/View/Layout.php:544] #39 Magento\Framework\View\Layout->renderNonCachedElement('page.wrapper') called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:206] #40 Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('page.wrapper') called at [vendor/magento/framework/View/Layout.php:497] #41 Magento\Framework\View\Layout->renderElement('page.wrapper', false) called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:193] #42 Magento\Framework\View\Layout\Interceptor->renderElement('page.wrapper', false) called at [vendor/magento/framework/View/Layout.php:594] #43 Magento\Framework\View\Layout->_renderContainer('root', false) called at [vendor/magento/framework/View/Layout.php:544] #44 Magento\Framework\View\Layout->renderNonCachedElement('root') called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:206] #45 Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('root') called at [vendor/magento/framework/View/Layout.php:497] #46 Magento\Framework\View\Layout->renderElement('root', true) called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:193] #47 Magento\Framework\View\Layout\Interceptor->renderElement('root') called at [vendor/magento/framework/View/Layout.php:963] #48 Magento\Framework\View\Layout->getOutput() called at [vendor/magento/framework/Interception/Interceptor.php:60] #49 Magento\Framework\View\Layout\Interceptor->___callParent('getOutput', array()) called at [vendor/magento/framework/Interception/Interceptor.php:201] #50 Magento\Framework\View\Layout\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor/magento/framework/Interception/Interceptor.php:216] #51 Magento\Framework\View\Layout\Interceptor->___callPlugins('getOutput', array(), array(array('layout-model-cac...'))) called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:494] #52 Magento\Framework\View\Layout\Interceptor->getOutput() called at [vendor/magento/framework/View/Result/Page.php:258] #53 Magento\Framework\View\Result\Page->render(&Magento\Framework\App\Response\Http\Interceptor#000000004b78dabd000000005938165c#) called at [vendor/magento/framework/View/Result/Layout.php:171] #54 Magento\Framework\View\Result\Layout->renderResult(&Magento\Framework\App\Response\Http\Interceptor#000000004b78dabd000000005938165c#) called at [vendor/magento/framework/Interception/Interceptor.php:60] #55 Magento\Framework\View\Result\Page\Interceptor->___callParent('renderResult', array(&Magento\Framework\App\Response\Http\Interceptor#000000004b78dabd000000005938165c#)) called at [vendor/magento/framework/Interception/Interceptor.php:201] #56 Magento\Framework\View\Result\Page\Interceptor->Magento\Framework\Interception\{closure}(&Magento\Framework\App\Response\Http\Interceptor#000000004b78dabd000000005938165c#) called at [app/code/Amasty/PageSpeedOptimizer/Plugin/ProcessPageResult.php:40] #57 Amasty\PageSpeedOptimizer\Plugin\ProcessPageResult->aroundRenderResult(&Magento\Framework\View\Result\Page\Interceptor#000000004b78de59000000005938165c#, &Closure#000000004b78db03000000005938165c#, &Magento\Framework\App\Response\Http\Interceptor#000000004b78dabd000000005938165c#) called at [vendor/magento/framework/Interception/Interceptor.php:198] #58 Magento\Framework\View\Result\Page\Interceptor->Magento\Framework\Interception\{closure}(&Magento\Framework\App\Response\Http\Interceptor#000000004b78dabd000000005938165c#) called at [vendor/magento/framework/Interception/Interceptor.php:216] #59 Magento\Framework\View\Result\Page\Interceptor->___callPlugins('renderResult', array(&Magento\Framework\App\Response\Http\Interceptor#000000004b78dabd000000005938165c#), NULL) called at [generated/code/Magento/Framework/View/Result/Page/Interceptor.php:130] #60 Magento\Framework\View\Result\Page\Interceptor->renderResult(&Magento\Framework\App\Response\Http\Interceptor#000000004b78dabd000000005938165c#) called at [vendor/magento/framework/App/Http.php:120] #61 Magento\Framework\App\Http->launch() called at [generated/code/Magento/Framework/App/Http/Interceptor.php:24] #62 Magento\Framework\App\Http\Interceptor->launch() called at [vendor/magento/framework/App/Bootstrap.php:261] #63 Magento\Framework\App\Bootstrap->run(&Magento\Framework\App\Http\Interceptor#000000004b78daa4000000005938165c#) called at [index.php:39]