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();
        }

Comments

ElegguaDP created an issue. See original summary.

ElegguaDP’s picture

ElegguaDP’s picture

StatusFileSize
new1.13 KB

Remove dot in comment.

  • micropat committed 9e3ba50 on 8.x-1.x authored by ElegguaDP
    Issue #3046093 by ElegguaDP: Fatal error on addtoany admin page after...
micropat’s picture

Status: Active » Fixed

Thanks for your report, and for the patch!

Fixed in version 8.x-1.12, just released.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.