Score:-2

Missing or invalid themes

ph flag

I created 2 custom themes a while ago and I deleted them since I don't need them anymore.

Although I deleted all the files, I am still getting this error.

Missing or invalid themes
The following themes are marked as installed in the core.extension configuration, but they are missing.

Is there a way to avoid this error message?

Score:3
cn flag

You need to uninstall modules and themes before removing the files.

To fix:

  1. Restore the deleted themes (if you don’t have them, create stub themes with the same machine names and a single .info.yml file each describing them as a theme)
  2. Uninstall the themes using the UI
  3. Remove the files again

The alternative is manually editing the active configuration, which is potentially much more messy.

user888 avatar
ph flag
I recreated the folders and info.yml files with exact same names and they are not displaying on the appearance menu. Do you know why?
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.