- Issue created by @lawxen
- πΊπΈUnited States joestewart
Using Drupal 10.2.0:
1.20 emits many of the following error on site install as well
[error] Unexpected error during import with operation create for site_settings.site_setting_entity_type.footer: Route "entity.site_setting_entity_type.canonical" does not exist.
1.x-dev installs the site without either of these errors. But haven't checked for correct behavior.
- π§πͺBelgium leanderjcc Ghent
I can confirm that after upgrading to 10.2 the site settings menu link stopped working.
I am checking what the issue is and have determined that the canonical route is not built in DefaultHtmlRouteProvider because the hasViewBuilderClass returns FALSE.
Next step being decide of the canonical link is needed? If not that can be removed, else a ViewBuilderClass should be provided.
- Status changed to Postponed: needs info
11 months ago 5:39pm 17 January 2024 - π¬π§United Kingdom scott_euser
Thanks for the details. I just created an 2.0.0-alpha2 release, can you confirm if that solves it for you?
Not quite. Solves this but throws another error.
Don't have the details atm, I will try to update later on.
Is work done still on this?
- Status changed to Fixed
11 months ago 6:53pm 18 January 2024 - π¬π§United Kingdom scott_euser
https://www.drupal.org/project/site_settings/issues/3410320#comment-1540... π Routing error with Drupal 10.2 (Route "entity.site_setting_entity_type.canonical" does not exist) Closed: duplicate another user confirmed it fixed it. Perhaps if there is another issue a seperate issue needs to be opened. If same issue please re-open this.
Thanks!
- Status changed to Needs work
11 months ago 7:52pm 22 January 2024 - πΊπΈUnited States asokolov
Hi, I am reopening this ticket as the issue is still present when installing Drupal.
We get the following error:
Additional uncaught exception thrown while handling exception.
Original
Drupal\Component\Plugin\Exception\PluginNotFoundException: The "" plugin does not exist. Valid plugin IDs for Drupal\site_settings\SiteSettingsLoaderPluginManager are: full, flattened in Drupal\Core\Plugin\DefaultPluginManager->doGetDefinition() (line 53 of /app/web/core/lib/Drupal/Component/Plugin/Discovery/DiscoveryTrait.php).
Drupal\Core\Plugin\DefaultPluginManager->doGetDefinition(Array, NULL, 1) (Line: 25)
Drupal\Core\Plugin\DefaultPluginManager->getDefinition(NULL) (Line: 16)
Drupal\Core\Plugin\Factory\ContainerFactory->createInstance(NULL, Array) (Line: 83)
Drupal\Component\Plugin\PluginManagerBase->createInstance(NULL) (Line: 63)
Drupal\site_settings\SiteSettingsLoaderPluginManager->getActiveLoaderPlugin() (Line: 75)
site_settings_preprocess(Array, 'html', Array)
call_user_func_array('site_settings_preprocess', Array) (Line: 261)
Drupal\Core\Theme\ThemeManager->render('html', Array) (Line: 480)
Drupal\Core\Render\Renderer->doRender(Array, 1) (Line: 240)
Drupal\Core\Render\Renderer->render(Array, 1) (Line: 153)
Drupal\Core\Render\Renderer->Drupal\Core\Render\{closure}() (Line: 627)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 154)
Drupal\Core\Render\Renderer->renderRoot(Array) (Line: 66)
Drupal\Core\Render\BareHtmlPageRenderer->renderBarePage(Array, Object, 'install_page', Array) (Line: 76)
Drupal\Core\ProxyClass\Render\BareHtmlPageRenderer->renderBarePage(Array, Object, 'install_page', Array) (Line: 1074)
install_display_output(Array, Array) (Line: 163)
install_drupal(Object) (Line: 48)Additional
Drupal\Component\Plugin\Exception\PluginNotFoundException: The "" plugin does not exist. Valid plugin IDs for Drupal\site_settings\SiteSettingsLoaderPluginManager are: full, flattened in Drupal\Core\Plugin\DefaultPluginManager->doGetDefinition() (line 53 of /app/web/core/lib/Drupal/Component/Plugin/Discovery/DiscoveryTrait.php).
Drupal\Core\Plugin\DefaultPluginManager->doGetDefinition(Array, NULL, 1) (Line: 25)
Drupal\Core\Plugin\DefaultPluginManager->getDefinition(NULL) (Line: 16)
Drupal\Core\Plugin\Factory\ContainerFactory->createInstance(NULL, Array) (Line: 83)
Drupal\Component\Plugin\PluginManagerBase->createInstance(NULL) (Line: 63)
Drupal\site_settings\SiteSettingsLoaderPluginManager->getActiveLoaderPlugin() (Line: 75)
site_settings_preprocess(Array, 'html', Array)
call_user_func_array('site_settings_preprocess', Array) (Line: 261)
Drupal\Core\Theme\ThemeManager->render('html', Array) (Line: 480)
Drupal\Core\Render\Renderer->doRender(Array, 1) (Line: 240)
Drupal\Core\Render\Renderer->render(Array, 1) (Line: 153)
Drupal\Core\Render\Renderer->Drupal\Core\Render\{closure}() (Line: 627)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 154)
Drupal\Core\Render\Renderer->renderRoot(Array) (Line: 66)
Drupal\Core\Render\BareHtmlPageRenderer->renderBarePage(Array, 'Error', 'install_page', Array) (Line: 76)
Drupal\Core\ProxyClass\Render\BareHtmlPageRenderer->renderBarePage(Array, 'Error', 'install_page', Array) (Line: 1074)
install_display_output(Array, Array) (Line: 271)
_drupal_log_error(Array, 1) (Line: 182)
_drupal_exception_handler(Object) - Status changed to Fixed
11 months ago 11:17am 23 January 2024 - π¬π§United Kingdom scott_euser
Thanks for raising! Seems like that is a separate issue @asokolov so I have moved it over to https://www.drupal.org/project/site_settings/issues/3416439 π Plugin not found exception when upgrading to 2x Needs work with updated information.
Automatically closed - issue fixed for 2 weeks with no activity.