Модуль Drupal 8 Gutenberg предотвращает редактирование существующих элементов веб-формы и добавление новых

#drupal #drupal-8 #drupal-modules #wordpress-gutenberg #drupal-webform

#drupal #drupal-8 #drupal-модули #wordpress-gutenberg #drupal-webform

Вопрос:

У меня есть сайт на Drupal 8.9.6 с Gutenberg 8.x-1.11 и Webform 8.x-5.20. Когда мы переходим к редактированию существующих элементов веб-формы или добавлению нового элемента, мы получаем следующую ошибку:

     Error: Call to undefined method DrupalwebformEntityWebform::getFields() in gutenberg_entity_presave() (line 621 of /code/web/modules/contrib/gutenberg/gutenberg.module)
    #0 [internal function]: gutenberg_entity_presave(Object(DrupalwebformEntityWebform), 'webform')
    #1 /code/web/core/lib/Drupal/Core/Extension/ModuleHandler.php(403): call_user_func_array('gutenberg_entit...', Array)
    #2 /code/web/core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.php(349): DrupalCoreExtensionModuleHandler->invokeAll('entity_presave', Array)
    #3 /code/web/core/lib/Drupal/Core/Entity/EntityStorageBase.php(500): DrupalCoreConfigEntityConfigEntityStorage->invokeHook('presave', Object(DrupalwebformEntityWebform))
    #4 /code/web/core/lib/Drupal/Core/Entity/EntityStorageBase.php(454): DrupalCoreEntityEntityStorageBase->doPreSave(Object(DrupalwebformEntityWebform))
    #5 /code/web/core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.php(263): DrupalCoreEntityEntityStorageBase->save(Object(DrupalwebformEntityWebform))
    #6 /code/web/modules/contrib/webform/src/WebformEntityStorage.php(133): DrupalCoreConfigEntityConfigEntityStorage->save(Object(DrupalwebformEntityWebform))
    #7 /code/web/core/lib/Drupal/Core/Entity/EntityBase.php(395): DrupalwebformWebformEntityStorage->save(Object(DrupalwebformEntityWebform))
    #8 /code/web/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php(616): DrupalCoreEntityEntityBase->save()
    #9 /code/web/modules/contrib/webform/modules/webform_ui/src/Form/WebformUiElementDeleteForm.php(217): DrupalCoreConfigEntityConfigEntityBase->save()
    #10 [internal function]: Drupalwebform_uiFormWebformUiElementDeleteForm->submitForm(Array, Object(DrupalCoreFormFormState))
    #11 /code/web/core/lib/Drupal/Core/Form/FormSubmitter.php(114): call_user_func_array(Array, Array)
    #12 /code/web/core/lib/Drupal/Core/Form/FormSubmitter.php(52): DrupalCoreFormFormSubmitter->executeSubmitHandlers(Array, Object(DrupalCoreFormFormState))
    #13 /code/web/core/lib/Drupal/Core/Form/FormBuilder.php(593): DrupalCoreFormFormSubmitter->doSubmitForm(Array, Object(DrupalCoreFormFormState))
    #14 /code/web/core/lib/Drupal/Core/Form/FormBuilder.php(321): DrupalCoreFormFormBuilder->processForm('webform_ui_elem...', Array, Object(DrupalCoreFormFormState))
    #15 /code/web/core/lib/Drupal/Core/Controller/FormController.php(91): DrupalCoreFormFormBuilder->buildForm(Object(Drupalwebform_uiFormWebformUiElementDeleteForm), Object(DrupalCoreFormFormState))
    #16 [internal function]: DrupalCoreControllerFormController->getContentResult(Object(SymfonyComponentHttpFoundationRequest), Object(DrupalCoreRoutingRouteMatch))
    #17 /code/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(123): call_user_func_array(Array, Array)
    #18 /code/web/core/lib/Drupal/Core/Render/Renderer.php(573): DrupalCoreEventSubscriberEarlyRenderingControllerWrapperSubscriber->DrupalCoreEventSubscriber{closure}()
    #19 /code/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(124): DrupalCoreRenderRenderer->executeInRenderContext(Object(DrupalCoreRenderRenderContext), Object(Closure))
    #20 /code/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(97): DrupalCoreEventSubscriberEarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array)
    #21 /code/vendor/symfony/http-kernel/HttpKernel.php(151): DrupalCoreEventSubscriberEarlyRenderingControllerWrapperSubscriber->DrupalCoreEventSubscriber{closure}()
    #22 /code/vendor/symfony/http-kernel/HttpKernel.php(68): SymfonyComponentHttpKernelHttpKernel->handleRaw(Object(SymfonyComponentHttpFoundationRequest), 1)
    #23 /code/web/core/lib/Drupal/Core/StackMiddleware/Session.php(57): SymfonyComponentHttpKernelHttpKernel->handle(Object(SymfonyComponentHttpFoundationRequest), 1, true)
    #24 /code/web/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(47): DrupalCoreStackMiddlewareSession->handle(Object(SymfonyComponentHttpFoundationRequest), 1, true)
    #25 /code/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(106): DrupalCoreStackMiddlewareKernelPreHandle->handle(Object(SymfonyComponentHttpFoundationRequest), 1, true)
    #26 /code/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(85): Drupalpage_cacheStackMiddlewarePageCache->pass(Object(SymfonyComponentHttpFoundationRequest), 1, true)
    #27 /code/vendor/asm89/stack-cors/src/Asm89/Stack/Cors.php(49): Drupalpage_cacheStackMiddlewarePageCache->handle(Object(SymfonyComponentHttpFoundationRequest), 1, true)
    #28 /code/web/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(47): Asm89StackCors->handle(Object(SymfonyComponentHttpFoundationRequest), 1, true)
    #29 /code/web/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(52): DrupalCoreStackMiddlewareReverseProxyMiddleware->handle(Object(SymfonyComponentHttpFoundationRequest), 1, true)
    #30 /code/vendor/stack/builder/src/Stack/StackedHttpKernel.php(23): DrupalCoreStackMiddlewareNegotiationMiddleware->handle(Object(SymfonyComponentHttpFoundationRequest), 1, true)
    #31 /code/web/core/lib/Drupal/Core/DrupalKernel.php(708): StackStackedHttpKernel->handle(Object(SymfonyComponentHttpFoundationRequest), 1, true)
    #32 /code/web/index.php(19): DrupalCoreDrupalKernel->handle(Object(SymfonyComponentHttpFoundationRequest))
    #33 {main}
  

Я попытался создать учетную запись на drupal.org но мои запросы заблокированы.
Есть мысли о том, почему это может произойти? Должен ли я попробовать альфа-версии обоих на сайте разработчика и посмотреть, исправит ли это? Я не пытался редактировать модули напрямую.

Комментарии:

1. Похоже, файлы не найдены. Проверьте свои настройки.

2. Кроме того, этот сайт привлекает внимание сообщества: drupal.stackexchange.com/questions