Problem/Motivation

Node Revision Delete 2.1.0 has an issue, see #3586636: TypeError when verbose_log config setting is not set

Steps to reproduce

Logs:

[2026-04-28T22:23:20Z] TypeError: Drupal\node_revision_delete\Plugin\QueueWorker\NodeRevisionDelete::deleteRevisions(): Argument #3 ($verbose_log) must be of type bool, null given, called in /app/docroot/modules/contrib/node_revision_delete/src/Plugin/QueueWorker/NodeRevisionDelete.php on line 229 in Drupal\node_revision_delete\Plugin\QueueWorker\NodeRevisionDelete->deleteRevisions() (line 328 of /app/docroot/modules/contrib/node_revision_delete/src/Plugin/QueueWorker/NodeRevisionDelete.php) #0 /app/docroot/modules/contrib/node_revision_delete/src/Plugin/QueueWorker/NodeRevisionDelete.php(229): Drupal\node_revision_delete\Plugin\QueueWorker\NodeRevisionDelete->deleteRevisions(Array, Object(Drupal\node\NodeStorage), NULL)
[2026-04-28T22:23:20Z] #1 /app/docroot/modules/contrib/node_revision_delete/src/Plugin/QueueWorker/NodeRevisionDelete.php(97): Drupal\node_revision_delete\Plugin\QueueWorker\NodeRevisionDelete->doProcessItem(62)
[2026-04-28T22:23:20Z] #2 /app/docroot/core/lib/Drupal/Core/Cron.php(208): Drupal\node_revision_delete\Plugin\QueueWorker\NodeRevisionDelete->processItem(62)
[2026-04-28T22:23:20Z] #3 /app/docroot/core/lib/Drupal/Core/Cron.php(173): Drupal\Core\Cron->processQueue(Object(Drupal\Core\Queue\DatabaseQueue), Object(Drupal\node_revision_delete\Plugin\QueueWorker\NodeRevisionDelete))
[2026-04-28T22:23:20Z] #4 /app/docroot/modules/contrib/ultimate_cron/src/UltimateCron.php(70): Drupal\Core\Cron->processQueues()
[2026-04-28T22:23:20Z] #5 /app/vendor/drush/drush/src/Commands/core/DrupalCommands.php(58): Drupal\ultimate_cron\UltimateCron->run()
[2026-04-28T22:23:20Z] #6 [internal function]: Drush\Commands\core\DrupalCommands->cron(Array)
[2026-04-28T22:23:20Z] #7 /app/vendor/consolidation/annotated-command/src/CommandProcessor.php(276): call_user_func_array(Array, Array)
[2026-04-28T22:23:20Z] #8 /app/vendor/consolidation/annotated-command/src/CommandProcessor.php(212): Consolidation\AnnotatedCommand\CommandProcessor->runCommandCallback(Array, Object(Consolidation\AnnotatedCommand\CommandData))
[2026-04-28T22:23:20Z] #9 /app/vendor/consolidation/annotated-command/src/CommandProcessor.php(175): Consolidation\AnnotatedCommand\CommandProcessor->validateRunAndAlter(Array, Array, Object(Consolidation\AnnotatedCommand\CommandData))
[2026-04-28T22:23:20Z] #10 /app/vendor/consolidation/annotated-command/src/AnnotatedCommand.php(389): Consolidation\AnnotatedCommand\CommandProcessor->process(Object(Symfony\Component\Console\Output\ConsoleOutput), Array, Array, Object(Consolidation\AnnotatedCommand\CommandData))
[2026-04-28T22:23:20Z] #11 /app/vendor/symfony/console/Command/Command.php(341): Consolidation\AnnotatedCommand\AnnotatedCommand->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
[2026-04-28T22:23:20Z] #12 /app/vendor/symfony/console/Application.php(1117): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
[2026-04-28T22:23:20Z] #13 /app/vendor/drush/drush/src/Application.php(201): Symfony\Component\Console\Application->doRunCommand(Object(Consolidation\AnnotatedCommand\AnnotatedCommand), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
[2026-04-28T22:23:20Z] #14 /app/vendor/symfony/console/Application.php(356): Drush\Application->doRunCommand(Object(Consolidation\AnnotatedCommand\AnnotatedCommand), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
[2026-04-28T22:23:20Z] #15 /app/vendor/symfony/console/Application.php(195): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
[2026-04-28T22:23:20Z] #16 /app/vendor/drush/drush/src/Runtime/Runtime.php(113): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
[2026-04-28T22:23:20Z] #17 /app/vendor/drush/drush/src/Runtime/Runtime.php(40): Drush\Runtime\Runtime->doRun(Array, Object(Symfony\Component\Console\Output\ConsoleOutput))
[2026-04-28T22:23:20Z] #18 /app/vendor/drush/drush/drush.php(140): Drush\Runtime\Runtime->run(Array)
[2026-04-28T22:23:20Z] #19 /app/vendor/bin/drush.php(119): include('/app/vendor/dru...')
[2026-04-28T22:23:20Z] #20 {main}.


Proposed resolution

Update Node Revision Delete to 2.1.1 (as well as other modules)

Remaining tasks

User interface changes

None

API changes

None

Data model changes

None

Issue fork la_eu-3587818

Command icon 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

taran2l created an issue. See original summary.

taran2l’s picture

| Prod Packages               | Operation | Base    | Target  |
|-----------------------------|-----------|---------|---------|
| drupal/chosen               | Upgraded  | 5.0.4   | 5.0.5   |
| drupal/chosen_lib           | Upgraded  | 5.0.4   | 5.0.5   |
| drupal/config_ignore        | Upgraded  | 3.3.0   | 3.4.0   |
| drupal/imageapi_optimize    | Upgraded  | 4.1.1   | 4.2.0   |
| drupal/linkit               | Upgraded  | 7.0.13  | 7.0.14  |
| drupal/node_revision_delete | Upgraded  | 2.1.0   | 2.1.1   |
| drupal/redirect             | Upgraded  | 1.12.0  | 1.13.0  |
| mck89/peast                 | Upgraded  | v1.17.5 | v1.17.6 |
| npm-asset/noli42--chosen    | Upgraded  | 3.0.2   | 3.0.5   |
| symfony/polyfill-php81      | Upgraded  | v1.36.0 | v1.37.0 |
| symfony/polyfill-php83      | Upgraded  | v1.36.0 | v1.37.0 |

| Dev Packages           | Operation | Base    | Target  |
|------------------------|-----------|---------|---------|
| doctrine/persistence   | Upgraded  | 4.1.1   | 4.2.0   |
| mglaman/phpstan-drupal | Upgraded  | 2.0.14  | 2.0.15  |
| phpstan/phpstan        | Upgraded  | 2.1.51  | 2.1.54  |
| symfony/polyfill-php73 | Upgraded  | v1.36.0 | v1.37.0 |
| symfony/polyfill-php80 | Upgraded  | v1.36.0 | v1.37.0 |
| symfony/polyfill-php82 | Upgraded  | v1.36.0 | v1.37.0 |

taran2l’s picture

Status: Active » Needs review
evilargest’s picture

Status: Needs review » Reviewed & tested by the community

The updates look fine!

  • taran2l committed 5a54994c on staging
    fix: #3587818 Update Node revision delete to the latest version (as well...
taran2l’s picture

Status: Reviewed & tested by the community » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

  • taran2l committed 5a54994c on 2.x
    fix: #3587818 Update Node revision delete to the latest version (as well...

  • taran2l committed 5a54994c on downstream/la_nl
    fix: #3587818 Update Node revision delete to the latest version (as well...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.