backdrop-contrib / backdrop-drush-extension

A set of commands and boot class for Drush and Backdrop CMS.
GNU General Public License v2.0
13 stars 18 forks source link

Running drush cc all -y generates errors #250

Closed Wylbur closed 2 years ago

Wylbur commented 2 years ago

The following error appears in the watchdog log when running drush cc all -y

The function drush_cache_clear_both() (cache.inc:99) called deprecated function drupal_flush_all_caches(). It will be removed in the next major release of Backdrop.

Drush version : 8.4.9-dev
Backdrop Drush : 1.x-1.x

herbdool commented 2 years ago

It looks like not so much an error as a warning. Clearing cache still works I'm guessing? Not sure how easy it is to replace it with the Backdrop version, but until then can ignore the warning.

Wylbur commented 2 years ago

This was my issue, had an old version of drush installed.