Issue Bug Under Review Quiet

#108573DashBoard widget error: has no argument named "$configuration"

Stefan Froemken 12/26/25, 14:18 updated 10/15/26, 22:10

Description

Hello,

with TYPO3 14 we have a new Interface: “WidgetRendererInterface” which expects method “renderWidget(WidgetContext $context)”. Thanks to WidgetContext we now have direct access to WidgetConfiguration object. So I have remove WidgetConfiguration from my Widget constructor which results in:

In ResolveNamedArgumentsPass.php line 87: Invalid service "dashboard.widget.innodb.bufferpool": method StefanFroemken\MySqlWidget\Widgets\InnoDbBufferPool::__construct()" has no argument named "$configuration". Check your service definition.

I have compared $this->configuration with $context->configuration. Both are exactly the same objects.

I would recommend to remove the constructor implementation from DashboardWidgetPass.

Stefan

Reviews 1

History 12