Closed saschaeggi closed 4 years ago
Shouldn't the core key be left there to also make it work with older Drupal versions? Thought it might only be removed when you have the core_version_requirement to ^8.8 || ^9. https://www.drupal.org/node/3070687
That's right, that was my fault. It's updated now. Thanks!
This gives an error message when clearing the cache:-
Error: Non-static method Drupal\Core\Messenger\MessengerInterface::addMessage() cannot be called statically in Drupal\lite_speed_cache\Form\LSCacheForm->submitThisCache()
Ah yeah, right! It must be \Drupal::messenger()->addMessage($message);
at this point.
Thank you for this! I'll push a commit with the MessengerInterface fix shortly.
Patched the deprecated functions to make it work with Drupal 9