Problem/Motivation
Using drush verson 11.6 (I am using Drupal Commerce which does not seem to support drush 12)
After updating Entity Registration to 3.1.2, drush commands (like "drush status" for instance) result in an error message:
Error: Undefined constant Drush\Drupal\Commands\sql\SanitizeCommands::SANITIZE in ReflectionAttribute->newInstance() (line 44 of [...]/modules/contrib/registration/src/Drush/Commands/RegistrationSanitizeCommands.php)
Downgrading to 3.1.1 fixes the problem.
Steps to reproduce
- Install 3.1.2 update
- run "drush updb" or "drush status"
Issue fork registration-3420760
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
quimicComment #3
quimicComment #7
john.oltman commentedGood catch - I just released 3.1.3 which should take care of this. Please try it and let me know. Thank you.
Comment #8
quimicWow, thank you for the instant fix!
I confirm that the update fixed the issue with drush.