Index: branches/5.2.x/core/kernel/managers/url_manager.php =================================================================== diff -u -r16806 -r16829 --- branches/5.2.x/core/kernel/managers/url_manager.php (.../url_manager.php) (revision 16806) +++ branches/5.2.x/core/kernel/managers/url_manager.php (.../url_manager.php) (revision 16829) @@ -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 ) { + // Avoid recursion when requesting 404-page from a 404-page template rendering process. + if ( is_object($this->Application->Parser) && $this->Application->GetVar('t') === $template ) { return; }