1 exception(s): Exception #0 (Exception): Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/vhosts/vcm_prd/vacuumspot.com.au/httpdocs/app/code/WeltPixel/GoogleTagManager/view/frontend/templates/search.phtml on line 7 Exception #0 (Exception): Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/vhosts/vcm_prd/vacuumspot.com.au/httpdocs/app/code/WeltPixel/GoogleTagManager/view/frontend/templates/search.phtml on line 7
#1 include() called at [vendor/magento/framework/View/TemplateEngine/Php.php:59] #2 Magento\Framework\View\TemplateEngine\Php->render() called at [vendor/magento/framework/View/Element/Template.php:271] #3 Magento\Framework\View\Element\Template->fetchView() called at [vendor/magento/framework/Interception/Interceptor.php:58] #4 WeltPixel\GoogleTagManager\Block\Search\Interceptor->___callParent() called at [vendor/magento/framework/Interception/Interceptor.php:138] #5 WeltPixel\GoogleTagManager\Block\Search\Interceptor->Magento\Framework\Interception\{closure}() called at [app/code/Manadev/Core/Plugins/ViewWithTemplate.php:33] #6 Manadev\Core\Plugins\ViewWithTemplate->aroundFetchView() called at [vendor/magento/framework/Interception/Interceptor.php:135] #7 WeltPixel\GoogleTagManager\Block\Search\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor/magento/framework/Interception/Interceptor.php:153] #8 WeltPixel\GoogleTagManager\Block\Search\Interceptor->___callPlugins() called at [generated/code/WeltPixel/GoogleTagManager/Block/Search/Interceptor.php:234] #9 WeltPixel\GoogleTagManager\Block\Search\Interceptor->fetchView() called at [vendor/magento/framework/View/Element/Template.php:301] #10 Magento\Framework\View\Element\Template->_toHtml() called at [vendor/magento/framework/View/Element/AbstractBlock.php:1094] #11 Magento\Framework\View\Element\AbstractBlock->Magento\Framework\View\Element\{closure}() called at [vendor/magento/framework/View/Element/AbstractBlock.php:1098] #12 Magento\Framework\View\Element\AbstractBlock->_loadCache() called at [vendor/magento/framework/View/Element/AbstractBlock.php:671] #13 Magento\Framework\View\Element\AbstractBlock->toHtml() called at [vendor/magento/framework/Interception/Interceptor.php:58] #14 WeltPixel\GoogleTagManager\Block\Search\Interceptor->___callParent() called at [vendor/magento/framework/Interception/Interceptor.php:138] #15 WeltPixel\GoogleTagManager\Block\Search\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor/magento/framework/Interception/Interceptor.php:153] #16 WeltPixel\GoogleTagManager\Block\Search\Interceptor->___callPlugins() called at [generated/code/WeltPixel/GoogleTagManager/Block/Search/Interceptor.php:559] #17 WeltPixel\GoogleTagManager\Block\Search\Interceptor->toHtml() called at [app/code/WeltPixel/GoogleTagManager/Helper/Data.php:334] #18 WeltPixel\GoogleTagManager\Helper\Data->addSearchResultPageInformation() called at [app/code/WeltPixel/GoogleTagManager/Helper/Data.php:239] #19 WeltPixel\GoogleTagManager\Helper\Data->getDataLayerScript() called at [app/code/WeltPixel/GoogleTagManager/Observer/CoreLayoutRenderElementObserver.php:40] #20 WeltPixel\GoogleTagManager\Observer\CoreLayoutRenderElementObserver->execute() called at [vendor/magento/framework/Event/Invoker/InvokerDefault.php:88] #21 Magento\Framework\Event\Invoker\InvokerDefault->_callObserverMethod() called at [vendor/magento/framework/Event/Invoker/InvokerDefault.php:74] #22 Magento\Framework\Event\Invoker\InvokerDefault->dispatch() called at [vendor/magento/framework/Event/Manager.php:66] #23 Magento\Framework\Event\Manager->dispatch() called at [generated/code/Magento/Framework/Event/Manager/Proxy.php:95] #24 Magento\Framework\Event\Manager\Proxy->dispatch() called at [vendor/magento/framework/View/Layout.php:496] #25 Magento\Framework\View\Layout->renderElement() called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:193] #26 Magento\Framework\View\Layout\Interceptor->renderElement() called at [vendor/magento/framework/View/Layout.php:585] #27 Magento\Framework\View\Layout->_renderContainer() called at [vendor/magento/framework/View/Layout.php:535] #28 Magento\Framework\View\Layout->renderNonCachedElement() called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:206] #29 Magento\Framework\View\Layout\Interceptor->renderNonCachedElement() called at [vendor/magento/framework/View/Layout.php:488] #30 Magento\Framework\View\Layout->renderElement() called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:193] #31 Magento\Framework\View\Layout\Interceptor->renderElement() called at [vendor/magento/framework/View/Layout.php:954] #32 Magento\Framework\View\Layout->getOutput() called at [vendor/magento/framework/Interception/Interceptor.php:58] #33 Magento\Framework\View\Layout\Interceptor->___callParent() called at [vendor/magento/framework/Interception/Interceptor.php:138] #34 Magento\Framework\View\Layout\Interceptor->Magento\Framework\Interception\{closure}() called at [app/code/Manadev/LayeredNavigationAjax/Plugins/LayoutPlugin.php:34] #35 Manadev\LayeredNavigationAjax\Plugins\LayoutPlugin->aroundGetOutput() called at [vendor/magento/framework/Interception/Interceptor.php:135] #36 Magento\Framework\View\Layout\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor/magento/framework/Interception/Interceptor.php:153] #37 Magento\Framework\View\Layout\Interceptor->___callPlugins() called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:494] #38 Magento\Framework\View\Layout\Interceptor->getOutput() called at [vendor/magento/framework/View/Result/Page.php:258] #39 Magento\Framework\View\Result\Page->render() called at [vendor/magento/framework/View/Result/Layout.php:171] #40 Magento\Framework\View\Result\Layout->renderResult() called at [vendor/magento/framework/Interception/Interceptor.php:58] #41 Magento\Framework\View\Result\Page\Interceptor->___callParent() called at [vendor/magento/framework/Interception/Interceptor.php:138] #42 Magento\Framework\View\Result\Page\Interceptor->Magento\Framework\Interception\{closure}() called at [app/code/Manadev/LayeredNavigationAjax/Plugins/LayoutResultPlugin.php:35] #43 Manadev\LayeredNavigationAjax\Plugins\LayoutResultPlugin->aroundRenderResult() called at [vendor/magento/framework/Interception/Interceptor.php:135] #44 Magento\Framework\View\Result\Page\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor/magento/framework/Interception/Interceptor.php:153] #45 Magento\Framework\View\Result\Page\Interceptor->___callPlugins() called at [generated/code/Magento/Framework/View/Result/Page/Interceptor.php:130] #46 Magento\Framework\View\Result\Page\Interceptor->renderResult() called at [vendor/magento/framework/App/Http.php:141] #47 Magento\Framework\App\Http->launch() called at [generated/code/Magento/Framework/App/Http/Interceptor.php:24] #48 Magento\Framework\App\Http\Interceptor->launch() called at [vendor/magento/framework/App/Bootstrap.php:261] #49 Magento\Framework\App\Bootstrap->run() called at [index.php:52]