Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When I run "drush permissions-user USER", I get an error about an undefined function.
% drush --full permissions-user rickumali
Fatal error: Call to undefined function _drush_user_get_users_from_arguments() in /home/private/.drush/drush_permissions/permissions.drush.inc on line 128
Drush command terminated abnormally due to an unrecoverable error. [error]
Error: Call to undefined function _drush_user_get_users_from_arguments() in
/home/private/.drush/drush_permissions/permissions.drush.inc, line 128
Thank you!
Comment | File | Size | Author |
---|---|---|---|
#2 | undefined_function-1869966-2.patch | 2.8 KB | lolandese |
Comments
Comment #1
greggmarshallI have a feeling you are trying to use this Drush command on a Drupal 6 site, and Drupal 6 doesn't have that function in the API.
Comment #2
lolandese CreditAttribution: lolandese at HCL Technologies Limited commentedThe used function is only available until Drush version 6. See http://api.drush.org/api/drush/commands%21user%21user.drush.inc/function.... This is also the case for the dependency function _drush_user_get_uid(). See http://api.drush.org/api/drush/commands%21user%21user.drush.inc/function....
Solution is to integrate these functions in the code of Drush Permissions.
Comment #4
lolandese CreditAttribution: lolandese at HCL Technologies Limited commented