New answers tagged

1 vote

How to catch Joomla\CMS\Router\Exception\RouteNotFoundException in Joomla 4.1?

In J4 exceptions can be handled by system plugins with onError event: use Joomla\CMS\Event\ErrorEvent; use Joomla\CMS\Plugin\CMSPlugin; use Joomla\CMS\Router\Exception\RouteNotFoundException; class ...
user avatar
  • 8,316

Top 50 recent answers are included