Active
Project:
Webform Views Extras
Version:
2.0.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Aug 2022 at 16:28 UTC
Updated:
23 Jun 2023 at 04:12 UTC
Jump to comment: Most recent
I've followed the steps outlined in the Placing webforms as block video tutorial, and I'm getting the following message when submitting the block form.
I have also tried the Webform Demo: Application/Evaluation System, on a fresh install with the same result.
Drupal\Core\Entity\EntityStorageException: Field entity_id_webform_submission is unknown. in Drupal\Core\Entity\Sql\SqlContentEntityStorage->save()
Drupal 9.4.5 & Webform 6.1.3 & php 7.4 , 8.1
Install Webform Demo: Application/Evaluation System
Go to Demo Application form, complete the field and submit the form.
Go to the submission, view the recent submission, complete the Evaluation form and submit.
Comments
Comment #2
pablozuy commentedComment #3
jrockowitz commentedI am not able to reproduce this issue using PHP 8.0.
This type of error indicates that the Webform module was installed correctly or as expected.
@see #2861863: InvalidArgumentException "Field is unknown" in ContentEntityBase
Are you able to reproduce this issue using https://simplytest.me?
Comment #4
pablozuy commentedHello, thank you very much for your answer. I tried to install an instance on simpletest.me but it returns errors when installing Drupal + Webform module.
But in the install I had done locally, I had enabled all the "webforms" modules that I had in my composer.json.
Checking the error I saw the line: webform_views_extras_entity_presave()
So I uninstalled the webform_views_extras module and now it works.
It's a shame as it's a useful module to extend the functionalities of webform in views. If you have any ideas to fix this problem without uninstalling the module, that would be welcome.
I copy the first lines of initial error.
Drupal\Core\Entity\EntityStorageException: Field entity_id_webform_submission is unknown. in Drupal\Core\Entity\Sql\SqlContentEntityStorage->save() (line 811 of core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php).
Drupal\Core\Entity\ContentEntityBase->get() (Line: 628)
Drupal\Core\Entity\ContentEntityBase->set() (Line: 99)
webform_views_extras_entity_presave()
call_user_func_array() (Line: 426)
Comment #5
cilefen commentedComment #6
jaswindersingh commentedIs there a solution for this issue. This modules seems unusable without resolving open issues.