( ! ) 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.08897065936Magento\Framework\App\Bootstrap->run( ).../index.php:39
30.08977105616Magento\Framework\App\Http->launch( ).../Bootstrap.php:258
40.163212723840Magento\Framework\App\FrontController\Interceptor->dispatch( ).../Http.php:135
50.164512742192Magento\Framework\App\FrontController\Interceptor->___callPlugins( ).../Interceptor.php:26
60.166812830064Magento\PageCache\Model\App\FrontController\BuiltinPlugin->aroundDispatch( ).../Interceptor.php:142
70.168712981536Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}( ).../BuiltinPlugin.php:73
80.168712981912Magento\Framework\Interception\Chain\Chain->invokeNext( ).../Interceptor.php:138
90.168812984760Magento\PageCache\Model\App\FrontController\VarnishPlugin->aroundDispatch( ).../Chain.php:67
100.168812984760Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain\{closure}( ).../VarnishPlugin.php:55
110.168812985136Magento\Framework\Interception\Chain\Chain->invokeNext( ).../Chain.php:63
120.169913030144Magento\Framework\Module\Plugin\DbStatusValidator->aroundDispatch( ).../Chain.php:67
130.170013030144Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain\{closure}( ).../DbStatusValidator.php:69
140.170013030520Magento\Framework\Interception\Chain\Chain->invokeNext( ).../Chain.php:63
150.170313037336Magento\Store\App\FrontController\Plugin\RequestPreprocessor->aroundDispatch( ).../Chain.php:67
160.172413079976Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain\{closure}( ).../RequestPreprocessor.php:94
170.172413080352Magento\Framework\Interception\Chain\Chain->invokeNext( ).../Chain.php:63
180.172413080392Magento\Framework\App\FrontController\Interceptor->___callParent( ).../Chain.php:70
190.172413080392Magento\Framework\App\FrontController->dispatch( ).../Interceptor.php:74
200.298717519344Vsourz\HtmlSitemap\Controller\Index\Index\Interceptor->dispatch( ).../FrontController.php:55
210.300317682544Vsourz\HtmlSitemap\Controller\Index\Index\Interceptor->___callPlugins( ).../Interceptor.php:39
220.387424679728Magento\Tax\Model\App\Action\ContextPlugin->aroundDispatch( ).../Interceptor.php:142
230.387424679728Vsourz\HtmlSitemap\Controller\Index\Index\Interceptor->Magento\Framework\Interception\{closure}( ).../ContextPlugin.php:91
240.387424680104Magento\Framework\Interception\Chain\Chain->invokeNext( ).../Interceptor.php:138
250.397325820880Magento\Weee\Model\App\Action\ContextPlugin->aroundDispatch( ).../Chain.php:67
260.397425820880Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain\{closure}( ).../ContextPlugin.php:112
270.397425821256Magento\Framework\Interception\Chain\Chain->invokeNext( ).../Chain.php:63
280.397525823256Magento\Store\App\Action\Plugin\StoreCheck->aroundDispatch( ).../Chain.php:67
290.397525823256Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain\{closure}( ).../StoreCheck.php:44
300.397525823632Magento\Framework\Interception\Chain\Chain->invokeNext( ).../Chain.php:63
310.397625826072Magento\Customer\Model\App\Action\ContextPlugin->aroundDispatch( ).../Chain.php:67
320.398025849760Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain\{closure}( ).../ContextPlugin.php:61
330.398025850136Magento\Framework\Interception\Chain\Chain->invokeNext( ).../Chain.php:63
340.398225853872Magento\Store\App\Action\Plugin\Context->aroundDispatch( ).../Chain.php:67
350.408826401552Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain\{closure}( ).../Context.php:106
360.408826401928Magento\Framework\Interception\Chain\Chain->invokeNext( ).../Chain.php:63
370.452726910936Vsourz\HtmlSitemap\Controller\Index\Index\Interceptor->___callParent( ).../Chain.php:70
380.452726910936Vsourz\HtmlSitemap\Controller\Index->dispatch( ).../Interceptor.php:74
390.452826910936Magento\Framework\App\Action\Action->dispatch( ).../Index.php:69
400.472928014144Vsourz\HtmlSitemap\Controller\Index\Index\Interceptor->execute( ).../Action.php:102
410.472928014144Vsourz\HtmlSitemap\Controller\Index\Index->execute( ).../Interceptor.php:24
420.652838291808Magento\Framework\App\View->renderLayout( ).../Index.php:19
430.656738406568Magento\Framework\View\Result\Page\Interceptor->renderResult( ).../View.php:221
440.656738406944Magento\Framework\View\Result\Page\Interceptor->___callPlugins( ).../Interceptor.php:130
450.656838410288Magento\PageCache\Model\Controller\Result\BuiltinPlugin->aroundRenderResult( ).../Interceptor.php:142
460.656838410288Magento\Framework\View\Result\Page\Interceptor->Magento\Framework\Interception\{closure}( ).../BuiltinPlugin.php:67
470.656838410664Magento\Framework\Interception\Chain\Chain->invokeNext( ).../Interceptor.php:138
480.657038414056Magento\PageCache\Model\Controller\Result\VarnishPlugin->aroundRenderResult( ).../Chain.php:67
490.657038414056Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain\{closure}( ).../VarnishPlugin.php:74
500.657038414432Magento\Framework\Interception\Chain\Chain->invokeNext( ).../Chain.php:63
510.657038414472Magento\Framework\View\Result\Page\Interceptor->___callParent( ).../Chain.php:70
520.657038414472Magento\Framework\View\Result\Layout->renderResult( ).../Interceptor.php:74
530.657038414472Magento\Framework\View\Result\Page->render( ).../Layout.php:164
540.663638649664Magento\Framework\View\Layout\Interceptor->getOutput( ).../Page.php:243
550.663638649720Magento\Framework\View\Layout\Interceptor->___callPlugins( ).../Interceptor.php:494
560.663638649760Magento\Framework\View\Layout->getOutput( ).../Interceptor.php:146
570.663638649760Magento\Framework\View\Layout\Interceptor->renderElement( ).../Layout.php:938
580.663638649760Magento\Framework\View\Layout->renderElement( ).../Interceptor.php:193
590.663738649760Magento\Framework\View\Layout\Interceptor->renderNonCachedElement( ).../Layout.php:472
600.663738649760Magento\Framework\View\Layout->renderNonCachedElement( ).../Interceptor.php:206
610.663738649760Magento\Framework\View\Layout->_renderContainer( ).../Layout.php:520
620.679538719608Magento\Framework\View\Layout\Interceptor->renderElement( ).../Layout.php:569
630.679538719608Magento\Framework\View\Layout->renderElement( ).../Interceptor.php:193
640.679538719608Magento\Framework\View\Layout\Interceptor->renderNonCachedElement( ).../Layout.php:472
650.679538719608Magento\Framework\View\Layout->renderNonCachedElement( ).../Interceptor.php:206
660.679538719608Magento\Framework\View\Layout->_renderContainer( ).../Layout.php:520
670.864741177168Magento\Framework\View\Layout\Interceptor->renderElement( ).../Layout.php:569
680.864841177168Magento\Framework\View\Layout->renderElement( ).../Interceptor.php:193
690.864841177168Magento\Framework\View\Layout\Interceptor->renderNonCachedElement( ).../Layout.php:472
700.864841177168Magento\Framework\View\Layout->renderNonCachedElement( ).../Interceptor.php:206
710.864841177168Magento\Framework\View\Layout->_renderContainer( ).../Layout.php:520
720.869441191112Magento\Framework\View\Layout\Interceptor->renderElement( ).../Layout.php:569
730.869441191112Magento\Framework\View\Layout->renderElement( ).../Interceptor.php:193
740.869441191112Magento\Framework\View\Layout\Interceptor->renderNonCachedElement( ).../Layout.php:472
750.869441191112Magento\Framework\View\Layout->renderNonCachedElement( ).../Interceptor.php:206
760.869441191112Magento\Framework\View\Layout->_renderContainer( ).../Layout.php:520
770.869541191488Magento\Framework\View\Layout\Interceptor->renderElement( ).../Layout.php:569
780.869541191488Magento\Framework\View\Layout->renderElement( ).../Interceptor.php:193
790.869541191488Magento\Framework\View\Layout\Interceptor->renderNonCachedElement( ).../Layout.php:472
800.869541191488Magento\Framework\View\Layout->renderNonCachedElement( ).../Interceptor.php:206
810.869541191488Magento\Framework\View\Layout->_renderContainer( ).../Layout.php:520
820.879441209024Magento\Framework\View\Layout\Interceptor->renderElement( ).../Layout.php:569
830.879441209024Magento\Framework\View\Layout->renderElement( ).../Interceptor.php:193
840.879441209024Magento\Framework\View\Layout\Interceptor->renderNonCachedElement( ).../Layout.php:472
850.879441209024Magento\Framework\View\Layout->renderNonCachedElement( ).../Interceptor.php:206
860.879441209024Magento\Framework\View\Layout->_renderContainer( ).../Layout.php:520
870.938541686480Magento\Framework\View\Layout\Interceptor->renderElement( ).../Layout.php:569
880.938541686480Magento\Framework\View\Layout->renderElement( ).../Interceptor.php:193
890.938541686480Magento\Framework\View\Layout\Interceptor->renderNonCachedElement( ).../Layout.php:472
900.938541686480Magento\Framework\View\Layout->renderNonCachedElement( ).../Interceptor.php:206
910.938541686480Magento\Framework\View\Layout->_renderContainer( ).../Layout.php:520
920.938541686856Magento\Framework\View\Layout\Interceptor->renderElement( ).../Layout.php:569
930.938641686856Magento\Framework\View\Layout->renderElement( ).../Interceptor.php:193
940.938641686856Magento\Framework\View\Layout\Interceptor->renderNonCachedElement( ).../Layout.php:472
950.938641686856Magento\Framework\View\Layout->renderNonCachedElement( ).../Interceptor.php:206
960.938641686856Magento\Framework\View\Layout->_renderContainer( ).../Layout.php:520
970.938641687232Magento\Framework\View\Layout\Interceptor->renderElement( ).../Layout.php:569
980.938641687232Magento\Framework\View\Layout->renderElement( ).../Interceptor.php:193
990.938641687232Magento\Framework\View\Layout\Interceptor->renderNonCachedElement( ).../Layout.php:472
1000.938641687232Magento\Framework\View\Layout->renderNonCachedElement( ).../Interceptor.php:206
1010.938641687232Magento\Framework\View\Layout->_renderBlock( ).../Layout.php:518
1020.938741687232Magento\Framework\View\Element\AbstractBlock->toHtml( ).../Layout.php:542
1030.938741687280Magento\Framework\View\Element\Template->_toHtml( ).../AbstractBlock.php:659
1040.939241687600Magento\Framework\View\Element\Template->fetchView( ).../Template.php:279
1050.939341687872Magento\Framework\View\TemplateEngine\Php->render( ).../Template.php:255
1060.939741708456include( '/Library/Server/Web/Data/Sites/ifoundbug.com/vendor/vsourz/html-sitemap/view/frontend/templates/product/list-custom.phtml' ).../Php.php:59
1070.940041708456Vsourz\HtmlSitemap\Block\ProductsList->getProductsAllCollection( ).../list-custom.phtml:15
1080.941541718736Magento\Catalog\Model\ResourceModel\Product\Collection\Interceptor->addAttributeToFilter( ).../ProductsList.php:41
1090.941541718736Magento\Catalog\Model\ResourceModel\Product\Collection->addAttributeToFilter( ).../Interceptor.php:518
1100.941541718792Magento\Eav\Model\Entity\Collection\AbstractCollection->_getAttributeConditionSql( ).../Collection.php:1483
1110.941641718792Magento\Eav\Model\Entity\Collection\AbstractCollection->_addAttributeJoin( ).../AbstractCollection.php:1476
1120.941641718832Magento\Catalog\Model\ResourceModel\Product\Collection->getEntityPkName( ).../AbstractCollection.php:1369