Okay
  Print

Fatal error: Uncaught Error: Call to undefined method Themevast\MegaMenu\Model\ResourceModel\Megamenu\Collection::getContent() in C:\xampp\htdocs\envy1\app\code\Themevast\MegaMenu\Block\Widget\Megamenu.php:54 Stack trace: #0 [internal function]: Themevast\MegaMenu\Block\Widget\Megamenu->getMenuTree() #1 C:\xampp\htdocs\envy1\vendor\magento\framework\View\TemplateEngine\Php.php(82): call_user_func_array(Array, Array) #2 C:\xampp\htdocs\envy1\app\code\Themevast\MegaMenu\view\frontend\templates\menu.phtml(1): Magento\Framework\View\TemplateEngine\Php->__call('getMenuTree', Array) #3 C:\xampp\htdocs\envy1\vendor\magento\framework\View\TemplateEngine\Php.php(59): include('C:\\xampp\\htdocs...') #4 C:\xampp\htdocs\envy1\vendor\magento\framework\View\Element\Template.php(270): Magento\Framework\View\TemplateEngine\Php->render(Object(Themevast\MegaMenu\Block\Widget\Megamenu), 'C:/xampp/htdocs...', Array) #5 C:\xampp\htdocs\envy1\vendor\magento\framework\View\Element\Template.php(300): Magento\Framework\View\Element\Template->fetc in C:\xampp\htdocs\envy1\app\code\Themevast\MegaMenu\Block\Widget\Megamenu.php on line 54


this error happen because empty megamenu,

please go to: Admin/Themevast/Megamenu/Setting megamenu/ un-click use system value, in option Use mega menu. select your menu created here. save and flush cache.