brainworxx / kreXX-TYPO3-Extension

Typo3 debugger with a backend module.
https://extensions.typo3.org/extension/includekrexx
GNU Lesser General Public License v2.1
4 stars 0 forks source link

Class 'TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper' not found #35

Closed alandolsi closed 4 years ago

alandolsi commented 4 years ago

image

Class 'TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper' not found TYPO3 Version 10

guelzow commented 4 years ago

Strange. That should not have happened.

The class alias map should prevent that. Looks like it is not as reliable as I hoped it would be.

Not sure if I can reproduce it, but I think I know how to fix it: The ViewHelper namespace is declared globally. Letting it point to different PHP namespaces with different ViewHelper classes, depending on the TYPO3 version, should do the trick.

Thanks for reporting.

guelzow commented 4 years ago

I was not aware that the class alias map only works with composer if it it explicitly configured in the composer json. When not working with composer, this configuration is not needed.

Anyway, I've tagged the 3.3.5 release, which should fix this.

alandolsi commented 4 years ago

Thank you it works!