{"action":"created","issue":{"url":"https://api.github.com/repos/drush-ops/drush/issues/1302","labels_url":"https://api.github.com/repos/drush-ops/drush/issues/1302/labels{/name}","comments_url":"https://api.github.com/repos/drush-ops/drush/issues/1302/comments","events_url":"https://api.github.com/repos/drush-ops/drush/issues/1302/events","html_url":"https://github.com/drush-ops/drush/issues/1302","id":65163341,"number":1302,"title":"Drush updb command not working with Drush dev and 7.0.0-rc1, Drupal dev and Beta 9","user":{"login":"jeqq","id":2793969,"avatar_url":"https://avatars.githubusercontent.com/u/2793969?v=3","gravatar_id":"","url":"https://api.github.com/users/jeqq","html_url":"https://github.com/jeqq","followers_url":"https://api.github.com/users/jeqq/followers","following_url":"https://api.github.com/users/jeqq/following{/other_user}","gists_url":"https://api.github.com/users/jeqq/gists{/gist_id}","starred_url":"https://api.github.com/users/jeqq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeqq/subscriptions","organizations_url":"https://api.github.com/users/jeqq/orgs","repos_url":"https://api.github.com/users/jeqq/repos","events_url":"https://api.github.com/users/jeqq/events{/privacy}","received_events_url":"https://api.github.com/users/jeqq/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-03-30T08:47:02Z","updated_at":"2015-03-30T20:22:27Z","closed_at":null,"body":"I'm trying to run updates with `drush  updb` and it fails with this error:\r\n\r\n<pre>PHP Fatal error:  Call to undefined function batch_get() in /home/andrei/.composer/vendor/drush/drush/commands/core/drupal/batch.inc on line 82\r\nPHP Stack trace:\r\nPHP   1. {main}() /home/andrei/.composer/vendor/drush/drush/drush.php:0\r\nPHP   2. drush_main() /home/andrei/.composer/vendor/drush/drush/drush.php:11\r\nPHP   3. Drush\\Boot\\BaseBoot->bootstrap_and_dispatch() /home/andrei/.composer/vendor/drush/drush/drush.php:70\r\nPHP   4. drush_dispatch() /home/andrei/.composer/vendor/drush/drush/lib/Drush/Boot/BaseBoot.php:62\r\nPHP   5. call_user_func_array:{/home/andrei/.composer/vendor/drush/drush/includes/command.inc:187}() /home/andrei/.composer/vendor/drush/drush/includes/command.inc:187\r\nPHP   6. drush_command() /home/andrei/.composer/vendor/drush/drush/includes/command.inc:187\r\nPHP   7. _drush_invoke_hooks() /home/andrei/.composer/vendor/drush/drush/includes/command.inc:219\r\nPHP   8. call_user_func_array:{/home/andrei/.composer/vendor/drush/drush/includes/command.inc:368}() /home/andrei/.composer/vendor/drush/drush/includes/command.inc:368\r\nPHP   9. drush_core_updatedb_batch_process() /home/andrei/.composer/vendor/drush/drush/includes/command.inc:368\r\nPHP  10. _update_batch_command() /home/andrei/.composer/vendor/drush/drush/commands/core/core.drush.inc:1177\r\nPHP  11. drush_batch_command() /home/andrei/.composer/vendor/drush/drush/commands/core/drupal/update.inc:148\r\nPHP  12. _drush_batch_command() /home/andrei/.composer/vendor/drush/drush/includes/batch.inc:90\r\nDrush command terminated abnormally due to an unrecoverable error.                         [error]\r\nError: Call to undefined function batch_get() in\r\n/home/andrei/.composer/vendor/drush/drush/commands/core/drupal/batch.inc, line 82\r\nThe external command could not be executed due to an application error.</pre>\r\n\r\nTested with Drush 7 dev and 7.0.0-rc1, Drupal 8 dev and Beta 9."},"comment":{"url":"https://api.github.com/repos/drush-ops/drush/issues/comments/87819235","html_url":"https://github.com/drush-ops/drush/issues/1302#issuecomment-87819235","issue_url":"https://api.github.com/repos/drush-ops/drush/issues/1302","id":87819235,"user":{"login":"Berdir","id":40826,"avatar_url":"https://avatars.githubusercontent.com/u/40826?v=3","gravatar_id":"","url":"https://api.github.com/users/Berdir","html_url":"https://github.com/Berdir","followers_url":"https://api.github.com/users/Berdir/followers","following_url":"https://api.github.com/users/Berdir/following{/other_user}","gists_url":"https://api.github.com/users/Berdir/gists{/gist_id}","starred_url":"https://api.github.com/users/Berdir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Berdir/subscriptions","organizations_url":"https://api.github.com/users/Berdir/orgs","repos_url":"https://api.github.com/users/Berdir/repos","events_url":"https://api.github.com/users/Berdir/events{/privacy}","received_events_url":"https://api.github.com/users/Berdir/received_events","type":"User","site_admin":false},"created_at":"2015-03-30T20:22:27Z","updated_at":"2015-03-30T20:22:27Z","body":"Pretty sure that the UI works, I've used that after seeing that drush was broken.\r\n\r\nbatch_get() still exists, in form.inc, since 2007 apparently, so I think this is caused by drush change, not a core change. The most recent commit that git log -S with batch_get or form.inc finds is 7 month old."}}