4/4 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%
------ -------------------------------------------------------------------------
Line mob_queue.drush.inc
------ -------------------------------------------------------------------------
49 Call to deprecated function db_update():
as of Drupal 8.0.x, will be removed in Drupal 9.0.0. Instead, get
a database connection injected into your service from the container and
call update() on it. For example,
65 Call to deprecated function drupal_set_time_limit():
in Drupal 8.7.0 and will be removed before Drupal 9.0.0. Use
\Drupal\Core\Environment::setTimeLimit() instead.
------ -------------------------------------------------------------------------
[ERROR] Found 2 errors
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | mob_queue-3075796-1.patch | 1.02 KB | rudranil29 |
Comments
Comment #2
rudranil29 commentedpatch for drupal 9 compatibility
Comment #3
rudranil29 commentedComment #4
wuinfo - bill wu commentedAfter applying the patch, I got the following error when executing the Drush command.
"Error: Class 'Drupal\Core\Environment' not found in
/Users/admin/Sites/devdesktop/drupal-8.1.1.a/modules/mob_queue/mob_queue.drush.inc, line 66 "
Comment #5
rudranil29 commentedYou are running outdated drush please install .. please check drush version 9.5-dev
Comment #6
rudranil29 commentedComment #7
kristen polPer a Slack discussion with Gábor Hojtsy regarding usage of D9 tags (Drupal 9, Drupal 9 compatibility, Drupal 9 readiness, etc.), "Drupal 9 compatibility" should be used for contributed projects that need updating and "Drupal 9" was the old tag for D8 issues before the D9 branch was ready. Doing tag cleanup here based on that discussion.
Comment #9
wuinfo - bill wu commented