Search code examples
typo3fluidautoloaderfluxviewhelper

Fluid TYPO3 : Error after Update : Could not analyse class:FluidTYPO3\Flux\ViewHelpers\Flexform\SheetViewHelper maybe not loaded or no autoloader?


Aargh! My TYPO3 6.2.11 worked fine! Then I was updated all of my FLUIDTYPO3-Extensions and now I'll get an error:

Could not analyse class:FluidTYPO3\Flux\ViewHelpers\Flexform\SheetViewHelper maybe not loaded or no autoloader?

Here's the changelog, but there is no obvious problem for me? FluidTYPO3:

flux 7.1.2 => 7.2.0
fluidcontent_core 1.0.3 => 1.1.0
fluidcontent 4.1.1 => 4.1.2
fluidpages 3.1.2 => 3.2.0
vhs 2.3.0 => 2.3.1

I change my namespaces at all templates and FLUX-FCEs xmlns:f but that won't help. From

xmlns:f="http://typo3.org/ns/TYPO3/Fluid/ViewHelpers"

to

<div xmlns="http://www.w3.org/1999/xhtml" lang="en"
     xmlns:f="http://typo3.org/ns/FluidTYPO3/Flux/ViewHelpers"
     f:schemaLocation="https://fluidtypo3.org/schemas/fluid-master.xsd"
     xmlns:flux="http://typo3.org/ns/FluidTYPO3/Flux/ViewHelpers"
     flux:schemaLocation="https://fluidtypo3.org/schemas/flux-master.xsd">

Nothing.

It's a disaster ... my Website is crashed with that error. I hope someone can help me ... (Never update later then 10pm ;)


Solution

  • There is no longer a Flexform Namespace in Flux.

    Change your ViewHelper to

    <flux:form.sheet .... >
    ...
    </flux:form.sheet .... >
    

    This has to be done for all ViewHelpers that use the old <flux:flexform... namespace.