Problem/Motivation
After updating to Core 10.3 and when running a cron job to import feeds, got the TypeError "Argument #6 ($logger) must be of type Drupal\Core\Logger\LoggerChannelInterface, Psr\Log\NullLogger given in Drupal\feeds\FeedsQueueExecutable->__construct()".
Steps to reproduce
Update Drupal Core to v10.3.1 and Feeds to v8.0-3.0-beta5, start the cron job in Drupal UI.
Proposed resolution
One way to fix this is to relax the type hint to Psr\Log\LoggerInterface.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 3468219-1.patch | 1.71 KB | kevin w |
Issue fork feeds-3468219
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
kevin w commentedAdd a patch
Comment #3
megachriz@Kevin W
Thanks for contributing code! Can you perhaps provide your code in a merge request instead? This way, the testbot would evaluate your code changes. Recently, the testbot on drupal.org only runs on merge requests and no longer on patches. This is related to the migration towards GitLab. Patches are still valuable, but a merge request is now better.
Comment #5
megachrizComment #7
megachrizMerged!