I am getting a fatal error on my site when trying to view business listings/categories from the JBusiness-Directory component. The pages open fine if opened from a menu item but give a fatal error when opened from a link (eg a search result or link from content page). If I disable the "sh404sef - System plugin" plugin everything works. It used to work fine but I have since updated Joomla to 3.9.27 from a previous version of Joomla and purged my sh404sef urls.
Any help much appreciated! Thanks!
Error message:
Fatal error: Uncaught Exception: View not found [name, type, prefix]: companies, html, sh404sefView in /Applications/MAMP/htdocs/pspupgrade/libraries/src/MVC/Controller/BaseController.php:847 Stack trace: #0 /Applications/MAMP/htdocs/pspupgrade/libraries/src/MVC/Controller/BaseController.php(621): Joomla\CMS\MVC\Controller\BaseController->getView('companies', 'html', 'sh404sefView', Array) #1 /Applications/MAMP/htdocs/pspupgrade/libraries/src/MVC/Controller/BaseController.php(710): Joomla\CMS\MVC\Controller\BaseController->display() #2 /Applications/MAMP/htdocs/pspupgrade/administrator/components/com_sh404sef/helpers/error.php(266): Joomla\CMS\MVC\Controller\BaseController->execute('showcompany') #3 /Applications/MAMP/htdocs/pspupgrade/administrator/components/com_sh404sef/helpers/error.php(85): Sh404sefHelperError::render(Object(Exception), 'The page you re...') #4 /Applications/MAMP/htdocs/pspupgrade/administrator/components/com_sh404sef/classes/router.php(2210): Sh404sefHelperError::render404ErrorDocument(Object(Except in /Applications/MAMP/htdocs/pspupgrade/libraries/src/MVC/Controller/BaseController.php on line 847