Problem/Motivation

After enabling the designs_layout module and using the adminimal theme as my admin theme, when I flush caches on an admin page, I get the following:

Drupal\Core\Extension\Exception\UnknownExtensionException: The theme Seven does not exist.

The code is trying to load the base theme by its name instead of its machine name.

Steps to reproduce

- Enable designs_layout
- Enable theme with a base theme
- Flush caches and reload a page

Proposed resolution

Adjust DesignManager:392 to

foreach (array_keys($themes) as $theme) {

CommentFileSizeAuthor
#2 unknown_theme_error-3268255-2.patch627 bytesrromore

Comments

rromore created an issue. See original summary.

rromore’s picture

StatusFileSize
new627 bytes
rromore’s picture

Status: Active » Needs review

  • rhys committed 508ec91 on 1.0.x authored by rromore
    Issue #3268255 by rromore: Unknown theme error
    
rhys’s picture

Status: Needs review » Fixed

Looks good, checked the code and it was definitely the right solution.

rhys’s picture

Status: Fixed » Closed (fixed)