The module <new_profile> does not exist or is not installed

Created on 24 March 2020, over 4 years ago
Updated 15 April 2024, 7 months ago

I'm experiencing a problem where the site says the new profile does not exist or is not installed:

Drupal\Core\Extension\Exception\UnknownExtensionException: The module <new_profile> does not exist or is not installed. in Drupal\Core\Extension\ExtensionList->getExtensionInfo() (line 346 of core/lib/Drupal/Core/Extension/ExtensionList.php).

The solution was to run:

\Drupal::service('extension.list.module')->reset()->getList();

But tried to add this to the ProfileSwitcher class, but this doesn't get picked up. Any ideas?

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇧🇪Belgium tim-diels Belgium 🇧🇪

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024