4.0.24 is broken Class "Drupal\shorthand\Drush\Commands\ShorthandCommands" does not exist

Created on 10 September 2025, 23 days ago

I get fatal error Class "Drupal\shorthand\Drush\Commands\ShorthandCommands" does not exist

  • Missing a namespace in ShorthandCommands needs
  • Should be in "src/Commands" not "src/Drush/Commands"
  • there is no "drush.services.yml" file so how are dependencies getting injected
  • Also it is using a hardcoded node type name. First shorthand adds a hardcoded field name which I have pointed out a number of times and now they are hardcoding content types. This is not how Drupal works.

I don't see how the above could have worked for anyone. I'm rolling back to 4.0.23 as 4.0.24 is now broken.

Original Issue: https://www.drupal.org/project/shorthand/issues/3515289#comment-16260381 Allow users to delete Shorthand Stories Active

🐛 Bug report
Status

Needs work

Version

4.0

Component

Code

Created by

🇬🇧United Kingdom paulmartin84

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024