- Issue created by @bgilhome
The messenger property of DefaultController is not set - use the messenger() method of the parent class' MessengerTrait.
Flush the facebook cache for a node, the error message "Call to a member function addMessage() on null in Drupal\facebook_flush_cache\Controller\DefaultController->execute()" is shown.
Attached patch uses the messenger() method.
Needs review
1.0
Code