We got 500 error on addtoany settings page
Symfony\Component\Routing\Exception\RouteNotFoundException: Route "entity.entity_view_display.block_content.default" does not exist.
It happens because module trying to create Link to the bundle's Manage Display page if the entity ID supports the route pattern with disabled Field UI module, so any routes with entity_view_display are disabled.
if (in_array($entityId, $linkableEntities) && $entityType) {
$links[] = Link::createFromRoute(t($label), "entity.entity_view_display.{$entityId}.default", [
$entityType => $machine_name,
])->toString();
}
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | 3046093-fatal-error-on-addtoany-admin-page-3.patch | 1.13 KB | ElegguaDP |
Comments
Comment #2
ElegguaDP commentedComment #3
ElegguaDP commentedRemove dot in comment.
Comment #5
micropat commentedThanks for your report, and for the patch!
Fixed in version
8.x-1.12, just released.