PHP Fatal error:  Call to undefined function Drupal\user\Entity\drupal_session_destroy_uid() in /var/www/d8/drupal/core/modules/user/lib/Drupal/user/Entity/User.php on line 113
PHP Stack trace:
PHP   1. {main}() /home/viktor/github/drush/drush.php:0
PHP   2. drush_main() /home/viktor/github/drush/drush.php:16
PHP   3. _drush_bootstrap_and_dispatch() /home/viktor/github/drush/drush.php:61
PHP   4. drush_dispatch() /home/viktor/github/drush/drush.php:92
PHP   5. call_user_func_array() /home/viktor/github/drush/includes/command.inc:182
PHP   6. drush_command() /home/viktor/github/drush/includes/command.inc:182
PHP   7. _drush_invoke_hooks() /home/viktor/github/drush/includes/command.inc:214
PHP   8. call_user_func_array() /home/viktor/github/drush/includes/command.inc:362
PHP   9. drush_user_password() /home/viktor/github/drush/includes/command.inc:362
PHP  10. Drupal\Core\Entity\Entity->save() /home/viktor/github/drush/commands/user/user.drush.inc:417
PHP  11. Drupal\user\UserStorageController->save() /var/www/d8/drupal/core/lib/Drupal/Core/Entity/Entity.php:431
PHP  12. Drupal\Core\Entity\DatabaseStorageControllerNG->save() /var/www/d8/drupal/core/modules/user/lib/Drupal/user/UserStorageController.php:111
PHP  13. Drupal\user\Entity\User->postSave() /var/www/d8/drupal/core/lib/Drupal/Core/Entity/DatabaseStorageControllerNG.php:364
Drush command terminated abnormally due to an unrecoverable error.                                                                         [error]
Error: Call to undefined function Drupal\user\Entity\drupal_session_destroy_uid() in
/var/www/d8/drupal/core/modules/user/lib/Drupal/user/Entity/User.php, line 113
CommentFileSizeAuthor
#1 drush_upwd-2100157-1.patch555 bytesAnonymous (not verified)

Comments

Anonymous’s picture

Status: Active » Needs review
StatusFileSize
new555 bytes
greg.1.anderson’s picture

Category: bug » support
Status: Needs review » Fixed

The 8.x-6.x branch on drupal.org is no longer being used by the Drush project. Please check out the master branch from our GitHub project; you should find this bug already fixed there.

greg.1.anderson’s picture

Category: support » bug
Status: Fixed » Closed (duplicate)

I see this is not fixed in master, and that you already opened an issue for it on GitHub here: https://github.com/drush-ops/drush/issues/166

Thanks.