- 🇦🇪United Arab Emirates ThirstySix
In Drupal 9
\Drupal::hasService('cache.backend.memcache')
condition not working on settings.php
exception 'Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException' with message 'You have requested a non-existent [error]
service "cache.backend.memcache". Did you mean one of these: "cache.backend.database", "cache.backend.apcu", "cache.backend.php",
"cache.backend.memory"?'
I am getting the following error in my error log and "The website encountered an unexpected error. Please try again later." error message on the web interface.
Irrespective of the reason I think there should be exception handling for this.
Raising the priority to critical as it is taking the site down.
Closed: won't fix
2.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
In Drupal 9
\Drupal::hasService('cache.backend.memcache')
condition not working on settings.php