This module is incompatible with Monolog, because it uses the logger implementation, rather than the interface.
If both modules are enabled, the following error occurs:
TypeError: Argument 5 passed to Drupal\autologout\AutologoutManager::__construct() must be an instance of Drupal\Core\Logger\LoggerChannelFactory, instance of Drupal\monolog\Logger\MonologLoggerChannelFactory given, called in /var/www/core/lib/Drupal/Component/DependencyInjection/Container.php on line 297 in Drupal\autologout\AutologoutManager->__construct() (line 107 of modules/contrib/autologout/src/AutologoutManager.php).
See also #3031246: Use LoggerFactoryInterface instead of LoggerFactory and https://www.drupal.org/project/openid_connect/issues/2854666#comment-121...
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | autologout-interface-3124678-2.patch | 1.37 KB | malcomio |
Comments
Comment #2
malcomio commentedComment #3
boshtian commentedSame patch already in #3124143: Use LoggerChannelFactoryInterface instead of LoggerChannelFactory. Marking this as duplicate, please review the patch there.
Comment #4
boshtian commented