Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
On installing a module I received the following fatal.
Fatal error: Class 'Settings' not found in /core/modules/update/src/Form/UpdateManagerInstall.php on line 233
Proposed resolution
Add the use Drupal\Core\Site\Settings;
statement.
Steps to Reproduce
- Apply the 2 patches (the latest patch from #1885564: theme.maintenance.inc (authorize.php) - Convert theme_ functions to Twig and #2042447: Install a module user interface does not install modules (or themes) or go to simplytest.me and apply the 2 patches there
- Install D8
- Click "Install a module" button on the extends page
- Install devel (http://ftp.drupal.org/files/projects/devel-8.x-1.x-dev.tar.gz)
- et voila! FATALity
Beta phase evaluation
Issue priority | Major because ... Critical/Not critical because ... |
---|
Comment | File | Size | Author |
---|---|---|---|
#1 | fatal_error_class-2380745-1.patch | 501 bytes | joelpittet |
Comments
Comment #1
joelpittetComment #2
joelpittetComment #3
joelpittetWhoops, just the other issue needs a better re-roll.
Comment #4
joelpittet#2042447: Install a module user interface does not install modules (or themes)