.. include:: /Includes.rst.txt
==========================
TYPO3 Exception 1224485398
==========================
.. include:: /If-you-encounter-this-exception.rst.txt
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.
Solution
========
You have to nest the ViewHelpers correctly, for example:
::
needs
.. hint::
Most of the time this error will be triggered if you forget to
correctly close a single tag with a slash. (e.g. you need to use
not )
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.