Closed (fixed)
Project:
Save All Nodes
Version:
1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Jun 2023 at 18:11 UTC
Updated:
4 Jul 2023 at 10:49 UTC
Jump to comment: Most recent
After enabling the module, drush throws this error: "Type of Drupal\save_all_nodes\Commands\SaveAllNodesCommands::$logger must be ?Psr\Log\LoggerInterface".
Having installed:
1. Drupal 10.0.9
2. Drush 11.5.1
3. drupal/save_all_modules 1.0.1
Install the module with composer and try to using drush.
Fix the type hinting for variable $logger in /src/Commands/SaveAllNodesCommands.php on line 16
I have added a patch.
| Comment | File | Size | Author |
|---|---|---|---|
| save_all_nodes.1.x-dev.drush-logger-interface.patch | 711 bytes | Xalabama |
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
geoanders commentedComment #5
zarpele commentedI can confirm the patch solves the issue, I have created the MR of it.
Comment #7
geoanders commentedThanks for the fix! Now merged in.