Drupal 10 -php 8.1
error
Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: You have requested a non-existent service "user.private_tempstore". in Drupal\Component\DependencyInjection\Container->get() (line 157 of /home/***/domains/***/public_html/web/core/lib/Drupal/Component/DependencyInjection/Container.php).
Active
2.1
Code