Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Sorry, I think this was rather related to entity reference revisions and paragraphs, than yaml form. After an update to the latest dev of err the warnings are gone.
Sadly I have the same warning with last dev version of webform 8.5.x, even with the latest version of paragraphs, entity reference revisions and inline entity form modules. There are a lot of paragraphs build and only the paragraph with webform is throwing warnings after the first node save:
I experienced the following warning after placing a form reference field inside a paragraphs type. It appears after node save, sometimes duplicated several times. The node's contents and the form itself are displayed correctly. After page refresh the warning disappears. While the form was placed in the root of the node no warnings were shown.
I want my editors to be able to place forms inside a node with some additional fields explaining the form. Therefore I am using paragraphs, also to be able to arrange the order of the content on the page.
Maybe you could have a look and tell me if this could be fixed somehow. Thanks in advance, great module!
Comments
Comment #2
ABaier CreditAttribution: ABaier commentedSorry, I think this was rather related to entity reference revisions and paragraphs, than yaml form. After an update to the latest dev of err the warnings are gone.
Comment #3
ABaier CreditAttribution: ABaier commentedComment #4
jrockowitz CreditAttribution: jrockowitz as a volunteer commentedWoot! Glad to hear we don't have to chase down this issue.
Comment #5
joville CreditAttribution: joville commentedSadly I have the same warning with last dev version of webform 8.5.x, even with the latest version of paragraphs, entity reference revisions and inline entity form modules. There are a lot of paragraphs build and only the paragraph with webform is throwing warnings after the first node save:
Warning: call_user_func_array() expects parameter 1 to be a valid callback, class 'revision_information' not found in Drupal\Core\Entity\EntityForm->buildEntity() (line 297 of core/lib/Drupal/Core/Entity/EntityForm.php).
Drupal\Core\Entity\EntityForm->buildEntity(Array, Object) (Line: 74)
Drupal\Core\Entity\ContentEntityForm->buildEntity(Array, Object) (Line: 94)
Drupal\Core\Entity\ContentEntityForm->validateForm(Array, Object)
call_user_func_array(Array, Array) (Line: 83)
Drupal\Core\Form\FormValidator->executeValidateHandlers(Array, Object) (Line: 270)
Drupal\Core\Form\FormValidator->doValidateForm(Array, Object, 'node_page_edit_form') (Line: 119)
Drupal\Core\Form\FormValidator->validateForm('node_page_edit_form', Array, Object) (Line: 571)
Drupal\Core\Form\FormBuilder->processForm('node_page_edit_form', Array, Object) (Line: 314)
Drupal\Core\Form\FormBuilder->buildForm('node_page_edit_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: 574)
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: 144)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 64)
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: 99)
Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 78)
Drupal\page_cache\StackMiddleware\PageCache->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: 654)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
Comment #6
joville CreditAttribution: joville commentedComment #7
joville CreditAttribution: joville commentedComment #8
joville CreditAttribution: joville commentedI experienced the following warning after placing a form reference field inside a paragraphs type. It appears after node save, sometimes duplicated several times. The node's contents and the form itself are displayed correctly. After page refresh the warning disappears. While the form was placed in the root of the node no warnings were shown.
I want my editors to be able to place forms inside a node with some additional fields explaining the form. Therefore I am using paragraphs, also to be able to arrange the order of the content on the page.
Maybe you could have a look and tell me if this could be fixed somehow. Thanks in advance, great module!
Comment #9
jrockowitz CreditAttribution: jrockowitz as a volunteer commentedComment #10
jrockowitz CreditAttribution: jrockowitz as a volunteer commented