Fatal error when dblog module is disabled
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #2863488. -->
Reported by: [gnuget](https://www.drupal.org/user/992990)
>>>
<p>Hi! </p>
<p>In the projects where I work we don't use the dblog module (instead we save the messages in a log file) so when I installed this module I got an error in the settings page.</p>
<p>After checking the code it seems that the code is trying using the dblog.ovewview route which fails if the module is not installed. </p>
<p>I will provide a patch which basically check if the dblog module is there.</p>
<p>But for this I had to inject the modulehandler service in the SettingsForm.php file which maybe is an overkill, maybe is easier just edit the message so that route don't be used in the string :-p. </p>
<p>I'm ok with any approach, I can provide another patch just changing the description.</p>
<p>Let me know. </p>
<p>Thanks! </p>
issue