------ ----------------------------------------------------------------------
Line src/Controller/BlocksController.php
------ ----------------------------------------------------------------------
98 Call to deprecated function drupal_set_message():
in Drupal 8.5.0 and will be removed before Drupal 9.0.0.
Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
437 Call to deprecated function drupal_set_message():
in Drupal 8.5.0 and will be removed before Drupal 9.0.0.
Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
------ ----------------------------------------------------------------------
------ ----------------------------------------------------------------------
Line src/Controller/MenuLinksController.php
------ ----------------------------------------------------------------------
85 Call to deprecated function drupal_set_message():
in Drupal 8.5.0 and will be removed before Drupal 9.0.0.
Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
463 Call to deprecated function drupal_set_message():
in Drupal 8.5.0 and will be removed before Drupal 9.0.0.
Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
------ ----------------------------------------------------------------------
------ ----------------------------------------------------------------------
Line src/Controller/TaxonomiesController.php
------ ----------------------------------------------------------------------
57 Call to deprecated function drupal_set_message():
in Drupal 8.5.0 and will be removed before Drupal 9.0.0.
Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
154 Call to deprecated function drupal_set_message():
in Drupal 8.5.0 and will be removed before Drupal 9.0.0.
Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
824 Call to deprecated function drupal_set_message():
in Drupal 8.5.0 and will be removed before Drupal 9.0.0.
Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
------ ----------------------------------------------------------------------
------ ----------------------------------------------------------------------
Line src/Form/TaxonomiesSyncForm.php
------ ----------------------------------------------------------------------
144 Call to deprecated function drupal_set_message():
in Drupal 8.5.0 and will be removed before Drupal 9.0.0.
Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
------ ----------------------------------------------------------------------
| Comment | File | Size | Author |
|---|
Comments
Comment #2
rudranil29 commentedpatch for drupal 9 compatibility
Comment #3
rudranil29 commentedComment #4
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 #5
meet_bhanvadia commentedAdding patch to remove other deprecation.
Comment #6
meet_bhanvadia commentedPlease consider this patch above one was miss upload. Please review!!
Comment #7
smrutha commentedPatch #6 works good.
drupal-check -d web/modules/contrib/structure_sync
11/11 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%
[OK] No errors
Comment #8
smrutha commentedComment #9
ravimane23 commented11/11 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%
------ ------------------------------------------
Line src/Controller/BlocksController.php
------ ------------------------------------------
93 Call to deprecated function drush_log().
248 Call to deprecated function drush_log().
299 Call to deprecated function drush_log().
322 Call to deprecated function drush_log().
375 Call to deprecated function drush_log().
393 Call to deprecated function drush_log().
419 Call to deprecated function drush_log().
------ ------------------------------------------
------ ------------------------------------------
Line src/Controller/MenuLinksController.php
------ ------------------------------------------
78 Call to deprecated function drush_log().
235 Call to deprecated function drush_log().
344 Call to deprecated function drush_log().
400 Call to deprecated function drush_log().
418 Call to deprecated function drush_log().
445 Call to deprecated function drush_log().
------ ------------------------------------------
------ ------------------------------------------
Line src/Controller/TaxonomiesController.php
------ ------------------------------------------
147 Call to deprecated function drush_log().
314 Call to deprecated function drush_log().
468 Call to deprecated function drush_log().
497 Call to deprecated function drush_log().
618 Call to deprecated function drush_log().
678 Call to deprecated function drush_log().
785 Call to deprecated function drush_log().
------ ------------------------------------------
[ERROR] Found 20 errors
Comment #10
ravimane23 commentedComment #11
ravimane23 commentedComment #12
smustgrave commentedThe patch from #10 seemed to work for me on the dev version of the module. Is there anything else to worry about?
Comment #13
carwin commentedPatch in #10 seems to resolve this. Marking RTBC.
Comment #15
colanThanks! See the new 2.0.0 release.
You may want to track #3141810: Automated Drupal Rector fixes for future things.
Comment #16
colanThe following code:
...is causing:
That needs to be a global call. Working on it.
Comment #18
colanFixed as per drupal_set_message() and drupal_get_messages() replaced by Messenger service.
But now I'm seeing:
Any ideas? Looks like it's there to me.
This is failing on:
drush --verbose import-taxonomies --choice safeIf we had tests, this would have been caught earlier. I just created #3175581: Add tests.
Comment #20
colanAs this turned out to be more of a mess than expected, I reverted the bad commit and cut a new release.
Comment #21
mparker17This patch appears to conflate drush logging with Drupal logging and uses
$thisin static functions, etc.Marking as a duplicate of #3141810: Automated Drupal Rector fixes