When disabling dblog you get a fatal error because the DbLog class can't be found.

Fatal error: Class 'Drupal\dblog\Logger\DbLog' not found in /var/www/html/docroot/modules/contrib/dblog_persistent/src/Logger/DbLogPersistent.php on line 21

Basically breaking the site as you can't enable it anymore.

Comments

nielsaers created an issue. See original summary.

cburschka’s picture

Ooof, thanks. I may have assumed it was a required part of core. Should be an easy patch.

  • cburschka committed 0d546e0 on 8.x-1.x
    Issue #3111363: DBlog is an undefined dependency
    
cburschka’s picture

Status: Active » Fixed

I checked just to make sure if it makes sense to keep depending on the core module - this module could certainly exist without it - but it reuses enough of the core functionality to be worth it. (One of the most significant parts is the CSS code, actually.)

Status: Fixed » Closed (fixed)

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