I memcached server can't be reached or there is no memcache(d) extension I get the following error:

Fatal error: Uncaught exception 'Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException' with message 'Circular reference detected for service "config.factory", path: "config.factory -> config.typed -> cache.discovery".' in /var/www/drupal8/core/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Container.php on line 282

Not very useful and quite confusing. We should handle this in a different way.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

damiankloip’s picture

I think the error may have changed, but still just as unhelpful :) I'll add something to help for this.

damiankloip’s picture

Status: Active » Needs review
FileSize
1.11 KB

Something like this should help with that.

damiankloip’s picture

FileSize
1.15 KB
306 bytes
damiankloip’s picture

Status: Needs review » Active

@slashrsm, I am just going to commit this initial patch as it helps things out, if you think/want to add better messages, please feel free :)

  • damiankloip committed 45d285c on 8.x-2.x
    Issue #2305791 by damiankloip: Unuseful error in case of problems with...