TYPO3 Exception 1407060572

Note

Below, the TYPO3 community may have provided additional information or solutions for this exception. However, these may or may not apply to your particular case. If you can provide more information, you should come back here and add your experience and solution steps to this issue once you have resolved it.

General TYPO3 troubleshooting tips can be found in the section "Troubleshooting" of the menu, and live support is available in the TYPO3 Slack channel #typo3-cms. (See How to get your TYPO3 Slack account.)

To add your experience, click "Edit on GitHub" above and follow the "Edit on GitHub" workflow. Also check out our tip on Coding Style and reST.

Fluid parse error in template "..."

Case 1: Missing Extension

E.g. #1 Frontend editing required but not installed

If you did change your templates like this:

<core:contentEditable table="tt_content" field="header" uid="42"> <f:render partial="Header/All" arguments="{_all}" /> </core:contentEditable>

… you need to add the frontend_editing extension.


E.g. #2 Vhs extension missing

Fluid parse error in template Query_action_show_0c62eb625eb2a7904988fc25163bb9056e30949a, line 11 at character 1. Error: The ViewHelper <v:variable.set> could not be resolved. Based on your spelling, the system would load the class FluidTYPO3\Vhs\ViewHelpers\Variable\SetViewHelper, however this class does not exist. (error code 1407060572). Template source chunk: <v:variable.set name="CUD" value='<f:cObject typoscriptObjectPath="lib.CUD" />' />

In Fluid the namespace {namespace v=FluidTYPO3\Vhs\ViewHelpers} was declared, but the Vhs extension was missing.

Case 2 - Typos

Uncaught TYPO3 Exception #1407060572: Fluid parse error in template Standard_action_index_d05c4e8f75e024f00a98da5e29c3ed0043a25267, line 9 at character 1. Error: The ViewHelper <xy:custom> could not be resolved. Based on your spelling, the system would load the class MyVendor\MyExtension\ViewHelpers\CustomViewHelper, however this class does not exist. (error code 1407060572). Template source chunk: <xy:custom myParameter="somedata" />

Check for typos! I named the ViewHelper "CustomViewhelper" with an lowercase "h", which leads to above fatal error.

Case 3 - Autoloading failed

Check for correct namespaces derived from PSR-4 in /vendor/composer/autoload_psr4.php. Sometimes the class hasnt been autoloaded at all, due to typos in composer.json.

Case 4 - Clear Caches

Clearing caches in Install Tool resolved the error.

Case 5 - Fix outdated ViewHelpers

In many cases the ViewHelpers of an Extension have changed. This can happen, when partials or templates did not get updated when an extension was updated. In this case you have to check, where the Viewhelper is used and compare it to the new template or partial.

For example in powermail this ViewHelper: <vh:string.RawAndRemoveXss>{foo}</vh:string.RawAndRemoveXss>

Is in newer versions this: <vh:string.escapeLabels>{foo}</vh:string.escapeLabels>