- 🇮🇳India Sivaji_Ganesh_Jojodae Chennai
Steps in comment #17 helped to work around the issue. Thanks @rduplock!
After enabling the memcache_storrage module and Adding the Cache in Settings ($settings['cache']['default'] = 'cache.backend.memcache_storage' ) I got the following error on page requests and cache clear.
Drupal version 8.0.2, Memcached_storrage dev branch (commit 9078f9f4406fc1ee62f6310aab2ba518fc6ab07b, Date: Mon Jan 18 18:15:22 2016 +0300). The Page admin/reports/status reported on memcached_storrage, that it works.
Any hints why this could happen? Thanks.
$ drush cr
exception 'Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException' with message 'You have requested a non-existent service "".' in /Users/tho/htdocs/donkeymedia-d8-refactor-local/html/core/lib/Drupal/Component/DependencyInjection/Container.php:158 [error]
Stack trace:
#0 /Users/tho/htdocs/donkeymedia-d8-refactor-local/html/core/lib/Drupal/Core/DependencyInjection/DependencySerializationTrait.php(54): Drupal\Component\DependencyInjection\Container->get(NULL)
#1 [internal function]: Drupal\Core\Entity\Entity->__wakeup()
#2 /Users/tho/htdocs/donkeymedia-d8-refactor-local/html/modules/memcache_storage/src/DrupalMemcached.php(168): Memcached->getMulti(Array)
#3 /Users/tho/htdocs/donkeymedia-d8-refactor-local/html/modules/memcache_storage/src/MemcachedBackend.php(79): Drupal\memcache_storage\DrupalMemcached->getMulti(Array, 'cache_discovery')
#4 /Users/tho/htdocs/donkeymedia-d8-refactor-local/html/modules/memcache_storage/src/MemcachedBackend.php(69): Drupal\memcache_storage\MemcachedBackend->getMultiple(Array, false)
#5 /Users/tho/htdocs/donkeymedia-d8-refactor-local/html/core/lib/Drupal/Core/Cache/UseCacheBackendTrait.php(42): Drupal\memcache_storage\MemcachedBackend->get('entity_bundle_f...')
#6 /Users/tho/htdocs/donkeymedia-d8-refactor-local/html/core/lib/Drupal/Core/Entity/EntityFieldManager.php(298): Drupal\Core\Entity\EntityFieldManager->cacheGet('entity_bundle_f...')
#7 /Users/tho/htdocs/donkeymedia-d8-refactor-local/html/core/lib/Drupal/Core/Entity/EntityManager.php(148): Drupal\Core\Entity\EntityFieldManager->getFieldDefinitions('block_content', 'basic')
#8 /Users/tho/htdocs/donkeymedia-d8-refactor-local/html/core/modules/views/views.views.inc(252): Drupal\Core\Entity\EntityManager->getFieldDefinitions('block_content', 'basic')
#9 /Users/tho/htdocs/donkeymedia-d8-refactor-local/html/core/modules/views/views.views.inc(409): views_entity_field_label('block_content', 'body')
#10 /Users/tho/htdocs/donkeymedia-d8-refactor-local/html/core/modules/views/views.views.inc(185): views_field_default_views_data(Object(Drupal\field\Entity\FieldStorageConfig))
#11 [internal function]: views_views_data()
#12 /Users/tho/htdocs/donkeymedia-d8-refactor-local/html/core/lib/Drupal/Core/Extension/ModuleHandler.php(382): call_user_func_array('views_views_dat...', Array)
#13 /Users/tho/htdocs/donkeymedia-d8-refactor-local/html/core/modules/views/src/ViewsData.php(237): Drupal\Core\Extension\ModuleHandler->invoke('views', 'views_data')
#14 /Users/tho/htdocs/donkeymedia-d8-refactor-local/html/core/modules/views/src/ViewsData.php(140): Drupal\views\ViewsData->getData()
#15 /Users/tho/htdocs/donkeymedia-d8-refactor-local/html/modules/git_repos/ds/src/Plugin/Derivative/DsEntityRow.php(96): Drupal\views\ViewsData->get('block_content')
#16 /Users/tho/htdocs/donkeymedia-d8-refactor-local/html/core/lib/Drupal/Component/Plugin/Discovery/DerivativeDiscoveryDecorator.php(105): Drupal\ds\Plugin\Derivative\DsEntityRow->getDerivativeDefinitions(Array)
#17 /Users/tho/htdocs/donkeymedia-d8-refactor-local/html/core/lib/Drupal/Component/Plugin/Discovery/DerivativeDiscoveryDecorator.php(91): Drupal\Component\Plugin\Discovery\DerivativeDiscoveryDecorator->getDerivatives(Array)
#18 /Users/tho/htdocs/donkeymedia-d8-refactor-local/html/core/lib/Drupal/Core/Plugin/DefaultPluginManager.php(268): Drupal\Component\Plugin\Discovery\DerivativeDiscoveryDecorator->getDefinitions()
#19 /Users/tho/htdocs/donkeymedia-d8-refactor-local/html/core/lib/Drupal/Core/Plugin/DefaultPluginManager.php(168): Drupal\Core\Plugin\DefaultPluginManager->findDefinitions()
#20 /Users/tho/htdocs/donkeymedia-d8-refactor-local/html/core/lib/Drupal/Component/Plugin/Discovery/DiscoveryCachedTrait.php(27): Drupal\Core\Plugin\DefaultPluginManager->getDefinitions()
#21 /Users/tho/htdocs/donkeymedia-d8-refactor-local/html/core/lib/Drupal/Core/Plugin/Factory/ContainerFactory.php(20): Drupal\Core\Plugin\DefaultPluginManager->getDefinition('ds_entity:node')
#22 /Users/tho/htdocs/donkeymedia-d8-refactor-local/html/core/lib/Drupal/Component/Plugin/PluginManagerBase.php(89): Drupal\Core\Plugin\Factory\ContainerFactory->createInstance('ds_entity:node', Array)
#23 /Users/tho/htdocs/donkeymedia-d8-refactor-local/html/core/modules/views/src/Plugin/views/display/DisplayPluginBase.php(815): Drupal\Component\Plugin\PluginManagerBase->createInstance('ds_entity:node')
#24 /Users/tho/htdocs/donkeymedia-d8-refactor-local/html/core/modules/views/src/Plugin/views/style/StylePluginBase.php(128): Drupal\views\Plugin\views\display\DisplayPluginBase->getPlugin('row')
#25 /Users/tho/htdocs/donkeymedia-d8-refactor-local/html/core/modules/views/src/Plugin/views/display/DisplayPluginBase.php(818): Drupal\views\Plugin\views\style\StylePluginBase->init(Object(Drupal\views\ViewExecutable), Object(Drupal\views\Plugin\views\display\Page),
Array)
#26 /Users/tho/htdocs/donkeymedia-d8-refactor-local/html/core/modules/views/src/ViewExecutable.php(838): Drupal\views\Plugin\views\display\DisplayPluginBase->getPlugin('style')
#27 /Users/tho/htdocs/donkeymedia-d8-refactor-local/html/core/modules/views/src/ViewExecutable.php(1713): Drupal\views\ViewExecutable->initStyle()
#28 /Users/tho/htdocs/donkeymedia-d8-refactor-local/html/core/modules/views/src/Plugin/views/display/PathPluginBase.php(137): Drupal\views\ViewExecutable->getTitle()
#29 /Users/tho/htdocs/donkeymedia-d8-refactor-local/html/core/modules/views/src/Plugin/views/display/PathPluginBase.php(225): Drupal\views\Plugin\views\display\PathPluginBase->getRoute('donkeymedia_vie...', 'blog_page')
#30 /Users/tho/htdocs/donkeymedia-d8-refactor-local/html/core/modules/views/src/EventSubscriber/RouteSubscriber.php(125): Drupal\views\Plugin\views\display\PathPluginBase->collectRoutes(Object(Symfony\Component\Routing\RouteCollection))
#31 [internal function]: Drupal\views\EventSubscriber\RouteSubscriber->routes()
#32 /Users/tho/htdocs/donkeymedia-d8-refactor-local/html/core/lib/Drupal/Core/Routing/RouteBuilder.php(151): call_user_func(Array)
#33 /Users/tho/htdocs/donkeymedia-d8-refactor-local/html/core/lib/Drupal/Core/ProxyClass/Routing/RouteBuilder.php(87): Drupal\Core\Routing\RouteBuilder->rebuild()
#34 /Users/tho/htdocs/donkeymedia-d8-refactor-local/html/core/includes/common.inc(1142): Drupal\Core\ProxyClass\Routing\RouteBuilder->rebuild()
#35 /Users/tho/htdocs/donkeymedia-d8-refactor-local/html/core/includes/utility.inc(51): drupal_flush_all_caches()
#36 /opt/local/drush/drush8/vendor/drush/drush/commands/core/cache.drush.inc(291): drupal_rebuild(Object(Composer\Autoload\ClassLoader), Object(Symfony\Component\HttpFoundation\Request))
#37 [internal function]: drush_cache_rebuild()
#38 /opt/local/drush/drush8/vendor/drush/drush/includes/command.inc(366): call_user_func_array('drush_cache_reb...', Array)
#39 /opt/local/drush/drush8/vendor/drush/drush/includes/command.inc(217): _drush_invoke_hooks(Array, Array)
#40 [internal function]: drush_command()
#41 /opt/local/drush/drush8/vendor/drush/drush/includes/command.inc(185): call_user_func_array('drush_command', Array)
#42 /opt/local/drush/drush8/vendor/drush/drush/lib/Drush/Boot/BaseBoot.php(67): drush_dispatch(Array)
#43 /opt/local/drush/drush8/vendor/drush/drush/includes/preflight.inc(66): Drush\Boot\BaseBoot->bootstrap_and_dispatch()
#44 /opt/local/drush/drush8/vendor/drush/drush/drush.php(12): drush_main()
#45 {main}
Active
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Steps in comment #17 helped to work around the issue. Thanks @rduplock!