Fatal error when Monolog Logging is installed
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #2000876. --> Reported by: [cpliakas](https://www.drupal.org/user/266779) >>> <p>In certain conditions, fatal errors are thrown do the Monolog's classes not being available.</p> <h4>Steps to reproduce</h4> <ul> <li>Enable Composer Manager</li> <li>Enable another project with dependencies managed by Composer (e.g. Git Wrapper)</li> <li>Run <code>drush composer-manager update</code> or update the packages using the Composer tool directly</li> <li>Install Monolog Logging via the Drupal UI</li> </ul> <p>I would assume that fatal errors would be thrown on logging events as well. We should throw a Runtime exception in the monolog() function if the Monolog library is unavailable.</p>
issue