( ! ) Fatal error: Uncaught TypeError: Argument 1 passed to Magento\Catalog\Model\ResourceModel\Product\Collection::getEntityPkName() must be an instance of Magento\Eav\Model\Entity\AbstractEntity, instance of Magento\Catalog\Model\ResourceModel\Product\Flat given, called in /Library/Server/Web/Data/Sites/ifoundbug.com/vendor/magento/module-eav/Model/Entity/Collection/AbstractCollection.php on line 1369 and defined in /Library/Server/Web/Data/Sites/ifoundbug.com/vendor/magento/module-catalog/Model/ResourceModel/Product/Collection.php on line 1532
( ! ) TypeError: Argument 1 passed to Magento\Catalog\Model\ResourceModel\Product\Collection::getEntityPkName() must be an instance of Magento\Eav\Model\Entity\AbstractEntity, instance of Magento\Catalog\Model\ResourceModel\Product\Flat given, called in /Library/Server/Web/Data/Sites/ifoundbug.com/vendor/magento/module-eav/Model/Entity/Collection/AbstractCollection.php on line 1369 in /Library/Server/Web/Data/Sites/ifoundbug.com/vendor/magento/module-catalog/Model/ResourceModel/Product/Collection.php on line 1532
Call Stack
#TimeMemoryFunctionLocation
10.0001367488{main}( ).../index.php:0
20.07577065936Magento\Framework\App\Bootstrap->run( ).../index.php:39
30.07657105616Magento\Framework\App\Http->launch( ).../Bootstrap.php:258
40.146812723840Magento\Framework\App\FrontController\Interceptor->dispatch( ).../Http.php:135
50.148012742192Magento\Framework\App\FrontController\Interceptor->___callPlugins( ).../Interceptor.php:26
60.150112830064Magento\PageCache\Model\App\FrontController\BuiltinPlugin->aroundDispatch( ).../Interceptor.php:142
70.152912981536Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}( ).../BuiltinPlugin.php:73
80.152912981912Magento\Framework\Interception\Chain\Chain->invokeNext( ).../Interceptor.php:138
90.153112984760Magento\PageCache\Model\App\FrontController\VarnishPlugin->aroundDispatch( ).../Chain.php:67
100.153112984760Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain\{closure}( ).../VarnishPlugin.php:55
110.153112985136Magento\Framework\Interception\Chain\Chain->invokeNext( ).../Chain.php:63
120.154213030144Magento\Framework\Module\Plugin\DbStatusValidator->aroundDispatch( ).../Chain.php:67
130.154313030144Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain\{closure}( ).../DbStatusValidator.php:69
140.154313030520Magento\Framework\Interception\Chain\Chain->invokeNext( ).../Chain.php:63
150.154713037336Magento\Store\App\FrontController\Plugin\RequestPreprocessor->aroundDispatch( ).../Chain.php:67
160.156913079976Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain\{closure}( ).../RequestPreprocessor.php:94
170.156913080352Magento\Framework\Interception\Chain\Chain->invokeNext( ).../Chain.php:63
180.156913080392Magento\Framework\App\FrontController\Interceptor->___callParent( ).../Chain.php:70
190.156913080392Magento\Framework\App\FrontController->dispatch( ).../Interceptor.php:74
200.266717519344Vsourz\HtmlSitemap\Controller\Index\Index\Interceptor->dispatch( ).../FrontController.php:55
210.268217682544Vsourz\HtmlSitemap\Controller\Index\Index\Interceptor->___callPlugins( ).../Interceptor.php:39
220.357924679728Magento\Tax\Model\App\Action\ContextPlugin->aroundDispatch( ).../Interceptor.php:142
230.358024679728Vsourz\HtmlSitemap\Controller\Index\Index\Interceptor->Magento\Framework\Interception\{closure}( ).../ContextPlugin.php:91
240.358024680104Magento\Framework\Interception\Chain\Chain->invokeNext( ).../Interceptor.php:138
250.368525820880Magento\Weee\Model\App\Action\ContextPlugin->aroundDispatch( ).../Chain.php:67
260.368525820880Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain\{closure}( ).../ContextPlugin.php:112
270.368525821256Magento\Framework\Interception\Chain\Chain->invokeNext( ).../Chain.php:63
280.368625823256Magento\Store\App\Action\Plugin\StoreCheck->aroundDispatch( ).../Chain.php:67
290.368625823256Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain\{closure}( ).../StoreCheck.php:44
300.368625823632Magento\Framework\Interception\Chain\Chain->invokeNext( ).../Chain.php:63
310.368725826072Magento\Customer\Model\App\Action\ContextPlugin->aroundDispatch( ).../Chain.php:67
320.369125849760Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain\{closure}( ).../ContextPlugin.php:61
330.369125850136Magento\Framework\Interception\Chain\Chain->invokeNext( ).../Chain.php:63
340.369325853872Magento\Store\App\Action\Plugin\Context->aroundDispatch( ).../Chain.php:67
350.385426401552Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain\{closure}( ).../Context.php:106
360.385426401928Magento\Framework\Interception\Chain\Chain->invokeNext( ).../Chain.php:63
370.431526910936Vsourz\HtmlSitemap\Controller\Index\Index\Interceptor->___callParent( ).../Chain.php:70
380.431526910936Vsourz\HtmlSitemap\Controller\Index->dispatch( ).../Interceptor.php:74
390.431526910936Magento\Framework\App\Action\Action->dispatch( ).../Index.php:69
400.453628014144Vsourz\HtmlSitemap\Controller\Index\Index\Interceptor->execute( ).../Action.php:102
410.453728014144Vsourz\HtmlSitemap\Controller\Index\Index->execute( ).../Interceptor.php:24
420.750938291808Magento\Framework\App\View->renderLayout( ).../Index.php:19
430.778138406568Magento\Framework\View\Result\Page\Interceptor->renderResult( ).../View.php:221
440.778138406944Magento\Framework\View\Result\Page\Interceptor->___callPlugins( ).../Interceptor.php:130
450.778338410288Magento\PageCache\Model\Controller\Result\BuiltinPlugin->aroundRenderResult( ).../Interceptor.php:142
460.778338410288Magento\Framework\View\Result\Page\Interceptor->Magento\Framework\Interception\{closure}( ).../BuiltinPlugin.php:67
470.778338410664Magento\Framework\Interception\Chain\Chain->invokeNext( ).../Interceptor.php:138
480.778438414056Magento\PageCache\Model\Controller\Result\VarnishPlugin->aroundRenderResult( ).../Chain.php:67
490.778438414056Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain\{closure}( ).../VarnishPlugin.php:74
500.778438414432Magento\Framework\Interception\Chain\Chain->invokeNext( ).../Chain.php:63
510.778438414472Magento\Framework\View\Result\Page\Interceptor->___callParent( ).../Chain.php:70
520.778438414472Magento\Framework\View\Result\Layout->renderResult( ).../Interceptor.php:74
530.778438414472Magento\Framework\View\Result\Page->render( ).../Layout.php:164
540.785338649664Magento\Framework\View\Layout\Interceptor->getOutput( ).../Page.php:243
550.785338649720Magento\Framework\View\Layout\Interceptor->___callPlugins( ).../Interceptor.php:494
560.785338649760Magento\Framework\View\Layout->getOutput( ).../Interceptor.php:146
570.785338649760Magento\Framework\View\Layout\Interceptor->renderElement( ).../Layout.php:938
580.785338649760Magento\Framework\View\Layout->renderElement( ).../Interceptor.php:193
590.785338649760Magento\Framework\View\Layout\Interceptor->renderNonCachedElement( ).../Layout.php:472
600.785338649760Magento\Framework\View\Layout->renderNonCachedElement( ).../Interceptor.php:206
610.785338649760Magento\Framework\View\Layout->_renderContainer( ).../Layout.php:520
620.802138719608Magento\Framework\View\Layout\Interceptor->renderElement( ).../Layout.php:569
630.802138719608Magento\Framework\View\Layout->renderElement( ).../Interceptor.php:193
640.802138719608Magento\Framework\View\Layout\Interceptor->renderNonCachedElement( ).../Layout.php:472
650.802138719608Magento\Framework\View\Layout->renderNonCachedElement( ).../Interceptor.php:206
660.802138719608Magento\Framework\View\Layout->_renderContainer( ).../Layout.php:520
670.991941177168Magento\Framework\View\Layout\Interceptor->renderElement( ).../Layout.php:569
680.991941177168Magento\Framework\View\Layout->renderElement( ).../Interceptor.php:193
690.991941177168Magento\Framework\View\Layout\Interceptor->renderNonCachedElement( ).../Layout.php:472
700.991941177168Magento\Framework\View\Layout->renderNonCachedElement( ).../Interceptor.php:206
710.992041177168Magento\Framework\View\Layout->_renderContainer( ).../Layout.php:520
720.996741191112Magento\Framework\View\Layout\Interceptor->renderElement( ).../Layout.php:569
730.996741191112Magento\Framework\View\Layout->renderElement( ).../Interceptor.php:193
740.996741191112Magento\Framework\View\Layout\Interceptor->renderNonCachedElement( ).../Layout.php:472
750.996741191112Magento\Framework\View\Layout->renderNonCachedElement( ).../Interceptor.php:206
760.996741191112Magento\Framework\View\Layout->_renderContainer( ).../Layout.php:520
770.996741191488Magento\Framework\View\Layout\Interceptor->renderElement( ).../Layout.php:569
780.996741191488Magento\Framework\View\Layout->renderElement( ).../Interceptor.php:193
790.996741191488Magento\Framework\View\Layout\Interceptor->renderNonCachedElement( ).../Layout.php:472
800.996841191488Magento\Framework\View\Layout->renderNonCachedElement( ).../Interceptor.php:206
810.996841191488Magento\Framework\View\Layout->_renderContainer( ).../Layout.php:520
821.007341209024Magento\Framework\View\Layout\Interceptor->renderElement( ).../Layout.php:569
831.007341209024Magento\Framework\View\Layout->renderElement( ).../Interceptor.php:193
841.007341209024Magento\Framework\View\Layout\Interceptor->renderNonCachedElement( ).../Layout.php:472
851.007341209024Magento\Framework\View\Layout->renderNonCachedElement( ).../Interceptor.php:206
861.007341209024Magento\Framework\View\Layout->_renderContainer( ).../Layout.php:520
871.073841686480Magento\Framework\View\Layout\Interceptor->renderElement( ).../Layout.php:569
881.073841686480Magento\Framework\View\Layout->renderElement( ).../Interceptor.php:193
891.073841686480Magento\Framework\View\Layout\Interceptor->renderNonCachedElement( ).../Layout.php:472
901.073841686480Magento\Framework\View\Layout->renderNonCachedElement( ).../Interceptor.php:206
911.073841686480Magento\Framework\View\Layout->_renderContainer( ).../Layout.php:520
921.073841686856Magento\Framework\View\Layout\Interceptor->renderElement( ).../Layout.php:569
931.073941686856Magento\Framework\View\Layout->renderElement( ).../Interceptor.php:193
941.073941686856Magento\Framework\View\Layout\Interceptor->renderNonCachedElement( ).../Layout.php:472
951.073941686856Magento\Framework\View\Layout->renderNonCachedElement( ).../Interceptor.php:206
961.073941686856Magento\Framework\View\Layout->_renderContainer( ).../Layout.php:520
971.073941687232Magento\Framework\View\Layout\Interceptor->renderElement( ).../Layout.php:569
981.073941687232Magento\Framework\View\Layout->renderElement( ).../Interceptor.php:193
991.073941687232Magento\Framework\View\Layout\Interceptor->renderNonCachedElement( ).../Layout.php:472
1001.073941687232Magento\Framework\View\Layout->renderNonCachedElement( ).../Interceptor.php:206
1011.073941687232Magento\Framework\View\Layout->_renderBlock( ).../Layout.php:518
1021.074041687232Magento\Framework\View\Element\AbstractBlock->toHtml( ).../Layout.php:542
1031.074041687280Magento\Framework\View\Element\Template->_toHtml( ).../AbstractBlock.php:659
1041.074541687600Magento\Framework\View\Element\Template->fetchView( ).../Template.php:279
1051.074641687872Magento\Framework\View\TemplateEngine\Php->render( ).../Template.php:255
1061.075041708456include( '/Library/Server/Web/Data/Sites/ifoundbug.com/vendor/vsourz/html-sitemap/view/frontend/templates/product/list-custom.phtml' ).../Php.php:59
1071.075341708456Vsourz\HtmlSitemap\Block\ProductsList->getProductsAllCollection( ).../list-custom.phtml:15
1081.076741718736Magento\Catalog\Model\ResourceModel\Product\Collection\Interceptor->addAttributeToFilter( ).../ProductsList.php:41
1091.076741718736Magento\Catalog\Model\ResourceModel\Product\Collection->addAttributeToFilter( ).../Interceptor.php:518
1101.076841718792Magento\Eav\Model\Entity\Collection\AbstractCollection->_getAttributeConditionSql( ).../Collection.php:1483
1111.076841718792Magento\Eav\Model\Entity\Collection\AbstractCollection->_addAttributeJoin( ).../AbstractCollection.php:1476
1121.076841718832Magento\Catalog\Model\ResourceModel\Product\Collection->getEntityPkName( ).../AbstractCollection.php:1369