Skip to content

Instantly share code, notes, and snippets.

@luckyduck
Created November 22, 2019 17:26
Show Gist options
  • Save luckyduck/3ee583c253d5313685faf4a537c6c95f to your computer and use it in GitHub Desktop.
Save luckyduck/3ee583c253d5313685faf4a537c6c95f to your computer and use it in GitHub Desktop.
1 exception(s):
Exception #0 (Magento\Framework\Exception\NoSuchEntityException): Brand with id "2" does not exist.
Exception #0 (Magento\Framework\Exception\NoSuchEntityException): Brand with id "2" does not exist.
<pre>#1 Zemez\ShopByBrand\Block\Brand\Product\Brand->getBrand() called at [app/code/Zemez/ShopByBrand/Block/Brand/Product/Brand.php:109]
#2 Zemez\ShopByBrand\Block\Brand\Product\Brand->hasBrand() called at [app/code/Zemez/ShopByBrand/Block/Brand/Product/Brand.php:148]
#3 Zemez\ShopByBrand\Block\Brand\Product\Brand->_toHtml() called at [vendor/magento/framework/View/Element/AbstractBlock.php:1097]
#4 Magento\Framework\View\Element\AbstractBlock->Magento\Framework\View\Element\{closure}() called at [vendor/magento/framework/View/Element/AbstractBlock.php:1101]
#5 Magento\Framework\View\Element\AbstractBlock->_loadCache() called at [vendor/magento/framework/View/Element/AbstractBlock.php:671]
#6 Magento\Framework\View\Element\AbstractBlock->toHtml() called at [vendor/magento/framework/View/Layout.php:557]
#7 Magento\Framework\View\Layout->_renderBlock() called at [vendor/magento/framework/View/Layout.php:533]
#8 Magento\Framework\View\Layout->renderNonCachedElement() called at [vendor/magento/framework/View/Layout.php:488]
#9 Magento\Framework\View\Layout->renderElement() called at [vendor/magento/framework/View/Layout.php:585]
#10 Magento\Framework\View\Layout->_renderContainer() called at [vendor/magento/framework/View/Layout.php:535]
#11 Magento\Framework\View\Layout->renderNonCachedElement() called at [vendor/magento/framework/View/Layout.php:488]
#12 Magento\Framework\View\Layout->renderElement() called at [vendor/magento/framework/View/Layout.php:585]
#13 Magento\Framework\View\Layout->_renderContainer() called at [vendor/magento/framework/View/Layout.php:535]
#14 Magento\Framework\View\Layout->renderNonCachedElement() called at [vendor/magento/framework/View/Layout.php:488]
#15 Magento\Framework\View\Layout->renderElement() called at [vendor/magento/framework/View/Layout.php:585]
#16 Magento\Framework\View\Layout->_renderContainer() called at [vendor/magento/framework/View/Layout.php:535]
#17 Magento\Framework\View\Layout->renderNonCachedElement() called at [vendor/magento/framework/View/Layout.php:488]
#18 Magento\Framework\View\Layout->renderElement() called at [vendor/magento/framework/View/Layout.php:585]
#19 Magento\Framework\View\Layout->_renderContainer() called at [vendor/magento/framework/View/Layout.php:535]
#20 Magento\Framework\View\Layout->renderNonCachedElement() called at [vendor/magento/framework/View/Layout.php:488]
#21 Magento\Framework\View\Layout->renderElement() called at [vendor/magento/framework/View/Layout.php:954]
#22 Magento\Framework\View\Layout->getOutput() called at [vendor/magento/framework/Interception/Interceptor.php:58]
#23 Magento\Framework\View\Layout\Interceptor->___callParent() called at [vendor/magento/framework/Interception/Interceptor.php:138]
#24 Magento\Framework\View\Layout\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor/magento/framework/Interception/Interceptor.php:153]
#25 Magento\Framework\View\Layout\Interceptor->___callPlugins() called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:39]
#26 Magento\Framework\View\Layout\Interceptor->getOutput() called at [vendor/magento/framework/View/Result/Page.php:258]
#27 Magento\Framework\View\Result\Page->render() called at [vendor/magento/framework/View/Result/Layout.php:171]
#28 Magento\Framework\View\Result\Layout->renderResult() called at [vendor/magento/framework/Interception/Interceptor.php:58]
#29 Magento\Framework\View\Result\Page\Interceptor->___callParent() called at [vendor/magento/framework/Interception/Interceptor.php:138]
#30 Magento\Framework\View\Result\Page\Interceptor->Magento\Framework\Interception\{closure}() called at [app/code/Zemez/Amp/Model/Plugin/Framework/Controller/ResultInterfacePlugin.php:95]
#31 Zemez\Amp\Model\Plugin\Framework\Controller\ResultInterfacePlugin->aroundRenderResult() called at [vendor/magento/framework/Interception/Interceptor.php:135]
#32 Magento\Framework\View\Result\Page\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor/magento/framework/Interception/Interceptor.php:153]
#33 Magento\Framework\View\Result\Page\Interceptor->___callPlugins() called at [generated/code/Magento/Framework/View/Result/Page/Interceptor.php:26]
#34 Magento\Framework\View\Result\Page\Interceptor->renderResult() called at [vendor/magento/framework/App/Http.php:141]
#35 Magento\Framework\App\Http->launch() called at [vendor/magento/framework/App/Bootstrap.php:261]
#36 Magento\Framework\App\Bootstrap->run() called at [index.php:39]
</pre>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment