TYPO3 Exception 1224485398

Templating tags not properly nested

#1224485398: Templating tags not properly nested. Expected: TYPO3\CMS\Fluid\ViewHelpers\Link\ExternalViewHelper;

Actual: TYPO3\CMS\Fluid\ViewHelpers\Link\UriViewHelper

This error is triggered when the parser is finding that tags are not properly nested. Consult the manual for the correct nesting possibilities.


You have to nest the ViewHelpers correctly, for example:

<f:link.external ..>   needs      </f:link.external>

Error in ViewHelper

If a viewHelper is not properly programmed, any argument might break templates. It's important to register all arguments properly to get the templates parsed correctly. To test a ViewHelper, remove all arguments in the fluid template to check if the nesting is recognized right without arguments. The error message is misleading in this case because the reason is not related to the notation in the template but to faults in the ViewHelper.