Zend certified PHP/Magento developer

Exception #0 (MagentoFrameworkExceptionNoSuchEntityException): No such entity with id = 0 when loading trying to view the site

I am getting this error when I am trying to view the my local website.

1 exception(s):
Exception #0 (MagentoFrameworkExceptionNoSuchEntityException): No such entity with id = 0
Exception #0 (MagentoFrameworkExceptionNoSuchEntityException): No such entity with id = 0
<pre>#1 MagentoCatalogModelCategoryRepository->get() called at [vendor/magento/module-catalog/Model/Layer.php:202]
#2 MagentoCatalogModelLayer->getCurrentCategory() called at [vendor/magento/module-catalog/Plugin/Block/Topmenu.php:148]
#3 MagentoCatalogPluginBlockTopmenu->getCurrentCategory() called at [vendor/magento/module-catalog/Plugin/Block/Topmenu.php:210]
#4 MagentoCatalogPluginBlockTopmenu->afterGetCacheKeyInfo() called at [vendor/magento/framework/Interception/Interceptor.php:146]
#5 MagentoThemeBlockHtmlTopmenuInterceptor->MagentoFrameworkInterception{closure}() called at [vendor/magento/framework/Interception/Interceptor.php:153]
#6 MagentoThemeBlockHtmlTopmenuInterceptor->___callPlugins() called at [generated/code/Magento/Theme/Block/Html/Topmenu/Interceptor.php:41]
#7 MagentoThemeBlockHtmlTopmenuInterceptor->getCacheKeyInfo() called at [vendor/magento/framework/View/Element/AbstractBlock.php:1053]
#8 MagentoFrameworkViewElementAbstractBlock->getCacheKey() called at [vendor/magento/framework/View/Element/AbstractBlock.php:1136]
#9 MagentoFrameworkViewElementAbstractBlock->_loadCache() called at [vendor/magento/framework/View/Element/AbstractBlock.php:678]
#10 MagentoFrameworkViewElementAbstractBlock->toHtml() called at [vendor/magento/framework/Interception/Interceptor.php:58]
#11 MagentoThemeBlockHtmlTopmenuInterceptor->___callParent() called at [vendor/magento/framework/Interception/Interceptor.php:138]
#12 MagentoThemeBlockHtmlTopmenuInterceptor->MagentoFrameworkInterception{closure}() called at [vendor/magento/framework/Interception/Interceptor.php:153]
#13 MagentoThemeBlockHtmlTopmenuInterceptor->___callPlugins() called at [generated/code/Magento/Theme/Block/Html/Topmenu/Interceptor.php:50]
#14 MagentoThemeBlockHtmlTopmenuInterceptor->toHtml() called at [vendor/magento/framework/View/Layout.php:578]
#15 MagentoFrameworkViewLayout->_renderBlock() called at [vendor/magento/framework/View/Layout.php:555]
#16 MagentoFrameworkViewLayout->renderNonCachedElement() called at [vendor/magento/framework/View/Layout.php:510]
#17 MagentoFrameworkViewLayout->renderElement() called at [vendor/magento/framework/View/Element/AbstractBlock.php:529]
#18 MagentoFrameworkViewElementAbstractBlock->getChildHtml() called at [vendor/magento/module-theme/view/frontend/templates/html/container.phtml:7]
#19 include() called at [vendor/magento/framework/View/TemplateEngine/Php.php:71]
#20 MagentoFrameworkViewTemplateEnginePhp->render() called at [vendor/magento/framework/Interception/Interceptor.php:58]
#21 MagentoFrameworkViewTemplateEnginePhpInterceptor->___callParent() called at [vendor/magento/framework/Interception/Interceptor.php:138]
#22 MagentoFrameworkViewTemplateEnginePhpInterceptor->MagentoFrameworkInterception{closure}() called at [vendor/magento/framework/Interception/Interceptor.php:153]
#23 MagentoFrameworkViewTemplateEnginePhpInterceptor->___callPlugins() called at [generated/code/Magento/Framework/View/TemplateEngine/Php/Interceptor.php:23]
#24 MagentoFrameworkViewTemplateEnginePhpInterceptor->render() called at [vendor/magento/framework/View/Element/Template.php:273]
#25 MagentoFrameworkViewElementTemplate->fetchView() called at [vendor/magento/framework/View/Element/Template.php:303]
#26 MagentoFrameworkViewElementTemplate->_toHtml() called at [vendor/magento/framework/View/Element/AbstractBlock.php:1114]
#27 MagentoFrameworkViewElementAbstractBlock->MagentoFrameworkViewElement{closure}() called at [vendor/magento/framework/View/Element/AbstractBlock.php:1118]
#28 MagentoFrameworkViewElementAbstractBlock->_loadCache() called at [vendor/magento/framework/View/Element/AbstractBlock.php:678]
#29 MagentoFrameworkViewElementAbstractBlock->toHtml() called at [vendor/magento/framework/View/Layout.php:578]
#30 MagentoFrameworkViewLayout->_renderBlock() called at [vendor/magento/framework/View/Layout.php:555]
#31 MagentoFrameworkViewLayout->renderNonCachedElement() called at [vendor/magento/framework/View/Layout.php:510]
#32 MagentoFrameworkViewLayout->renderElement() called at [vendor/magento/module-theme/view/frontend/templates/html/sections.phtml:21]
#33 include() called at [vendor/magento/framework/View/TemplateEngine/Php.php:71]
#34 MagentoFrameworkViewTemplateEnginePhp->render() called at [vendor/magento/framework/Interception/Interceptor.php:58]
#35 MagentoFrameworkViewTemplateEnginePhpInterceptor->___callParent() called at [vendor/magento/framework/Interception/Interceptor.php:138]
#36 MagentoFrameworkViewTemplateEnginePhpInterceptor->MagentoFrameworkInterception{closure}() called at [vendor/magento/framework/Interception/Interceptor.php:153]
#37 MagentoFrameworkViewTemplateEnginePhpInterceptor->___callPlugins() called at [generated/code/Magento/Framework/View/TemplateEngine/Php/Interceptor.php:23]
#38 MagentoFrameworkViewTemplateEnginePhpInterceptor->render() called at [vendor/magento/framework/View/Element/Template.php:273]
#39 MagentoFrameworkViewElementTemplate->fetchView() called at [vendor/magento/framework/View/Element/Template.php:303]
#40 MagentoFrameworkViewElementTemplate->_toHtml() called at [vendor/magento/framework/View/Element/AbstractBlock.php:1114]
#41 MagentoFrameworkViewElementAbstractBlock->MagentoFrameworkViewElement{closure}() called at [vendor/magento/framework/View/Element/AbstractBlock.php:1118]
#42 MagentoFrameworkViewElementAbstractBlock->_loadCache() called at [vendor/magento/framework/View/Element/AbstractBlock.php:678]
#43 MagentoFrameworkViewElementAbstractBlock->toHtml() called at [vendor/magento/framework/View/Layout.php:578]
#44 MagentoFrameworkViewLayout->_renderBlock() called at [vendor/magento/framework/View/Layout.php:555]
#45 MagentoFrameworkViewLayout->renderNonCachedElement() called at [vendor/magento/framework/View/Layout.php:510]
#46 MagentoFrameworkViewLayout->renderElement() called at [vendor/magento/framework/View/Layout.php:606]
#47 MagentoFrameworkViewLayout->_renderContainer() called at [vendor/magento/framework/View/Layout.php:557]
#48 MagentoFrameworkViewLayout->renderNonCachedElement() called at [vendor/magento/framework/View/Layout.php:510]
#49 MagentoFrameworkViewLayout->renderElement() called at [vendor/magento/framework/View/Layout.php:606]
#50 MagentoFrameworkViewLayout->_renderContainer() called at [vendor/magento/framework/View/Layout.php:557]
#51 MagentoFrameworkViewLayout->renderNonCachedElement() called at [vendor/magento/framework/View/Layout.php:510]
#52 MagentoFrameworkViewLayout->renderElement() called at [vendor/magento/framework/View/Layout.php:606]
#53 MagentoFrameworkViewLayout->_renderContainer() called at [vendor/magento/framework/View/Layout.php:557]
#54 MagentoFrameworkViewLayout->renderNonCachedElement() called at [vendor/magento/framework/View/Layout.php:510]
#55 MagentoFrameworkViewLayout->renderElement() called at [vendor/magento/framework/View/Layout.php:975]
#56 MagentoFrameworkViewLayout->getOutput() called at [vendor/magento/framework/Interception/Interceptor.php:58]
#57 MagentoFrameworkViewLayoutInterceptor->___callParent() called at [vendor/magento/framework/Interception/Interceptor.php:138]
#58 MagentoFrameworkViewLayoutInterceptor->MagentoFrameworkInterception{closure}() called at [vendor/magento/framework/Interception/Interceptor.php:153]
#59 MagentoFrameworkViewLayoutInterceptor->___callPlugins() called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:50]
#60 MagentoFrameworkViewLayoutInterceptor->getOutput() called at [vendor/magento/framework/View/Result/Page.php:260]
#61 MagentoFrameworkViewResultPage->render() called at [vendor/magento/framework/View/Result/Layout.php:171]
#62 MagentoFrameworkViewResultLayout->renderResult() called at [vendor/magento/framework/Interception/Interceptor.php:58]
#63 MagentoFrameworkViewResultPageInterceptor->___callParent() called at [vendor/magento/framework/Interception/Interceptor.php:138]
#64 MagentoFrameworkViewResultPageInterceptor->MagentoFrameworkInterception{closure}() called at [vendor/magento/framework/Interception/Interceptor.php:153]
#65 MagentoFrameworkViewResultPageInterceptor->___callPlugins() called at [generated/code/Magento/Framework/View/Result/Page/Interceptor.php:23]
#66 MagentoFrameworkViewResultPageInterceptor->renderResult() called at [vendor/magento/framework/App/Http.php:120]
#67 MagentoFrameworkAppHttp->launch() called at [vendor/magento/framework/App/Bootstrap.php:264]
#68 MagentoFrameworkAppBootstrap->run() called at [pub/index.php:60]
</pre>

Any suggestions?