( ! ) 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.0001367280{main}( ).../index.php:0
20.07407064640Magento\Framework\App\Bootstrap->run( ).../index.php:39
30.07477104320Magento\Framework\App\Http->launch( ).../Bootstrap.php:258
40.143812722544Magento\Framework\App\FrontController\Interceptor->dispatch( ).../Http.php:135
50.145012740896Magento\Framework\App\FrontController\Interceptor->___callPlugins( ).../Interceptor.php:26
60.147012828768Magento\PageCache\Model\App\FrontController\BuiltinPlugin->aroundDispatch( ).../Interceptor.php:142
70.148812980240Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}( ).../BuiltinPlugin.php:73
80.148812980616Magento\Framework\Interception\Chain\Chain->invokeNext( ).../Interceptor.php:138
90.148912983464Magento\PageCache\Model\App\FrontController\VarnishPlugin->aroundDispatch( ).../Chain.php:67
100.148912983464Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain\{closure}( ).../VarnishPlugin.php:55
110.148912983840Magento\Framework\Interception\Chain\Chain->invokeNext( ).../Chain.php:63
120.149913028848Magento\Framework\Module\Plugin\DbStatusValidator->aroundDispatch( ).../Chain.php:67
130.150013028848Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain\{closure}( ).../DbStatusValidator.php:69
140.150013029224Magento\Framework\Interception\Chain\Chain->invokeNext( ).../Chain.php:63
150.150313036040Magento\Store\App\FrontController\Plugin\RequestPreprocessor->aroundDispatch( ).../Chain.php:67
160.152313078680Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain\{closure}( ).../RequestPreprocessor.php:94
170.152313079056Magento\Framework\Interception\Chain\Chain->invokeNext( ).../Chain.php:63
180.152313079096Magento\Framework\App\FrontController\Interceptor->___callParent( ).../Chain.php:70
190.152313079096Magento\Framework\App\FrontController->dispatch( ).../Interceptor.php:74
200.224117518048Vsourz\HtmlSitemap\Controller\Index\Index\Interceptor->dispatch( ).../FrontController.php:55
210.225517681248Vsourz\HtmlSitemap\Controller\Index\Index\Interceptor->___callPlugins( ).../Interceptor.php:39
220.391624678432Magento\Tax\Model\App\Action\ContextPlugin->aroundDispatch( ).../Interceptor.php:142
230.391724678432Vsourz\HtmlSitemap\Controller\Index\Index\Interceptor->Magento\Framework\Interception\{closure}( ).../ContextPlugin.php:91
240.391724678808Magento\Framework\Interception\Chain\Chain->invokeNext( ).../Interceptor.php:138
250.465025819584Magento\Weee\Model\App\Action\ContextPlugin->aroundDispatch( ).../Chain.php:67
260.465125819584Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain\{closure}( ).../ContextPlugin.php:112
270.465125819960Magento\Framework\Interception\Chain\Chain->invokeNext( ).../Chain.php:63
280.465225821960Magento\Store\App\Action\Plugin\StoreCheck->aroundDispatch( ).../Chain.php:67
290.465225821960Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain\{closure}( ).../StoreCheck.php:44
300.465225822336Magento\Framework\Interception\Chain\Chain->invokeNext( ).../Chain.php:63
310.465425824776Magento\Customer\Model\App\Action\ContextPlugin->aroundDispatch( ).../Chain.php:67
320.466025848464Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain\{closure}( ).../ContextPlugin.php:61
330.466025848840Magento\Framework\Interception\Chain\Chain->invokeNext( ).../Chain.php:63
340.466325852576Magento\Store\App\Action\Plugin\Context->aroundDispatch( ).../Chain.php:67
350.539426400256Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain\{closure}( ).../Context.php:106
360.539426400632Magento\Framework\Interception\Chain\Chain->invokeNext( ).../Chain.php:63
370.685226909640Vsourz\HtmlSitemap\Controller\Index\Index\Interceptor->___callParent( ).../Chain.php:70
380.685226909640Vsourz\HtmlSitemap\Controller\Index->dispatch( ).../Interceptor.php:74
390.685326909640Magento\Framework\App\Action\Action->dispatch( ).../Index.php:69
400.739228012848Vsourz\HtmlSitemap\Controller\Index\Index\Interceptor->execute( ).../Action.php:102
410.739228012848Vsourz\HtmlSitemap\Controller\Index\Index->execute( ).../Interceptor.php:24
421.378938290512Magento\Framework\App\View->renderLayout( ).../Index.php:19
431.542738405272Magento\Framework\View\Result\Page\Interceptor->renderResult( ).../View.php:221
441.542738405648Magento\Framework\View\Result\Page\Interceptor->___callPlugins( ).../Interceptor.php:130
451.543038408992Magento\PageCache\Model\Controller\Result\BuiltinPlugin->aroundRenderResult( ).../Interceptor.php:142
461.543038408992Magento\Framework\View\Result\Page\Interceptor->Magento\Framework\Interception\{closure}( ).../BuiltinPlugin.php:67
471.543038409368Magento\Framework\Interception\Chain\Chain->invokeNext( ).../Interceptor.php:138
481.543338412760Magento\PageCache\Model\Controller\Result\VarnishPlugin->aroundRenderResult( ).../Chain.php:67
491.543338412760Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain\{closure}( ).../VarnishPlugin.php:74
501.543338413136Magento\Framework\Interception\Chain\Chain->invokeNext( ).../Chain.php:63
511.543338413176Magento\Framework\View\Result\Page\Interceptor->___callParent( ).../Chain.php:70
521.543338413176Magento\Framework\View\Result\Layout->renderResult( ).../Interceptor.php:74
531.543338413176Magento\Framework\View\Result\Page->render( ).../Layout.php:164
541.554438648368Magento\Framework\View\Layout\Interceptor->getOutput( ).../Page.php:243
551.554438648424Magento\Framework\View\Layout\Interceptor->___callPlugins( ).../Interceptor.php:494
561.554438648464Magento\Framework\View\Layout->getOutput( ).../Interceptor.php:146
571.554538648464Magento\Framework\View\Layout\Interceptor->renderElement( ).../Layout.php:938
581.554538648464Magento\Framework\View\Layout->renderElement( ).../Interceptor.php:193
591.554538648464Magento\Framework\View\Layout\Interceptor->renderNonCachedElement( ).../Layout.php:472
601.554538648464Magento\Framework\View\Layout->renderNonCachedElement( ).../Interceptor.php:206
611.554638648464Magento\Framework\View\Layout->_renderContainer( ).../Layout.php:520
621.582438718312Magento\Framework\View\Layout\Interceptor->renderElement( ).../Layout.php:569
631.582438718312Magento\Framework\View\Layout->renderElement( ).../Interceptor.php:193
641.582538718312Magento\Framework\View\Layout\Interceptor->renderNonCachedElement( ).../Layout.php:472
651.582538718312Magento\Framework\View\Layout->renderNonCachedElement( ).../Interceptor.php:206
661.582538718312Magento\Framework\View\Layout->_renderContainer( ).../Layout.php:520
672.574641175872Magento\Framework\View\Layout\Interceptor->renderElement( ).../Layout.php:569
682.574741175872Magento\Framework\View\Layout->renderElement( ).../Interceptor.php:193
692.574741175872Magento\Framework\View\Layout\Interceptor->renderNonCachedElement( ).../Layout.php:472
702.574741175872Magento\Framework\View\Layout->renderNonCachedElement( ).../Interceptor.php:206
712.574741175872Magento\Framework\View\Layout->_renderContainer( ).../Layout.php:520
722.640641189816Magento\Framework\View\Layout\Interceptor->renderElement( ).../Layout.php:569
732.640641189816Magento\Framework\View\Layout->renderElement( ).../Interceptor.php:193
742.640641189816Magento\Framework\View\Layout\Interceptor->renderNonCachedElement( ).../Layout.php:472
752.640641189816Magento\Framework\View\Layout->renderNonCachedElement( ).../Interceptor.php:206
762.640741189816Magento\Framework\View\Layout->_renderContainer( ).../Layout.php:520
772.640741190192Magento\Framework\View\Layout\Interceptor->renderElement( ).../Layout.php:569
782.640741190192Magento\Framework\View\Layout->renderElement( ).../Interceptor.php:193
792.640741190192Magento\Framework\View\Layout\Interceptor->renderNonCachedElement( ).../Layout.php:472
802.640741190192Magento\Framework\View\Layout->renderNonCachedElement( ).../Interceptor.php:206
812.640841190192Magento\Framework\View\Layout->_renderContainer( ).../Layout.php:520
822.697841207728Magento\Framework\View\Layout\Interceptor->renderElement( ).../Layout.php:569
832.697841207728Magento\Framework\View\Layout->renderElement( ).../Interceptor.php:193
842.697841207728Magento\Framework\View\Layout\Interceptor->renderNonCachedElement( ).../Layout.php:472
852.697841207728Magento\Framework\View\Layout->renderNonCachedElement( ).../Interceptor.php:206
862.697941207728Magento\Framework\View\Layout->_renderContainer( ).../Layout.php:520
872.751841685184Magento\Framework\View\Layout\Interceptor->renderElement( ).../Layout.php:569
882.751941685184Magento\Framework\View\Layout->renderElement( ).../Interceptor.php:193
892.751941685184Magento\Framework\View\Layout\Interceptor->renderNonCachedElement( ).../Layout.php:472
902.751941685184Magento\Framework\View\Layout->renderNonCachedElement( ).../Interceptor.php:206
912.751941685184Magento\Framework\View\Layout->_renderContainer( ).../Layout.php:520
922.751941685560Magento\Framework\View\Layout\Interceptor->renderElement( ).../Layout.php:569
932.751941685560Magento\Framework\View\Layout->renderElement( ).../Interceptor.php:193
942.752041685560Magento\Framework\View\Layout\Interceptor->renderNonCachedElement( ).../Layout.php:472
952.752041685560Magento\Framework\View\Layout->renderNonCachedElement( ).../Interceptor.php:206
962.752041685560Magento\Framework\View\Layout->_renderContainer( ).../Layout.php:520
972.752041685936Magento\Framework\View\Layout\Interceptor->renderElement( ).../Layout.php:569
982.752041685936Magento\Framework\View\Layout->renderElement( ).../Interceptor.php:193
992.752041685936Magento\Framework\View\Layout\Interceptor->renderNonCachedElement( ).../Layout.php:472
1002.752041685936Magento\Framework\View\Layout->renderNonCachedElement( ).../Interceptor.php:206
1012.752141685936Magento\Framework\View\Layout->_renderBlock( ).../Layout.php:518
1022.752141685936Magento\Framework\View\Element\AbstractBlock->toHtml( ).../Layout.php:542
1032.752241685984Magento\Framework\View\Element\Template->_toHtml( ).../AbstractBlock.php:659
1042.752941686304Magento\Framework\View\Element\Template->fetchView( ).../Template.php:279
1052.753141686576Magento\Framework\View\TemplateEngine\Php->render( ).../Template.php:255
1062.753541707160include( '/Library/Server/Web/Data/Sites/ifoundbug.com/vendor/vsourz/html-sitemap/view/frontend/templates/product/list-custom.phtml' ).../Php.php:59
1072.754041707160Vsourz\HtmlSitemap\Block\ProductsList->getProductsAllCollection( ).../list-custom.phtml:15
1082.756441717440Magento\Catalog\Model\ResourceModel\Product\Collection\Interceptor->addAttributeToFilter( ).../ProductsList.php:41
1092.756441717440Magento\Catalog\Model\ResourceModel\Product\Collection->addAttributeToFilter( ).../Interceptor.php:518
1102.756441717496Magento\Eav\Model\Entity\Collection\AbstractCollection->_getAttributeConditionSql( ).../Collection.php:1483
1112.756541717496Magento\Eav\Model\Entity\Collection\AbstractCollection->_addAttributeJoin( ).../AbstractCollection.php:1476
1122.756541717536Magento\Catalog\Model\ResourceModel\Product\Collection->getEntityPkName( ).../AbstractCollection.php:1369