A Drupal 8 site started pestering me to upgrade Twig Tweak from 8.x-2.8 to 8.x-2.9. I went to the directory and ran
composer require 'drupal/twig_tweak:^2.9' which seemed to work. I also did
drush cr. When I go back into the Drupal web interface it still thinks I'm on the older version of Twig Tweak and wants me to upgrade. If I run the composer command again, it thinks I'm already upgraded. How do I get these two things to play nice with each other?
(You might be wondering why I didn't just use the web interface to upgrade. If I do that I have even bigger problems so I'm sticking to composer for now.)
Update: output of composer show
descrip. : A Twig extension with some useful functions and filters for Drupal development. keywords : Drupal, Twig versions : * 2.9.0 type : drupal-module license : GNU General Public License v2.0 or later (GPL-2.0+) (OSI approved) https://spdx.org/licenses/GPL-2.0+.html#licenseText homepage : https://www.drupal.org/project/twig_tweak source : [git] https://git.drupalcode.org/project/twig_tweak.git 8.x-2.9 dist : [zip] https://ftp.drupal.org/files/projects/twig_tweak-8.x-2.9.zip 8.x-2.9 path : /var/www/html/ycfld/modules/contrib/twig_tweak names : drupal/twig_tweak support source : https://git.drupalcode.org/project/twig_tweak issues : https://www.drupal.org/project/issues/twig_tweak requires drupal/core ^8.7 || ^9.0 twig/twig ^1.41 || ^2.12 suggests symfony/var-dumper Better dump() function for debugging Twig variables```