2.0.0-alpha1 can't work with 10.2.x

Created on 20 December 2023, 11 months ago
Updated 6 February 2024, 9 months ago

After run updb:

An exception has been thrown during the rendering of a template ("The "" plugin does not exist. Valid plugin IDs for Drupal\site_s
  ettings\SiteSettingsLoaderPluginManager are: full, flattened") in "__string_template__ad3d9d102e6e5ac33b7a4ec7da7ccf70" at line 1.
πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡¨πŸ‡³China lawxen

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • 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 10 months ago
  • πŸ‡¬πŸ‡§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 10 months ago
  • πŸ‡¬πŸ‡§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 10 months ago
  • πŸ‡ΊπŸ‡Έ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 10 months ago
  • πŸ‡¬πŸ‡§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.

Production build 0.71.5 2024