Error: Call to a member function getCategoryIds() on null in /var/www/html/app/code/Bss/GA4/Model/DataItem.php:413
Stack trace:
#0 /var/www/html/app/code/Bss/GA4/Model/DataItem.php(175): Bss\GA4\Model\DataItem->getProductBaseInfo(Object(Magento\Catalog\Model\Product\Interceptor))
#1 /var/www/html/app/code/Bss/GA4/Block/Product/ListProduct.php(118): Bss\GA4\Model\DataItem->renderItem(Object(Magento\Catalog\Model\Product\Interceptor), 6)
#2 /var/www/html/generated/code/Bss/GA4/Block/Product/ListProduct/Interceptor.php(32): Bss\GA4\Block\Product\ListProduct->getViewItemList(Object(Mageplaza\LayeredNavigation\Model\ResourceModel\Fulltext\Collection\Interceptor), 'Search results ...')
#3 /var/www/html/app/design/frontend/Beeative/Ari/Magento_Catalog/templates/product/list.phtml(236): Bss\GA4\Block\Product\ListProduct\Interceptor->getViewItemList(Object(Mageplaza\LayeredNavigation\Model\ResourceModel\Fulltext\Collection\Interceptor), 'Search results ...')
#4 /var/www/html/vendor/magento/framework/View/TemplateEngine/Php.php(71): include('/var/www/html/a...')
#5 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\View\TemplateEngine\Php->render(Object(Magento\Catalog\Block\Product\ListProduct\Interceptor), '/var/www/html/a...', Array)
#6 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\View\TemplateEngine\Php\Interceptor->___callParent('render', Array)
#7 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\View\TemplateEngine\Php\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Catalog\Block\Product\ListProduct\Interceptor), '/var/www/html/a...', Array)
#8 /var/www/html/generated/code/Magento/Framework/View/TemplateEngine/Php/Interceptor.php(23): Magento\Framework\View\TemplateEngine\Php\Interceptor->___callPlugins('render', Array, Array)
#9 /var/www/html/vendor/magento/framework/View/Element/Template.php(273): Magento\Framework\View\TemplateEngine\Php\Interceptor->render(Object(Magento\Catalog\Block\Product\ListProduct\Interceptor), '/var/www/html/a...', Array)
#10 /var/www/html/vendor/magento/framework/View/Element/Template.php(303): Magento\Framework\View\Element\Template->fetchView('/var/www/html/a...')
#11 /var/www/html/vendor/magento/framework/View/Element/AbstractBlock.php(1111): Magento\Framework\View\Element\Template->_toHtml()
#12 /var/www/html/vendor/magento/framework/View/Element/AbstractBlock.php(1115): Magento\Framework\View\Element\AbstractBlock->Magento\Framework\View\Element\{closure}()
#13 /var/www/html/vendor/magento/framework/View/Element/AbstractBlock.php(675): Magento\Framework\View\Element\AbstractBlock->_loadCache()
#14 /var/www/html/vendor/magento/framework/View/Layout.php(566): Magento\Framework\View\Element\AbstractBlock->toHtml()
#15 /var/www/html/vendor/magento/framework/View/Layout.php(542): Magento\Framework\View\Layout->_renderBlock('search_result_l...')
#16 /var/www/html/vendor/magento/framework/View/Layout.php(497): Magento\Framework\View\Layout->renderNonCachedElement('search_result_l...')
#17 /var/www/html/vendor/magento/framework/View/Element/AbstractBlock.php(522): Magento\Framework\View\Layout->renderElement('search_result_l...', true)
#18 /var/www/html/vendor/magento/module-catalog-search/Block/Result.php(171): Magento\Framework\View\Element\AbstractBlock->getChildHtml('search_result_l...')
#19 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(58): Magento\CatalogSearch\Block\Result->getProductListHtml()
#20 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(138): Magento\CatalogSearch\Block\Result\Interceptor->___callParent('getProductListH...', Array)
#21 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\CatalogSearch\Block\Result\Interceptor->Magento\Framework\Interception\{closure}()
#22 /var/www/html/generated/code/Magento/CatalogSearch/Block/Result/Interceptor.php(23): Magento\CatalogSearch\Block\Result\Interceptor->___callPlugins('getProductListH...', Array, Array)
#23 /var/www/html/app/design/frontend/Beeative/Ari/Magento_CatalogSearch/templates/result.phtml(8): Magento\CatalogSearch\Block\Result\Interceptor->getProductListHtml()
#24 /var/www/html/vendor/magento/framework/View/TemplateEngine/Php.php(71): include('/var/www/html/a...')
#25 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\View\TemplateEngine\Php->render(Object(Magento\CatalogSearch\Block\Result\Interceptor), '/var/www/html/a...', Array)
#26 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\View\TemplateEngine\Php\Interceptor->___callParent('render', Array)
#27 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\View\TemplateEngine\Php\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\CatalogSearch\Block\Result\Interceptor), '/var/www/html/a...', Array)
#28 /var/www/html/generated/code/Magento/Framework/View/TemplateEngine/Php/Interceptor.php(23): Magento\Framework\View\TemplateEngine\Php\Interceptor->___callPlugins('render', Array, Array)
#29 /var/www/html/vendor/magento/framework/View/Element/Template.php(273): Magento\Framework\View\TemplateEngine\Php\Interceptor->render(Object(Magento\CatalogSearch\Block\Result\Interceptor), '/var/www/html/a...', Array)
#30 /var/www/html/vendor/magento/framework/View/Element/Template.php(303): Magento\Framework\View\Element\Template->fetchView('/var/www/html/a...')
#31 /var/www/html/vendor/magento/framework/View/Element/AbstractBlock.php(1111): Magento\Framework\View\Element\Template->_toHtml()
#32 /var/www/html/vendor/magento/framework/View/Element/AbstractBlock.php(1115): Magento\Framework\View\Element\AbstractBlock->Magento\Framework\View\Element\{closure}()
#33 /var/www/html/vendor/magento/framework/View/Element/AbstractBlock.php(675): Magento\Framework\View\Element\AbstractBlock->_loadCache()
#34 /var/www/html/vendor/magento/framework/View/Layout.php(566): Magento\Framework\View\Element\AbstractBlock->toHtml()
#35 /var/www/html/vendor/magento/framework/View/Layout.php(542): Magento\Framework\View\Layout->_renderBlock('search.result')
#36 /var/www/html/vendor/magento/framework/View/Layout.php(497): Magento\Framework\View\Layout->renderNonCachedElement('search.result')
#37 /var/www/html/vendor/magento/framework/View/Element/AbstractBlock.php(526): Magento\Framework\View\Layout->renderElement('search.result', true)
#38 /var/www/html/app/code/Mageplaza/AjaxLayer/view/frontend/templates/products.phtml(24): Magento\Framework\View\Element\AbstractBlock->getChildHtml()
#39 /var/www/html/vendor/magento/framework/View/TemplateEngine/Php.php(71): include('/var/www/html/a...')
#40 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\View\TemplateEngine\Php->render(Object(Magento\Framework\View\Element\Template), '/var/www/html/a...', Array)
#41 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\View\TemplateEngine\Php\Interceptor->___callParent('render', Array)
#42 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\View\TemplateEngine\Php\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\View\Element\Template), '/var/www/html/a...', Array)
#43 /var/www/html/generated/code/Magento/Framework/View/TemplateEngine/Php/Interceptor.php(23): Magento\Framework\View\TemplateEngine\Php\Interceptor->___callPlugins('render', Array, Array)
#44 /var/www/html/vendor/magento/framework/View/Element/Template.php(273): Magento\Framework\View\TemplateEngine\Php\Interceptor->render(Object(Magento\Framework\View\Element\Template), '/var/www/html/a...', Array)
#45 /var/www/html/vendor/magento/framework/View/Element/Template.php(303): Magento\Framework\View\Element\Template->fetchView('/var/www/html/a...')
#46 /var/www/html/vendor/magento/framework/View/Element/AbstractBlock.php(1111): Magento\Framework\View\Element\Template->_toHtml()
#47 /var/www/html/vendor/magento/framework/View/Element/AbstractBlock.php(1115): Magento\Framework\View\Element\AbstractBlock->Magento\Framework\View\Element\{closure}()
#48 /var/www/html/vendor/magento/framework/View/Element/AbstractBlock.php(675): Magento\Framework\View\Element\AbstractBlock->_loadCache()
#49 /var/www/html/vendor/magento/framework/View/Layout.php(566): Magento\Framework\View\Element\AbstractBlock->toHtml()
#50 /var/www/html/vendor/magento/framework/View/Layout.php(542): Magento\Framework\View\Layout->_renderBlock('layer.category....')
#51 /var/www/html/vendor/magento/framework/View/Layout.php(497): Magento\Framework\View\Layout->renderNonCachedElement('layer.category....')
#52 /var/www/html/vendor/magento/framework/View/Layout.php(594): Magento\Framework\View\Layout->renderElement('layer.category....', false)
#53 /var/www/html/vendor/magento/framework/View/Layout.php(544): Magento\Framework\View\Layout->_renderContainer('content', false)
#54 /var/www/html/vendor/magento/framework/View/Layout.php(497): Magento\Framework\View\Layout->renderNonCachedElement('content')
#55 /var/www/html/vendor/magento/framework/View/Layout.php(594): Magento\Framework\View\Layout->renderElement('content', false)
#56 /var/www/html/vendor/magento/framework/View/Layout.php(544): Magento\Framework\View\Layout->_renderContainer('main', false)
#57 /var/www/html/vendor/magento/framework/View/Layout.php(497): Magento\Framework\View\Layout->renderNonCachedElement('main')
#58 /var/www/html/vendor/magento/framework/View/Layout.php(594): Magento\Framework\View\Layout->renderElement('main', false)
#59 /var/www/html/vendor/magento/framework/View/Layout.php(544): Magento\Framework\View\Layout->_renderContainer('columns', false)
#60 /var/www/html/vendor/magento/framework/View/Layout.php(497): Magento\Framework\View\Layout->renderNonCachedElement('columns')
#61 /var/www/html/vendor/magento/framework/View/Layout.php(594): Magento\Framework\View\Layout->renderElement('columns', false)
#62 /var/www/html/vendor/magento/framework/View/Layout.php(544): Magento\Framework\View\Layout->_renderContainer('main.content', false)
#63 /var/www/html/vendor/magento/framework/View/Layout.php(497): Magento\Framework\View\Layout->renderNonCachedElement('main.content')
#64 /var/www/html/vendor/magento/framework/View/Layout.php(594): Magento\Framework\View\Layout->renderElement('main.content', false)
#65 /var/www/html/vendor/magento/framework/View/Layout.php(544): Magento\Framework\View\Layout->_renderContainer('page.wrapper', false)
#66 /var/www/html/vendor/magento/framework/View/Layout.php(497): Magento\Framework\View\Layout->renderNonCachedElement('page.wrapper')
#67 /var/www/html/vendor/magento/framework/View/Layout.php(594): Magento\Framework\View\Layout->renderElement('page.wrapper', false)
#68 /var/www/html/vendor/magento/framework/View/Layout.php(544): Magento\Framework\View\Layout->_renderContainer('root', false)
#69 /var/www/html/vendor/magento/framework/View/Layout.php(497): Magento\Framework\View\Layout->renderNonCachedElement('root')
#70 /var/www/html/vendor/magento/framework/View/Layout.php(963): Magento\Framework\View\Layout->renderElement('root')
#71 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\View\Layout->getOutput()
#72 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\View\Layout\Interceptor->___callParent('getOutput', Array)
#73 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\View\Layout\Interceptor->Magento\Framework\Interception\{closure}()
#74 /var/www/html/generated/code/Magento/Framework/View/Layout/Interceptor.php(41): Magento\Framework\View\Layout\Interceptor->___callPlugins('getOutput', Array, Array)
#75 /var/www/html/vendor/magento/framework/View/Result/Page.php(258): Magento\Framework\View\Layout\Interceptor->getOutput()
#76 /var/www/html/vendor/magento/framework/View/Result/Layout.php(171): Magento\Framework\View\Result\Page->render(Object(Magento\Framework\App\Response\Http\Interceptor))
#77 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\View\Result\Layout->renderResult(Object(Magento\Framework\App\Response\Http\Interceptor))
#78 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\View\Result\Page\Interceptor->___callParent('renderResult', Array)
#79 /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))
#80 /var/www/html/generated/code/Magento/Framework/View/Result/Page/Interceptor.php(23): Magento\Framework\View\Result\Page\Interceptor->___callPlugins('renderResult', Array, Array)
#81 /var/www/html/vendor/magento/framework/App/View.php(221): Magento\Framework\View\Result\Page\Interceptor->renderResult(Object(Magento\Framework\App\Response\Http\Interceptor))
#82 /var/www/html/app/code/Mageplaza/AjaxLayer/Controller/Search/Result/Index.php(152): Magento\Framework\App\View->renderLayout()
#83 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(58): Mageplaza\AjaxLayer\Controller\Search\Result\Index->execute()
#84 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(138): Mageplaza\AjaxLayer\Controller\Search\Result\Index\Interceptor->___callParent('execute', Array)
#85 /var/www/html/vendor/magento/framework/App/Action/Plugin/ActionFlagNoDispatchPlugin.php(51): Mageplaza\AjaxLayer\Controller\Search\Result\Index\Interceptor->Magento\Framework\Interception\{closure}()
#86 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(135): Magento\Framework\App\Action\Plugin\ActionFlagNoDispatchPlugin->aroundExecute(Object(Mageplaza\AjaxLayer\Controller\Search\Result\Index\Interceptor), Object(Closure))
#87 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(153): Mageplaza\AjaxLayer\Controller\Search\Result\Index\Interceptor->Magento\Framework\Interception\{closure}()
#88 /var/www/html/generated/code/Mageplaza/AjaxLayer/Controller/Search/Result/Index/Interceptor.php(23): Mageplaza\AjaxLayer\Controller\Search\Result\Index\Interceptor->___callPlugins('execute', Array, Array)
#89 /var/www/html/vendor/magento/framework/App/Action/Action.php(111): Mageplaza\AjaxLayer\Controller\Search\Result\Index\Interceptor->execute()
#90 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\App\Action\Action->dispatch(Object(Magento\Framework\App\Request\Http))
#91 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(138): Mageplaza\AjaxLayer\Controller\Search\Result\Index\Interceptor->___callParent('dispatch', Array)
#92 /var/www/html/vendor/mgtcommerce/module-mgtdevelopertoolbar/src/app/code/Mgt/DeveloperToolbar/Model/App/FrontController/ToolbarPlugin.php(64): Mageplaza\AjaxLayer\Controller\Search\Result\Index\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Request\Http))
#93 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(135): Mgt\DeveloperToolbar\Model\App\FrontController\ToolbarPlugin->aroundDispatch(Object(Mageplaza\AjaxLayer\Controller\Search\Result\Index\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))
#94 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(153): Mageplaza\AjaxLayer\Controller\Search\Result\Index\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Request\Http))
#95 /var/www/html/generated/code/Mageplaza/AjaxLayer/Controller/Search/Result/Index/Interceptor.php(32): Mageplaza\AjaxLayer\Controller\Search\Result\Index\Interceptor->___callPlugins('dispatch', Array, Array)
#96 /var/www/html/vendor/magento/framework/App/FrontController.php(186): Mageplaza\AjaxLayer\Controller\Search\Result\Index\Interceptor->dispatch(Object(Magento\Framework\App\Request\Http))
#97 /var/www/html/vendor/magento/framework/App/FrontController.php(118): Magento\Framework\App\FrontController->processRequest(Object(Magento\Framework\App\Request\Http), Object(Mageplaza\AjaxLayer\Controller\Search\Result\Index\Interceptor))
#98 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\App\FrontController->dispatch(Object(Magento\Framework\App\Request\Http))
#99 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\App\FrontController\Interceptor->___callParent('dispatch', Array)
#100 /var/www/html/vendor/magento/module-store/App/FrontController/Plugin/RequestPreprocessor.php(99): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Request\Http))
#101 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(135): Magento\Store\App\FrontController\Plugin\RequestPreprocessor->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))
#102 /var/www/html/vendor/magento/module-page-cache/Model/App/FrontController/BuiltinPlugin.php(71): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Request\Http))
#103 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(135): Magento\PageCache\Model\App\FrontController\BuiltinPlugin->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))
#104 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Request\Http))
#105 /var/www/html/generated/code/Magento/Framework/App/FrontController/Interceptor.php(23): Magento\Framework\App\FrontController\Interceptor->___callPlugins('dispatch', Array, NULL)
#106 /var/www/html/vendor/magento/framework/App/Http.php(116): Magento\Framework\App\FrontController\Interceptor->dispatch(Object(Magento\Framework\App\Request\Http))
#107 /var/www/html/vendor/magento/framework/App/Bootstrap.php(263): Magento\Framework\App\Http->launch()
#108 /var/www/html/pub/index.php(40): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http\Interceptor))
#109 {main}