.. include:: /Includes.rst.txt ========================== TYPO3 Exception 1237823695 ========================== .. include:: /If-you-encounter-this-exception.rst.txt General ======= :ref:`Register arguments of viewhelpers ` describes how to register own Arguments for viewHelpers. Never denying that I might have made a fault I never had success with the simple notation by using several parameters in the render-function. I succeeded with the solution to register the arguments in the function initializeArguments() which is automatically called if present in the viewHelper. PHPStorm ======== The error shown is “Argument "xmlns:f" was not registered”. PHPStorm sometimes adds a xmlns attribute to the very first tag in a Fluid Template, if you use auto completion (eg. type in »f:comm« and hit enter to autocomplete to »«). If the first tag in your template happens to be a Fluid tag, then the Fluid parser will throw the execption, that »xmlns« is in fact not a valid attribute of the current Fluid tag. Issue on Forge: https://forge.typo3.org/issues/56481 Solution 1 - Remove the attribute --------------------------------- Just remove the wrong xmlns attribute from your Fluid tag ```` :: Wrong (xmlns isn't a valid attribute for this tag): Right: Solution 2 - Register the namespace ----------------------------------- PHPStorm needs to know about the fluid namespace, then it will not add those attributes by itself anymore. Wrap your template into a DIV like this: ```` ::
See http://buzz.typo3.org/teams/extbase/article/howto-autocompletion-for-fluid-in-phpstorm/ & https://fluidtypo3.org/documentation/templating-manual/appendix/fluid-autocompletion.html Fluid 6.1 select ViewHelper =========================== ``Argument "prependContent" was not registered`` ```` ```` ```` - prependContent="TRUE" should be available since 6.1 https://forge.typo3.org/issues/26595 - No documented solution yet EXT:news ======== If you get this problem in the "**news**" extensions, it might be linked to the viewhelper => "hsc". Try with the original template form the extension. EXT:roq_newsevent ================= After update of roq_newsevent, (or for no apparent reason) the error appears in relation with roq_newsevent template : /Partials/EventList/item.html The viewhelper linking to single view have to be updated : Original version : {newsItem.title} Updated and working version : {newsItem.title} See on TYPO3 Forge here : https://forge.typo3.org/issues/53921 Upgrade to TYPO3 7.6.2 ====================== The Extension Manager does not work and gives this error message:: Uncaught TYPO3 Exception #1237823695: Argument "jQueryNamespace" was not registered. (More information) TYPO3\CMS\Fluid\Core\Parser\Exception thrown in file /var/www/html/developer/typo3_src-7.6.2/typo3/sysext/fluid/Classes/Core/Parser /TemplateParser.php in line 604. 19 TYPO3\CMS\Fluid\Core\Parser \TemplateParser::abortIfUnregisteredArgumentsExist(array, array) /var/www/html/developer/typo3_src-7.6.2/typo3/sysext/fluid/Classes/Core/Parser/TemplateParser.php: 00563: // The following three checks are only done *in an uncached template*, and not needed anymore in the cached version 00564: $expectedViewHelperArguments = $viewHelper->prepareArguments(); 00565: $this->abortIfUnregisteredArgumentsExist($expectedViewHelperArguments, $argumentsObjectTree); 00566: $this->abortIfRequiredArgumentsAreMissing($expectedViewHelperArguments, $argumentsObjectTree); 00567: $this->rewriteBooleanNodesInArgumentsObjectTree($expectedViewHelperArguments, $argumentsObjectTree); Solution: Start the Install Tool and press the button "Clear all cache". Removal of deprecated code in sysext fluid ========================================== See `Breaking: #53542 - Removal of deprecated code in sysext fluid `__ For example: f:be.container arguments Error *Argument "addCssFile" was not registered* Use *includeCssFiles* instead of *addCssFile* and adapt value from string to array ``addCssFile="{f:uri.resource(path:'Css/backend.css')}"`` ``includeCssFiles="{0:'{f:uri.resource(path:\'Css/backend.css\')}'}"``