Uncompatibilities with Drupal 9
Fix the incompatibilities
- Fix error -> Call to deprecated function drupal_set_message(). Deprecated in drupal:8.5.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
- Fix warning -> Class Drupal\events_logging\Plugin\EventLog\Storage\DatabaseStorageBackend was not found while trying to analyse it - autoloading is probably not configured properly.
- Fix warning -> Add core_version_requirement: ^8 || ^9 to events_logging.info.yml to designate that the module is compatible with Drupal 9. See https://www.drupal.org/node/3070687.
Original report by @michele.lucchina and @roberto.muzzano
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | 3108826-4.patch | 3.5 KB | roberto.muzzano |
Comments
Comment #2
michele.lucchina commentedComment #3
michele.lucchina commentedComment #4
roberto.muzzano commentedFix the incompatibilities
Fixed error
Call to deprecated function drupal_set_message(). Deprecated in drupal:8.5.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
Fixed warning
Class Drupal\events_logging\Plugin\EventLog\Storage\DatabaseStorageBackend was not found while trying to analyse it - autoloading is probably not configured properly.
Fixed warning
Add core_version_requirement: ^8 || ^9 to events_logging.info.yml to designate that the module is compatible with Drupal 9. See https://www.drupal.org/node/3070687.
Comment #5
michele.lucchina commentedComment #6
reinchekI've tested the #4 comment's patch. It's worked correctly.
Comment #7
reinchekComment #8
avpadernoComment #9
kristen polComment #10
jonnyeom commentedThoughts on merging this in?
Comment #11
rafuel92 commentedmerged in 8.x-1.5
Comment #12
rafuel92 commented