#108573DashBoard widget error: has no argument named "$configuration"
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
-
Benni Mack changed target version <span data-processor="relativetime" data-value="2026-04-21T11:23:50+00:00" > 04/21/26, 11:23 </span>
-
Gerrit Code Review pushed patch set 1 for main to change 96743 status
NewUnder Review <span data-processor="relativetime" data-value="2026-10-15T22:10:13+00:00" > 10/15/26, 22:10 </span>