cancel
Showing results for 
Search instead for 
Did you mean: 

Layered Navigation FIlter results in "Requested Product doesn't exist"

Layered Navigation FIlter results in "Requested Product doesn't exist"

Hello,

 

I am using Magento ver. 2.1.7 and I have a issue with 1 filter. Only when I filter on "vorm=216"  in a specific category, I get a exception printed to my screen:

 

1 exception(s):
Exception #0 (Magento\Framework\Exception\NoSuchEntityException): Requested product doesn't exist

Exception #0 (Magento\Framework\Exception\NoSuchEntityException): Requested product doesn't exist
#0 /home/tuwi/public_html/magento/var/generation/Magento/Catalog/Model/ProductRepository/Interceptor.php(24): Magento\Catalog\Model\ProductRepository->get('VFO243', false, NULL, false)
#1 /home/tuwi/public_html/magento/app/code/Sition/Helloworld/Helper/ProductHelper.php(42): Magento\Catalog\Model\ProductRepository\Interceptor->get('VFO243')
#2 /home/tuwi/public_html/magento/app/design/frontend/sition/ultimo/Magento_Catalog/templates/product/list.phtml(472): Sition\Helloworld\Helper\ProductHelper->loadMyProduct('VFO243')
#3 /home/tuwi/public_html/magento/vendor/magento/framework/View/TemplateEngine/Php.php(59): include('/home/tuwi/publ...')
#4 /home/tuwi/public_html/magento/vendor/magento/framework/View/Element/Template.php(255): Magento\Framework\View\TemplateEngine\Php->render(Object(Magento\Catalog\Block\Product\ListProduct\Interceptor), '/home/tuwi/publ...', Array)
#5 /home/tuwi/public_html/magento/var/generation/Magento/Catalog/Block/Product/ListProduct/Interceptor.php(557): Magento\Framework\View\Element\Template->fetchView('/home/tuwi/publ...')
#6 /home/tuwi/public_html/magento/vendor/magento/framework/View/Element/Template.php(279): Magento\Catalog\Block\Product\ListProduct\Interceptor->fetchView('/home/tuwi/publ...')
#7 /home/tuwi/public_html/magento/vendor/magento/framework/View/Element/AbstractBlock.php(659): Magento\Framework\View\Element\Template->_toHtml()
#8 /home/tuwi/public_html/magento/var/generation/Magento/Catalog/Block/Product/ListProduct/Interceptor.php(882): Magento\Framework\View\Element\AbstractBlock->toHtml()
#9 /home/tuwi/public_html/magento/vendor/magento/framework/View/Layout.php(542): Magento\Catalog\Block\Product\ListProduct\Interceptor->toHtml()
#10 /home/tuwi/public_html/magento/vendor/magento/framework/View/Layout.php(518): Magento\Framework\View\Layout->_renderBlock('category.produc...')
#11 /home/tuwi/public_html/magento/var/generation/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('category.produc...')
#12 /home/tuwi/public_html/magento/vendor/magento/framework/View/Layout.php(472): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('category.produc...')
#13 /home/tuwi/public_html/magento/var/generation/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('category.produc...', true)
#14 /home/tuwi/public_html/magento/vendor/magento/framework/View/Element/AbstractBlock.php(499): Magento\Framework\View\Layout\Interceptor->renderElement('category.produc...', true)
#15 /home/tuwi/public_html/magento/vendor/magento/module-catalog/Block/Category/View.php(98): Magento\Framework\View\Element\AbstractBlock->getChildHtml('product_list')
#16 /home/tuwi/public_html/magento/vendor/magento/module-catalog/view/frontend/templates/category/products.phtml(18): Magento\Catalog\Block\Category\View->getProductListHtml()
#17 /home/tuwi/public_html/magento/vendor/magento/framework/View/TemplateEngine/Php.php(59): include('/home/tuwi/publ...')
#18 /home/tuwi/public_html/magento/vendor/magento/framework/View/Element/Template.php(255): Magento\Framework\View\TemplateEngine\Php->render(Object(Magento\Catalog\Block\Category\View), '/home/tuwi/publ...', Array)
#19 /home/tuwi/public_html/magento/vendor/magento/framework/View/Element/Template.php(279): Magento\Framework\View\Element\Template->fetchView('/home/tuwi/publ...')
#20 /home/tuwi/public_html/magento/vendor/magento/framework/View/Element/AbstractBlock.php(659): Magento\Framework\View\Element\Template->_toHtml()
#21 /home/tuwi/public_html/magento/vendor/magento/framework/View/Layout.php(542): Magento\Framework\View\Element\AbstractBlock->toHtml()
#22 /home/tuwi/public_html/magento/vendor/magento/framework/View/Layout.php(518): Magento\Framework\View\Layout->_renderBlock('category.produc...')
#23 /home/tuwi/public_html/magento/var/generation/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('category.produc...')
#24 /home/tuwi/public_html/magento/vendor/magento/framework/View/Layout.php(472): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('category.produc...')
#25 /home/tuwi/public_html/magento/var/generation/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('category.produc...', true)
#26 /home/tuwi/public_html/magento/vendor/magento/framework/View/Layout.php(569): Magento\Framework\View\Layout\Interceptor->renderElement('category.produc...')
#27 /home/tuwi/public_html/magento/vendor/magento/framework/View/Layout.php(520): Magento\Framework\View\Layout->_renderContainer('content')
#28 /home/tuwi/public_html/magento/var/generation/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('content')
#29 /home/tuwi/public_html/magento/vendor/magento/framework/View/Layout.php(472): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('content')
#30 /home/tuwi/public_html/magento/var/generation/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('content', true)
#31 /home/tuwi/public_html/magento/vendor/magento/framework/View/Layout.php(569): Magento\Framework\View\Layout\Interceptor->renderElement('content')
#32 /home/tuwi/public_html/magento/vendor/magento/framework/View/Layout.php(520): Magento\Framework\View\Layout->_renderContainer('main')
#33 /home/tuwi/public_html/magento/var/generation/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('main')
#34 /home/tuwi/public_html/magento/vendor/magento/framework/View/Layout.php(472): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('main')
#35 /home/tuwi/public_html/magento/var/generation/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('main', true)
#36 /home/tuwi/public_html/magento/vendor/magento/framework/View/Layout.php(569): Magento\Framework\View\Layout\Interceptor->renderElement('main')
#37 /home/tuwi/public_html/magento/vendor/magento/framework/View/Layout.php(520): Magento\Framework\View\Layout->_renderContainer('columns')
#38 /home/tuwi/public_html/magento/var/generation/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('columns')
#39 /home/tuwi/public_html/magento/vendor/magento/framework/View/Layout.php(472): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('columns')
#40 /home/tuwi/public_html/magento/var/generation/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('columns', true)
#41 /home/tuwi/public_html/magento/vendor/magento/framework/View/Layout.php(569): Magento\Framework\View\Layout\Interceptor->renderElement('columns')
#42 /home/tuwi/public_html/magento/vendor/magento/framework/View/Layout.php(520): Magento\Framework\View\Layout->_renderContainer('main.content')
#43 /home/tuwi/public_html/magento/var/generation/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('main.content')
#44 /home/tuwi/public_html/magento/vendor/magento/framework/View/Layout.php(472): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('main.content')
#45 /home/tuwi/public_html/magento/var/generation/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('main.content', true)
#46 /home/tuwi/public_html/magento/vendor/magento/framework/View/Layout.php(569): Magento\Framework\View\Layout\Interceptor->renderElement('main.content')
#47 /home/tuwi/public_html/magento/vendor/magento/framework/View/Layout.php(520): Magento\Framework\View\Layout->_renderContainer('base-main-conta...')
#48 /home/tuwi/public_html/magento/var/generation/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('base-main-conta...')
#49 /home/tuwi/public_html/magento/vendor/magento/framework/View/Layout.php(472): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('base-main-conta...')
#50 /home/tuwi/public_html/magento/var/generation/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('base-main-conta...', true)
#51 /home/tuwi/public_html/magento/vendor/magento/framework/View/Layout.php(569): Magento\Framework\View\Layout\Interceptor->renderElement('base-main-conta...')
#52 /home/tuwi/public_html/magento/vendor/magento/framework/View/Layout.php(520): Magento\Framework\View\Layout->_renderContainer('base-main-conta...')
#53 /home/tuwi/public_html/magento/var/generation/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('base-main-conta...')
#54 /home/tuwi/public_html/magento/vendor/magento/framework/View/Layout.php(472): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('base-main-conta...')
#55 /home/tuwi/public_html/magento/var/generation/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('base-main-conta...', true)
#56 /home/tuwi/public_html/magento/vendor/magento/framework/View/Layout.php(569): Magento\Framework\View\Layout\Interceptor->renderElement('base-main-conta...')
#57 /home/tuwi/public_html/magento/vendor/magento/framework/View/Layout.php(520): Magento\Framework\View\Layout->_renderContainer('base-main-conta...')
#58 /home/tuwi/public_html/magento/var/generation/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('base-main-conta...')
#59 /home/tuwi/public_html/magento/vendor/magento/framework/View/Layout.php(472): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('base-main-conta...')
#60 /home/tuwi/public_html/magento/var/generation/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('base-main-conta...', true)
#61 /home/tuwi/public_html/magento/vendor/magento/framework/View/Layout.php(569): Magento\Framework\View\Layout\Interceptor->renderElement('base-main-conta...')
#62 /home/tuwi/public_html/magento/vendor/magento/framework/View/Layout.php(520): Magento\Framework\View\Layout->_renderContainer('page.wrapper')
#63 /home/tuwi/public_html/magento/var/generation/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('page.wrapper')
#64 /home/tuwi/public_html/magento/vendor/magento/framework/View/Layout.php(472): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('page.wrapper')
#65 /home/tuwi/public_html/magento/var/generation/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('page.wrapper', true)
#66 /home/tuwi/public_html/magento/vendor/magento/framework/View/Layout.php(569): Magento\Framework\View\Layout\Interceptor->renderElement('page.wrapper')
#67 /home/tuwi/public_html/magento/vendor/magento/framework/View/Layout.php(520): Magento\Framework\View\Layout->_renderContainer('root')
#68 /home/tuwi/public_html/magento/var/generation/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('root')
#69 /home/tuwi/public_html/magento/vendor/magento/framework/View/Layout.php(472): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('root')
#70 /home/tuwi/public_html/magento/var/generation/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('root', true)
#71 /home/tuwi/public_html/magento/vendor/magento/framework/View/Layout.php(938): Magento\Framework\View\Layout\Interceptor->renderElement('root')
#72 /home/tuwi/public_html/magento/vendor/magento/framework/Interception/Interceptor.php(146): Magento\Framework\View\Layout->getOutput()
#73 /home/tuwi/public_html/magento/var/generation/Magento/Framework/View/Layout/Interceptor.php(494): Magento\Framework\View\Layout\Interceptor->___callPlugins('getOutput', Array, Array)
#74 /home/tuwi/public_html/magento/vendor/magento/framework/View/Result/Page.php(243): Magento\Framework\View\Layout\Interceptor->getOutput()
#75 /home/tuwi/public_html/magento/vendor/magento/framework/View/Result/Layout.php(164): Magento\Framework\View\Result\Page->render(Object(Magento\Framework\App\Response\Http\Interceptor))
#76 /home/tuwi/public_html/magento/vendor/magento/framework/Interception/Interceptor.php(74): Magento\Framework\View\Result\Layout->renderResult(Object(Magento\Framework\App\Response\Http\Interceptor))
#77 /home/tuwi/public_html/magento/vendor/magento/framework/Interception/Chain/Chain.php(70): Magento\Framework\View\Result\Page\Interceptor->___callParent('renderResult', Array)
#78 /home/tuwi/public_html/magento/vendor/magento/framework/Interception/Chain/Chain.php(63): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\\Framewo...', 'renderResult', Object(Magento\Framework\View\Result\Page\Interceptor), Array, 'result-varnish-...')
#79 /home/tuwi/public_html/magento/vendor/magento/module-page-cache/Model/Controller/Result/VarnishPlugin.php(74): Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain\{closure}(Object(Magento\Framework\App\Response\Http\Interceptor))
#80 /home/tuwi/public_html/magento/vendor/magento/framework/Interception/Chain/Chain.php(67): Magento\PageCache\Model\Controller\Result\VarnishPlugin->aroundRenderResult(Object(Magento\Framework\View\Result\Page\Interceptor), Object(Closure), Object(Magento\Framework\App\Response\Http\Interceptor))
#81 /home/tuwi/public_html/magento/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\\Framewo...', 'renderResult', Object(Magento\Framework\View\Result\Page\Interceptor), Array, 'result-builtin-...')
#82 /home/tuwi/public_html/magento/vendor/magento/module-page-cache/Model/Controller/Result/BuiltinPlugin.php(67): Magento\Framework\View\Result\Page\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Response\Http\Interceptor))
#83 /home/tuwi/public_html/magento/vendor/magento/framework/Interception/Interceptor.php(142): Magento\PageCache\Model\Controller\Result\BuiltinPlugin->aroundRenderResult(Object(Magento\Framework\View\Result\Page\Interceptor), Object(Closure), Object(Magento\Framework\App\Response\Http\Interceptor))
#84 /home/tuwi/public_html/magento/var/generation/Magento/Framework/View/Result/Page/Interceptor.php(130): Magento\Framework\View\Result\Page\Interceptor->___callPlugins('renderResult', Array, Array)
#85 /home/tuwi/public_html/magento/vendor/magento/framework/App/Http.php(139): Magento\Framework\View\Result\Page\Interceptor->renderResult(Object(Magento\Framework\App\Response\Http\Interceptor))
#86 /home/tuwi/public_html/magento/vendor/magento/framework/App/Bootstrap.php(258): Magento\Framework\App\Http->launch()
#87 /home/tuwi/public_html/magento/index.php(39): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http))
#88 {main}

I cannot find the product with SKU "VFO0243" in admin catalog manually.

 

"vorm=215" and "vorm=214" and all other filters seem to work fine, even filter "vorm=216" does work on a different category page.

 

I suspect "Amasty Layered Navigation" having something to do with it, because first this problem occured with "vorm=215" and directly after updating the extension it shifted to "vorm=216". 

Amasty support thinks it is not their plugin, because the issue can be reproduced without the extension enabled, that is why I give it a try over here. 

 

The request in Developer Tools results in a 

Status Code:
500 Internal Server Error

 

Best regards,

Thom