hi guys,
just installed drupal-8 and drush-6.0-beta1.
drush cron or cc all working fine, but pm-update gives me an error:
PHP Fatal error: Call to undefined function _update_cache_clear() in /usr/local/share/drush/commands/pm/update_info/drupal.inc on line 63
Drush command terminated abnormally due to an unrecoverable error. [error]
Error: Call to undefined function _update_cache_clear() in
/usr/local/share/drush/commands/pm/update_info/drupal.inc, line 63
The external command could not be executed due to an application [error]
error.
i am not shure if this could be a drush bug or a wrong server configuration.
does anyone have a idea how to fix this?
Comments
Comment #1
hoersche commentedGetting the same error here.
It looks like _update_cache_clear() and some other functions aren't present in the D8 version of the update module in core. My guess is there is a new function that is needed to be used instead. Hopefully there is a more knowledgeable person that can say what that should be so we can update.
a grep for the function sees these two calls in D8, but no definition of the function:
And in drush itself:
Comment #2
greg.1.anderson commentedUpdating title
Comment #3
jonhattan_update_cache_clear() has been replaced by update_storage_clear(), since update.module now uses expirable storage instead of cache.
There's probably further changes. I'll review it.
Comment #4
greg.1.anderson commentedThis issue was marked
closed (won't fix)because Drush has moved to Github.If desired, you may copy this bug to our Github project and then post a link here to the new issue. Please also change the status of this issue to
closed (duplicate).Please ask support questions on Drupal Answers.
Comment #5
moshe weitzman commentedhttps://github.com/drush-ops/drush/issues/47