Error: Class "Drupal\ds\ContextProvider\DsBlockFieldEntityContext" not found

Created on 10 February 2024, 5 months ago
Updated 13 February 2024, 5 months ago

Problem/Motivation

Just try to update from 8.x-3.18 to 8.x-3.19, the error message as

The website encountered an unexpected error. Try again later.

Error: Class "Drupal\ds\ContextProvider\DsBlockFieldEntityContext" not found in Drupal\Component\DependencyInjection\Container->createService() (line 259 of core/lib/Drupal/Component/DependencyInjection/Container.php).
Drupal\Component\DependencyInjection\Container->get('ds.ds_block_field_entity_context') (Line: 89)
Drupal\Core\Plugin\Context\LazyContextRepository->getAvailableContexts() (Line: 141)
Drupal\Core\ParamConverter\EntityConverter->convert('home-layout_builder-0', Array, 'page_manager_page_variant', Array) (Line: 100)
Drupal\Core\ParamConverter\ParamConverterManager->convert(Array) (Line: 45)
Drupal\Core\Routing\Enhancer\ParamConversionEnhancer->enhance(Array, Object) (Line: 244)
Drupal\page_manager\Routing\VariantRouteFilter->getRequestAttributes(Object, 'page_manager.page_view_home_home-layout_builder-0', Object) (Line: 128)
Drupal\page_manager\Routing\VariantRouteFilter->getVariantRouteName(Array, Object) (Line: 82)
Drupal\page_manager\Routing\VariantRouteFilter->filter(Object, Object) (Line: 294)
Drupal\Core\Routing\Router->applyRouteFilters(Object, Object) (Line: 146)
Drupal\Core\Routing\Router->matchRequest(Object) (Line: 90)
Drupal\Core\Routing\AccessAwareRouter->matchRequest(Object) (Line: 105)
Symfony\Component\HttpKernel\EventListener\RouterListener->onKernelRequest(Object, 'kernel.request', Object)
call_user_func(Array, Object, 'kernel.request', Object) (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'kernel.request') (Line: 157)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 76)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 28)
Drupal\Core\StackMiddleware\ContentLength->handle(Object, 1, 1) (Line: 32)
Drupal\big_pipe\StackMiddleware\ContentLength->handle(Object, 1, 1) (Line: 106)
Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 57)
Drupal\advban\AdvbanMiddleware->handle(Object, 1, 1) (Line: 50)
Drupal\ban\BanMiddleware->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 36)
Drupal\Core\StackMiddleware\AjaxPageState->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object, 1, 1) (Line: 704)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)

Please help.

Thank you very much in advance,

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Closed: works as designed

Version

3.19

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States geles

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024