Magento 2.4.2-p1
Smartwave Porto theme
Amasty extensions
ShopperApproved app/software
ShopperApproved installed their software into my Magento 2 back on December 5th. Everything seemed to work until yesterday morning, when I ran these commands:
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy -f
php bin/magento cache:clean
php bin/magento cache:flush
php bin/magento indexer:reindex
Now, everytime you click on any of the categories, the following Error appears:
1 exception(s):
Exception #0 (MagentoFrameworkExceptionLocalizedException): Sorry, something went wrong. You can find out more in the error log.
Exception #0 (MagentoFrameworkExceptionLocalizedException): Sorry, something went wrong. You can find out more in the error log.
<pre>#1 MagentoFrameworkDataCollectionAbstractDb->_renderFilters() called at [app/code/Mageplaza/LayeredNavigation/Model/ResourceModel/Fulltext/Collection.php:565]
#2 MageplazaLayeredNavigationModelResourceModelFulltextCollection->_renderFilters() called at [app/code/Mageplaza/LayeredNavigation/Model/ResourceModel/Fulltext/Collection.php:659]
#3 MageplazaLayeredNavigationModelResourceModelFulltextCollection->getFacetedData() called at [generated/code/Mageplaza/LayeredNavigation/Model/ResourceModel/Fulltext/Collection/Interceptor.php:167]
#4 MageplazaLayeredNavigationModelResourceModelFulltextCollectionInterceptor->getFacetedData() called at [app/code/Mageplaza/LayeredNavigation/Model/Layer/Filter/Category.php:230]
#5 MageplazaLayeredNavigationModelLayerFilterCategory->_getItemsData() called at [vendor/magento/module-catalog/Model/Layer/Filter/AbstractFilter.php:202]
#6 MagentoCatalogModelLayerFilterAbstractFilter->_initItems() called at [app/code/Mageplaza/LayeredNavigation/Model/Layer/Filter/Category.php:209]
#7 MageplazaLayeredNavigationModelLayerFilterCategory->_initItems() called at [vendor/magento/module-catalog/Model/Layer/Filter/AbstractFilter.php:159]
#8 MagentoCatalogModelLayerFilterAbstractFilter->getItems() called at [vendor/magento/module-catalog/Model/Layer/Filter/AbstractFilter.php:148]
#9 MagentoCatalogModelLayerFilterAbstractFilter->getItemsCount() called at [vendor/magento/module-catalog/Model/Layer/Category/AvailabilityFlag.php:33]
#10 MagentoCatalogModelLayerCategoryAvailabilityFlag->canShowOptions() called at [vendor/magento/module-catalog/Model/Layer/Category/AvailabilityFlag.php:23]
#11 MagentoCatalogModelLayerCategoryAvailabilityFlag->isEnabled() called at [vendor/magento/module-layered-navigation/Block/Navigation.php:126]
#12 MagentoLayeredNavigationBlockNavigation->canShowBlock() called at [app/code/Mageplaza/LayeredNavigation/view/frontend/templates/layer/view.phtml:22]
#13 include() called at [vendor/magento/framework/View/TemplateEngine/Php.php:71]
#14 MagentoFrameworkViewTemplateEnginePhp->render() called at [vendor/magento/framework/Interception/Interceptor.php:64]
#15 MagentoFrameworkViewTemplateEnginePhpInterceptor->___callParent() called at [vendor/magento/framework/Interception/Interceptor.php:153]
#16 MagentoFrameworkViewTemplateEnginePhpInterceptor->MagentoFrameworkInterception{closure}() called at [vendor/magento/framework/Interception/Interceptor.php:168]
#17 MagentoFrameworkViewTemplateEnginePhpInterceptor->___callPlugins() called at [generated/code/Magento/Framework/View/TemplateEngine/Php/Interceptor.php:23]
#18 MagentoFrameworkViewTemplateEnginePhpInterceptor->render() called at [vendor/magento/framework/View/Element/Template.php:273]
#19 MagentoFrameworkViewElementTemplate->fetchView() called at [vendor/magento/framework/View/Element/Template.php:303]
#20 MagentoFrameworkViewElementTemplate->_toHtml() called at [vendor/magento/framework/View/Element/AbstractBlock.php:1111]
#21 MagentoFrameworkViewElementAbstractBlock->MagentoFrameworkViewElement{closure}() called at [vendor/magento/framework/View/Element/AbstractBlock.php:1115]
#22 MagentoFrameworkViewElementAbstractBlock->_loadCache() called at [vendor/magento/framework/View/Element/AbstractBlock.php:675]
#23 MagentoFrameworkViewElementAbstractBlock->toHtml() called at [vendor/magento/framework/View/Layout.php:578]
#24 MagentoFrameworkViewLayout->_renderBlock() called at [vendor/magento/framework/View/Layout.php:555]
#25 MagentoFrameworkViewLayout->renderNonCachedElement() called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:149]
#26 MagentoFrameworkViewLayoutInterceptor->renderNonCachedElement() called at [vendor/magento/framework/View/Layout.php:510]
#27 MagentoFrameworkViewLayout->renderElement() called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:140]
#28 MagentoFrameworkViewLayoutInterceptor->renderElement() called at [vendor/magento/framework/View/Element/AbstractBlock.php:526]
#29 MagentoFrameworkViewElementAbstractBlock->getChildHtml() called at [app/code/Mageplaza/AjaxLayer/view/frontend/templates/layer.phtml:24]
#30 include() called at [vendor/magento/framework/View/TemplateEngine/Php.php:71]
#31 MagentoFrameworkViewTemplateEnginePhp->render() called at [vendor/magento/framework/Interception/Interceptor.php:64]
#32 MagentoFrameworkViewTemplateEnginePhpInterceptor->___callParent() called at [vendor/magento/framework/Interception/Interceptor.php:153]
#33 MagentoFrameworkViewTemplateEnginePhpInterceptor->MagentoFrameworkInterception{closure}() called at [vendor/magento/framework/Interception/Interceptor.php:168]
#34 MagentoFrameworkViewTemplateEnginePhpInterceptor->___callPlugins() called at [generated/code/Magento/Framework/View/TemplateEngine/Php/Interceptor.php:23]
#35 MagentoFrameworkViewTemplateEnginePhpInterceptor->render() called at [vendor/magento/framework/View/Element/Template.php:273]
#36 MagentoFrameworkViewElementTemplate->fetchView() called at [vendor/magento/framework/View/Element/Template.php:303]
#37 MagentoFrameworkViewElementTemplate->_toHtml() called at [vendor/magento/framework/View/Element/AbstractBlock.php:1111]
#38 MagentoFrameworkViewElementAbstractBlock->MagentoFrameworkViewElement{closure}() called at [vendor/magento/framework/View/Element/AbstractBlock.php:1115]
#39 MagentoFrameworkViewElementAbstractBlock->_loadCache() called at [vendor/magento/framework/View/Element/AbstractBlock.php:675]
#40 MagentoFrameworkViewElementAbstractBlock->toHtml() called at [vendor/magento/framework/View/Layout.php:578]
#41 MagentoFrameworkViewLayout->_renderBlock() called at [vendor/magento/framework/View/Layout.php:555]
#42 MagentoFrameworkViewLayout->renderNonCachedElement() called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:149]
#43 MagentoFrameworkViewLayoutInterceptor->renderNonCachedElement() called at [vendor/magento/framework/View/Layout.php:510]
#44 MagentoFrameworkViewLayout->renderElement() called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:140]
#45 MagentoFrameworkViewLayoutInterceptor->renderElement() called at [vendor/magento/framework/View/Layout.php:606]
#46 MagentoFrameworkViewLayout->_renderContainer() called at [vendor/magento/framework/View/Layout.php:557]
#47 MagentoFrameworkViewLayout->renderNonCachedElement() called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:149]
#48 MagentoFrameworkViewLayoutInterceptor->renderNonCachedElement() called at [vendor/magento/framework/View/Layout.php:510]
#49 MagentoFrameworkViewLayout->renderElement() called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:140]
#50 MagentoFrameworkViewLayoutInterceptor->renderElement() called at [vendor/magento/framework/View/Layout.php:606]
#51 MagentoFrameworkViewLayout->_renderContainer() called at [vendor/magento/framework/View/Layout.php:557]
#52 MagentoFrameworkViewLayout->renderNonCachedElement() called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:149]
#53 MagentoFrameworkViewLayoutInterceptor->renderNonCachedElement() called at [vendor/magento/framework/View/Layout.php:510]
#54 MagentoFrameworkViewLayout->renderElement() called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:140]
#55 MagentoFrameworkViewLayoutInterceptor->renderElement() called at [vendor/magento/framework/View/Layout.php:606]
#56 MagentoFrameworkViewLayout->_renderContainer() called at [vendor/magento/framework/View/Layout.php:557]
#57 MagentoFrameworkViewLayout->renderNonCachedElement() called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:149]
#58 MagentoFrameworkViewLayoutInterceptor->renderNonCachedElement() called at [vendor/magento/framework/View/Layout.php:510]
#59 MagentoFrameworkViewLayout->renderElement() called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:140]
#60 MagentoFrameworkViewLayoutInterceptor->renderElement() called at [vendor/magento/framework/View/Layout.php:606]
#61 MagentoFrameworkViewLayout->_renderContainer() called at [vendor/magento/framework/View/Layout.php:557]
#62 MagentoFrameworkViewLayout->renderNonCachedElement() called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:149]
#63 MagentoFrameworkViewLayoutInterceptor->renderNonCachedElement() called at [vendor/magento/framework/View/Layout.php:510]
#64 MagentoFrameworkViewLayout->renderElement() called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:140]
#65 MagentoFrameworkViewLayoutInterceptor->renderElement() called at [vendor/magento/framework/View/Layout.php:606]
#66 MagentoFrameworkViewLayout->_renderContainer() called at [vendor/magento/framework/View/Layout.php:557]
#67 MagentoFrameworkViewLayout->renderNonCachedElement() called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:149]
#68 MagentoFrameworkViewLayoutInterceptor->renderNonCachedElement() called at [vendor/magento/framework/View/Layout.php:510]
#69 MagentoFrameworkViewLayout->renderElement() called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:140]
#70 MagentoFrameworkViewLayoutInterceptor->renderElement() called at [vendor/magento/framework/View/Layout.php:606]
#71 MagentoFrameworkViewLayout->_renderContainer() called at [vendor/magento/framework/View/Layout.php:557]
#72 MagentoFrameworkViewLayout->renderNonCachedElement() called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:149]
#73 MagentoFrameworkViewLayoutInterceptor->renderNonCachedElement() called at [vendor/magento/framework/View/Layout.php:510]
#74 MagentoFrameworkViewLayout->renderElement() called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:140]
#75 MagentoFrameworkViewLayoutInterceptor->renderElement() called at [vendor/magento/framework/View/Layout.php:975]
#76 MagentoFrameworkViewLayout->getOutput() called at [vendor/magento/framework/Interception/Interceptor.php:64]
#77 MagentoFrameworkViewLayoutInterceptor->___callParent() called at [vendor/magento/framework/Interception/Interceptor.php:153]
#78 MagentoFrameworkViewLayoutInterceptor->MagentoFrameworkInterception{closure}() called at [vendor/magento/framework/Interception/Interceptor.php:168]
#79 MagentoFrameworkViewLayoutInterceptor->___callPlugins() called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:347]
#80 MagentoFrameworkViewLayoutInterceptor->getOutput() called at [vendor/magento/framework/View/Result/Page.php:258]
#81 MagentoFrameworkViewResultPage->render() called at [vendor/magento/framework/View/Result/Layout.php:171]
#82 MagentoFrameworkViewResultLayout->renderResult() called at [vendor/magento/framework/Interception/Interceptor.php:64]
#83 MagentoFrameworkViewResultPageInterceptor->___callParent() called at [vendor/magento/framework/Interception/Interceptor.php:153]
#84 MagentoFrameworkViewResultPageInterceptor->MagentoFrameworkInterception{closure}() called at [vendor/magento/framework/Interception/Interceptor.php:168]
#85 MagentoFrameworkViewResultPageInterceptor->___callPlugins() called at [generated/code/Magento/Framework/View/Result/Page/Interceptor.php:95]
#86 MagentoFrameworkViewResultPageInterceptor->renderResult() called at [vendor/magento/framework/App/Http.php:120]
#87 MagentoFrameworkAppHttp->launch() called at [generated/code/Magento/Framework/App/Http/Interceptor.php:23]
#88 MagentoFrameworkAppHttpInterceptor->launch() called at [vendor/magento/framework/App/Bootstrap.php:263]
#89 MagentoFrameworkAppBootstrap->run() called at [pub/index.php:29]
</pre>
According to my hosting company (who swear they didn’t change anything) – this indicates some kind of a conflict with my Smartwave Porto theme? I tried changing the theme to both Magento Luma and Magento Blank, but this does not resolve the problem.
My hosting company provided me with this Error they found in the logs:
[2023-12-11 20:16:43] main.INFO: Broken reference: the 'catalog.compare.sidebar' element cannot be added as child to 'sidebar.additional', because the latter doesn't exist [] []
[2023-12-11 20:16:43] main.INFO: Broken reference: the 'sale.reorder.sidebar' element cannot be added as child to 'sidebar.additional', becausethe latter doesn't exist [] []
[2023-12-11 20:16:43] main.INFO: Broken reference: the 'wishlist_sidebar' element cannot be added as child to 'sidebar.additional', because thelatter doesn't exist [] []
[2023-12-11 20:16:43] main.INFO: Broken reference: the 'yotpo_bottomline' element cannot be added as child to 'product.info.main', because the latter doesn't exist [] []
[2023-12-11 20:16:43] main.INFO: Broken reference: the 'sw.sidenav' element cannot be added as child to 'sidebar.main', because the latter doesn't exist [] []
[2023-12-11 20:16:43] main.INFO: Broken reference: the 'sidebar_second_block' element cannot be added as child to 'sidebar.second', because thelatter doesn't exist [] []
[2023-12-11 20:16:43] main.INFO: Broken reference: the 'paypal.partner.right.logo' element cannot be added as child to 'sidebar.additional', because the latter doesn't exist [] []
[2023-12-11 20:16:43] main.INFO: Broken reference: the 'bml.right.logo' element cannot be added as child to 'sidebar.additional', because the latter doesn't exist [] []
[2023-12-11 20:16:43] main.INFO: Broken reference: the 'category_view_custom_block' element cannot be added as child to 'sidebar.main', becausethe latter doesn't exist [] []
[2023-12-11 20:16:43] main.INFO: Broken reference: the 'catalog.leftnav' element cannot be added as child to 'sidebar.main', because the latterdoesn't exist [] []
[2023-12-11 20:16:43] main.INFO: Broken reference: the 'category_leftnav' element cannot be added as child to 'sidebar.main', because the latter doesn't exist [] []
I’ve asked ShopperApproved to fix this and they said they would look into it but it’s been 24 hours and no response as of yet. Is there anything I can do to make the categories work again? Restoring from a backup may no longer be a viable option as it’s been more than a week since they have actually done the work.
I’ve just tried to update a random category AFTER setting a category Anchor to YES and SAVE, and I get the following Error:
Argument 1 passed to MagentoCatalogModelCategoryFileInfo::removeStorePath() must be of the type string, array given, called in /home/MYSTORE/public_html/vendor/magento/module-catalog/Model/Category/FileInfo.php on line 167
Exception in /home/MYSTORE/public_html/vendor/magento/module-catalog/Model/Category/FileInfo.php:208
UPDATED on December 12th, 2023:
ShopperApproved came back with the following:
My developer looked this over, and found the cause of the errors.
Looks like it’s a Mageplaza plugin/extension issue particularly on Layered Navigation / Search Feature.
This was not related to our code and we can’t address it for you, but that appears to be the cause.
Let me know if you have any other questions and we’d be happy to look again.
I have these 2 extentions from Mageplaza:
- Mageplaza Layered Navigation
- Mageplaza Search
We used to have the One-step checkout by Amazon but that is currently disabled. What are these extensions for? Do I need them or can I just uninstall them?