SDDS errors with latest XB

Created on 1 March 2025, about 1 month ago

Problem/Motivation

Testing SDDS with latest XB, there are some errors that need sorting:

Warning: file_get_contents(themes/contrib/demo_design_system/dist/civictheme.admin.css): Failed to open stream: No such file or directory in Drupal\Core\Asset\CssCollectionOptimizerLazy->generateHash() (line 43 of core/lib/Drupal/Core/Asset/AssetGroupSetHashTrait.php).
Warning: file_get_contents(themes/contrib/demo_design_system/dist/base.css): Failed to open stream: No such file or directory in Drupal\Core\Asset\CssCollectionOptimizerLazy->generateHash() (line 43 of core/lib/Drupal/Core/Asset/AssetGroupSetHashTrait.php).
Warning: file_get_contents(themes/contrib/demo_design_system/dist/civictheme.admin.css): Failed to open stream: No such file or directory in Drupal\system\Controller\CssAssetController->generateHash() (line 43 of core/lib/Drupal/Core/Asset/AssetGroupSetHashTrait.php).
Warning: file_get_contents(themes/contrib/demo_design_system/dist/base.css): Failed to open stream: No such file or directory in Drupal\system\Controller\CssAssetController->generateHash() (line 43 of core/lib/Drupal/Core/Asset/AssetGroupSetHashTrait.php).
Warning: file_get_contents(themes/contrib/demo_design_system/dist/civictheme.admin.css): Failed to open stream: No such file or directory in Drupal\Core\Asset\CssCollectionOptimizerLazy->generateHash() (line 43 of core/lib/Drupal/Core/Asset/AssetGroupSetHashTrait.php).
Warning: file_get_contents(themes/contrib/demo_design_system/dist/base.css): Failed to open stream: No such file or directory in Drupal\Core\Asset\CssCollectionOptimizerLazy->generateHash() (line 43 of core/lib/Drupal/Core/Asset/AssetGroupSetHashTrait.php).

Steps to reproduce

Proposed resolution

Debug and fix

Remaining tasks

Debug and fix

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States Kristen Pol Santa Cruz, CA, USA

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

Merge Requests

Comments & Activities

  • Issue created by @Kristen Pol
  • πŸ‡ΊπŸ‡ΈUnited States Kristen Pol Santa Cruz, CA, USA

    I missed an install step so those errors are gone now but getting:

    "An unexpected error has occurred while fetching components."

    and no components are showing up.

    Error log:

    Error: Call to a member function getRegion() on null in civictheme_preprocess_block__system_branding_block() (line 27 of /var/www/html/web/themes/contrib/demo_design_system/includes/system_branding.inc).
    
    #0 [internal function]: civictheme_preprocess_block__system_branding_block()
    #1 /var/www/html/web/core/lib/Drupal/Core/Theme/ThemeManager.php(261): call_user_func_array()
    #2 /var/www/html/web/core/lib/Drupal/Core/Render/Renderer.php(446): Drupal\Core\Theme\ThemeManager->render()
    #3 /var/www/html/web/core/lib/Drupal/Core/Render/Renderer.php(203): Drupal\Core\Render\Renderer->doRender()
    #4 /var/www/html/web/core/lib/Drupal/Core/Render/Renderer.php(120): Drupal\Core\Render\Renderer->render()
    #5 /var/www/html/web/core/lib/Drupal/Core/Render/Renderer.php(593): Drupal\Core\Render\Renderer->Drupal\Core\Render\{closure}()
    #6 /var/www/html/web/core/lib/Drupal/Core/Render/Renderer.php(119): Drupal\Core\Render\Renderer->executeInRenderContext()
    #7 /var/www/html/web/modules/contrib/experience_builder/src/ClientSideRepresentation.php(52): Drupal\Core\Render\Renderer->renderInIsolation()
    #8 /var/www/html/web/modules/contrib/experience_builder/src/Controller/ApiConfigControllers.php(234): Drupal\experience_builder\ClientSideRepresentation->renderPreviewIfAny()
    #9 /var/www/html/web/core/lib/Drupal/Core/Render/Renderer.php(593): Drupal\experience_builder\Controller\ApiConfigControllers->Drupal\experience_builder\Controller\{closure}()
    #10 /var/www/html/web/modules/contrib/experience_builder/src/Controller/ApiConfigControllers.php(232): Drupal\Core\Render\Renderer->executeInRenderContext()
    #11 /var/www/html/web/modules/contrib/experience_builder/src/Controller/ApiConfigControllers.php(244): Drupal\experience_builder\Controller\ApiConfigControllers->Drupal\experience_builder\Controller\{closure}()
    #12 /var/www/html/web/modules/contrib/experience_builder/src/Controller/ApiConfigControllers.php(98): Drupal\experience_builder\Controller\ApiConfigControllers->normalize()
    #13 [internal function]: Drupal\experience_builder\Controller\ApiConfigControllers->list()
    #14 /var/www/html/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(123): call_user_func_array()
    #15 /var/www/html/web/core/lib/Drupal/Core/Render/Renderer.php(593): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
    #16 /var/www/html/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(121): Drupal\Core\Render\Renderer->executeInRenderContext()
    #17 /var/www/html/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(97): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext()
    #18 /var/www/html/vendor/symfony/http-kernel/HttpKernel.php(183): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
    #19 /var/www/html/vendor/symfony/http-kernel/HttpKernel.php(76): Symfony\Component\HttpKernel\HttpKernel->handleRaw()
    #20 /var/www/html/web/core/lib/Drupal/Core/StackMiddleware/Session.php(53): Symfony\Component\HttpKernel\HttpKernel->handle()
    #21 /var/www/html/web/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(48): Drupal\Core\StackMiddleware\Session->handle()
    #22 /var/www/html/web/core/lib/Drupal/Core/StackMiddleware/ContentLength.php(28): Drupal\Core\StackMiddleware\KernelPreHandle->handle()
    #23 /var/www/html/web/core/modules/big_pipe/src/StackMiddleware/ContentLength.php(32): Drupal\Core\StackMiddleware\ContentLength->handle()
    #24 /var/www/html/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(116): Drupal\big_pipe\StackMiddleware\ContentLength->handle()
    #25 /var/www/html/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(90): Drupal\page_cache\StackMiddleware\PageCache->pass()
    #26 /var/www/html/web/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(48): Drupal\page_cache\StackMiddleware\PageCache->handle()
    #27 /var/www/html/web/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(51): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle()
    #28 /var/www/html/web/core/lib/Drupal/Core/StackMiddleware/AjaxPageState.php(36): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle()
    #29 /var/www/html/web/core/lib/Drupal/Core/StackMiddleware/StackedHttpKernel.php(51): Drupal\Core\StackMiddleware\AjaxPageState->handle()
    #30 /var/www/html/web/core/lib/Drupal/Core/DrupalKernel.php(709): Drupal\Core\StackMiddleware\StackedHttpKernel->handle()
    #31 /var/www/html/web/index.php(19): Drupal\Core\DrupalKernel->handle()
    #32 {main}
    
  • πŸ‡ΊπŸ‡ΈUnited States Kristen Pol Santa Cruz, CA, USA
  • Merge request !68Check for null block. β†’ (Merged) created by Kristen Pol
  • Pipeline finished with Success
    about 1 month ago
    Total: 166s
    #437360
  • Pipeline finished with Success
    about 1 month ago
    Total: 166s
    #437361
  • πŸ‡ΊπŸ‡ΈUnited States Kristen Pol Santa Cruz, CA, USA

    Merged fix. I can use the components now.

  • πŸ‡ΊπŸ‡ΈUnited States Kristen Pol Santa Cruz, CA, USA
Production build 0.71.5 2024