commerce 모듈을 제거하려고합니다.drupal 8 commerce를 제거 할 때 예기치 않은 오류가 발생했습니다.
커머스 모듈로 템플릿을 구입하고 데모 데이터가있는 파일을 사용했습니다. 템플릿 제공 업체에 연락했으며 템플릿과 관련된 문제가 아니라 모듈과 관련된 문제임을 분명히했습니다.
모듈을 하나씩 제거하고 각 제거 사이에 모든 캐시를 플러시했습니다.
또한 모듈을 제거하기 전에 주문, 제품 등 모든보기, 블록 및 상거래 데이터를 삭제했습니다.
Commerce, Commerce Price, Commerce Store 및 Commerce Product를 제외한 모든 Commerce 모듈을 설치 제거 할 수 있습니다.
Commerce Product 설치 제거를 시도 할 때마다 어떤 이유로 완료되지 않습니다. 나만받습니다.
The website encountered an unexpected error. Please try again later.</br></br><em class="placeholder">Drupal\Component\Plugin\Exception\PluginNotFoundException</em>: The "commerce_product" entity type does not exist. in <em class="placeholder">Drupal\Core\Entity\EntityTypeManager->getDefinition()</em> (line <em class="placeholder">133</em> of <em class="placeholder">core/lib/Drupal/Core/Entity/EntityTypeManager.php</em>). <pre class="backtrace">flag_views_data_alter(Array, NULL, NULL) (Line: 501)
Drupal\Core\Extension\ModuleHandler->alter('views_data', Array) (Line: 254)
Drupal\views\ViewsData->getData() (Line: 162)
Drupal\views\ViewsData->get('block_content') (Line: 91)
Drupal\views\Plugin\Derivative\ViewsEntityRow->getDerivativeDefinitions(Array) (Line: 101)
Drupal\Component\Plugin\Discovery\DerivativeDiscoveryDecorator->getDerivatives(Array) (Line: 87)
Drupal\Component\Plugin\Discovery\DerivativeDiscoveryDecorator->getDefinitions() (Line: 283)
Drupal\Core\Plugin\DefaultPluginManager->findDefinitions() (Line: 174)
Drupal\Core\Plugin\DefaultPluginManager->getDefinitions() (Line: 22)
Drupal\Core\Plugin\DefaultPluginManager->getDefinition('entity:node') (Line: 16)
Drupal\Core\Plugin\Factory\ContainerFactory->createInstance('entity:node', Array) (Line: 84)
Drupal\Component\Plugin\PluginManagerBase->createInstance('entity:node') (Line: 818)
Drupal\views\Plugin\views\display\DisplayPluginBase->getPlugin('row') (Line: 122)
Drupal\views\Plugin\views\style\StylePluginBase->init(Object, Object, Array) (Line: 821)
Drupal\views\Plugin\views\display\DisplayPluginBase->getPlugin('style') (Line: 883)
Drupal\views\ViewExecutable->initStyle() (Line: 1840)
Drupal\views\ViewExecutable->getTitle() (Line: 132)
Drupal\views\Plugin\views\display\PathPluginBase->getRoute('blog', 'page') (Line: 220)
Drupal\views\Plugin\views\display\PathPluginBase->collectRoutes(Object) (Line: 120)
Drupal\views\EventSubscriber\RouteSubscriber->routes()
call_user_func(Array) (Line: 146)
Drupal\Core\Routing\RouteBuilder->rebuild() (Line: 83)
Drupal\Core\ProxyClass\Routing\RouteBuilder->rebuild() (Line: 477)
Drupal\Core\Extension\ModuleInstaller->uninstall(Array, 1) (Line: 91)
Drupal\Core\ProxyClass\Extension\ModuleInstaller->uninstall(Array) (Line: 160)
Drupal\system\Form\ModulesUninstallConfirmForm->submitForm(Array, Object)
call_user_func_array(Array, Array) (Line: 111)
Drupal\Core\Form\FormSubmitter->executeSubmitHandlers(Array, Object) (Line: 51)
Drupal\Core\Form\FormSubmitter->doSubmitForm(Array, Object) (Line: 585)
Drupal\Core\Form\FormBuilder->processForm('system_modules_uninstall_confirm_form', Array, Object) (Line: 314)
Drupal\Core\Form\FormBuilder->buildForm('system_modules_uninstall_confirm_form', Object) (Line: 74)
Drupal\Core\Controller\FormController->getContentResult(Object, Object)
call_user_func_array(Array, Array) (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 576)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 124)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
call_user_func_array(Object, Array) (Line: 153)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 50)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 657)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
</pre>
더 이상 웹 사이트에 액세스 할 수 없습니다.
나에게 오류의 원인을 설명 할 수 있습니까?
먼저 Cron을 실행 해보십시오. –
응답 해 주셔서 감사합니다. 나는 그렇게했다. 이 문제는 여전히 동일합니다. 내 생각 엔 모듈의 일부보기/차단은 제거 할 때 삭제되지 않는 것입니다. 따라서 프런트 엔드가로드되면이 오류가 발생합니다. – Natraj