When "Help" module is disabled (which is often the case on custom installation profile), setting "Tweme" as default theme crash with the following error message:

Uncaught PHP Exception Drupal\\Core\\Config\\UnmetDependenciesException: "Configuration objects provided by tweme have unmet dependencies: block.block.tweme_help (help)" at /core/lib/Drupal/Core/Config/UnmetDependenciesException.php line 98, referer: /admin/appearance

Comments

Simon Georges created an issue. See original summary.

znak’s picture

Status: Active » Needs review
StatusFileSize
new253 bytes

Maybe, this patch can help you

simon georges’s picture

It probably will, but should a theme depend on "Help" module being enabled?

  • tonystar committed 3cdd487 on 8.x-4.x
    Issue #2860401 by Znak, Simon Georges, tonystar: Error during...
anton-staroverov’s picture

Status: Needs review » Fixed

@Znak, thanks for reporting!

@Simon Georges, you are right, theme shouldn't depend on such modules => so I removed configurations causing the issue!

  • tonystar committed d7252b1 on 8.x-4.x
    Revert "Issue #2860401 by Znak, Simon Georges, tonystar: Error during...

  • tonystar committed a7ea468 on 8.x-4.x
    Make block configurations optional
    
    Fixes #2860401 properly.
    

Status: Fixed » Closed (fixed)

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