Compatibility with Drupal 10.3
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3445588. --> Reported by: [mstrelan](https://www.drupal.org/user/314289) Related to !20 >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>Testing out a site on 10.3.x and getting this error:</p> <pre>Fatal error: Uncaught TypeError: Drupal\monolog\Logger\MonologLoggerChannelFactory::__construct(): Argument #1 ($messenger) must be of type Drupal\Core\Messenger\MessengerInterface, Symfony\Component\HttpFoundation\RequestStack given, called in /data/app/core/lib/Drupal/Component/DependencyInjection/Container.php on line 261 and defined in /data/app/modules/contrib/monolog/src/Logger/MonologLoggerChannelFactory.php:72</pre><h4 id="summary-steps-reproduce">Steps to reproduce</h4> <ul> <li>Add very basic kernel test</li> <li>Add <code>OPT_IN_TEST_NEXT_MINOR=1</code> to the variables section of .gitlab-ci.yml</li> </ul> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <h3 id="summary-remaining-tasks">Remaining tasks</h3> <h3 id="summary-ui-changes">User interface changes</h3> <h3 id="summary-api-changes">API changes</h3> <h3 id="summary-data-model-changes">Data model changes</h3>
issue