Index: branches/5.2.x/core/kernel/managers/url_manager.php =================================================================== diff -u -r16513 -r16806 --- branches/5.2.x/core/kernel/managers/url_manager.php (.../url_manager.php) (revision 16513) +++ branches/5.2.x/core/kernel/managers/url_manager.php (.../url_manager.php) (revision 16806) @@ -1,6 +1,6 @@ Application->ConfigValue('ErrorTemplate'); $template = $not_found ? $not_found : 'error_notfound'; + // Avoid recursion, when attempt is made to show 404 page while on the 404 page. + if ( $this->Application->GetVar('t') === $template ) { + return; + } + $this->Application->QuickRun($template); $this->Application->Done(); exit;