- edited description
You have requested a non-existent service "Reelworx\RxShariff\ViewHelper\ShariffViewHelper"
When using the shariff viewhelper in TYPO3 12.4, we get a Symfony error:
You have requested a non-existent service "Reelworx\RxShariff\ViewHelper\ShariffViewHelper"
rx_shariff: 15.0.3
TYPO3 12.4.1
PHP 8.2
We tried to add Configuration/Services.yaml to fix this, but then TYPO3 throws new errors. It struggels with the two different namespaces in the extension (Reelworx\RxShariff Heise\Shariff).
Comments (6)
-
reporter -
Thanks for the report. I’ll take a look at this. IMO it should not be necessary to add a viewhelper to the
Servicies.yaml
-
I fail to reproduce this.
Please add more information on how you use it.
Did you add the xmlns?
<html xmlns:rx="http://typo3.org/ns/Reelworx/RxShariff/ViewHelper"> <rx:shariff data="{url: 'http://example.com/'}" services="whatsapp,facebook,xing" enableBackend="true" /> </html>
-
Please check version 15.0.5 if this is fixed
-
- changed status to resolved
-
In case someone (or me again ;-) ) should get this error:
I also got the error after including the 15.0.6 version. Both, including the plugin and using the view helper in the template didn't work.A minor update from TYPO3 12.4.1 => 12.4.3 fixed the error. Since I did the update with all dependencies, many other packages (e.g. symfony) were updated as well. Maybe this was the problem.
Anyway, the extension works fine now.
- Log in to comment