Open bradbulger opened 5 years ago
Hello @bradbulger ; thanks for reporting.
I was unable to replicate; usually that means something with the way your backdrop drush extension is set up.
Here is my output:
gff ~/code/drush-ops/backdrop-drush/web (1.x)
└─ $ ∴ lando.dev drush cc all
'all' cache was cleared. [success]
gff ~/code/drush-ops/backdrop-drush/web (1.x)
Make sure you have the backdrop drush extension installed in one of they ways listed in the README: https://github.com/backdrop-contrib/drush/blob/1.x-0.x/README.md and that you are on the latest stable of backdrop-drush or are on 1.x-0.x of the extension.
I had just set up backdrop drush commands in my ~/.drush/commands directory from https://github.com/backdrop-contrib/drush/releases/latest. I have the Devel module enabled, with the "debug" and "deprecated" severity levels turned on.
The issue isn't the notice in itself, I suppose, but whether or not it is running that drupal_flush_all_caches() function, if it's going away in Backdrop.
hmmm ... maybe we'll need to implement a native drush cc all then. Currently we are passing off to drush proper.
drush dl devel && drush en devel -y
deprecated
on /admin/config/development/devel
deprecated
box in the ERROR HANDLING
section gff ~/code/drush-ops/backdrop-drush/web (1.x)
└─ $ ∴ lando.dev drush cc all
Error: Class 'Drupal\Core\Logger\RfcLogLevel' not found in drush_watchdog_severity_levels() (line 334 of /app/web/drush/commands/core/drupal/environment.inc).
Drush command terminated abnormally due to an unrecoverable error. [error]
gff ~/code/drush-ops/backdrop-drush/web (1.x)
I think that's the issue, yes. I don't think "cannot reproduce" is an accurate label.
I don't think "cannot reproduce" is an accurate label.
I'm also seeing this
Fatal error: Uncaught Error: Class 'Drupal\Core\Logger\RfcLogLevel' not found in drush-8/commands/core/drupal/environment.inc:334
when trying to do a drush updb -y
(not sure if it's relevant here...)
edit: For me this was caused by being on an old drush branch.
Getting this notice from drush cc all:
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.