Call to undefined drush_set_error

Created on 29 December 2020, almost 4 years ago
Updated 4 September 2023, over 1 year ago

Problem/Motivation

I first installed 2.0 on my Drupal 8 site and tried to delete the nodes of a custom type using

drush dade --type=custom_content_type

And I get the error: Error: Call to undefined function Drupal\delete_all\Commands\drush_get_option() in Drupal\delete_all\Commands\DeleteAllCommands->allDeleteEntities()

So then I applied this patch: https://www.drupal.org/files/issues/2020-01-30/3110122-call-to-undefined... , and now I get the error Call to undefined function Drupal\delete_all\Commands\drush_set_error() in Drupal\delete_all\Commands\DeleteAllCommands->allDeleteEntities()

Steps to reproduce

run drush dade on custom entity type after applying this patch: https://www.drupal.org/files/issues/2020-01-30/3110122-call-to-undefined...

🐛 Bug report
Status

Closed: duplicate

Version

2.0

Component

Code

Created by

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

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