Active
Project:
Webform CiviCRM Integration
Version:
6.3.2
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
25 Mar 2026 at 09:14 UTC
Updated:
25 Mar 2026 at 21:40 UTC
Jump to comment: Most recent, Most recent file

Comments
Comment #2
karingI can not reproduce this on one of my own sites ->
Note: I also don't get the warning. What Drupal and Webform versions are you using?
Comment #3
karingGithub PR -> https://github.com/colemanw/webform_civicrm/pull/928
Comment #4
iprosoft commentedWebform 6.2.10
Comment #5
karingSame here. I have updated a bunch more sites -> this last one uses Drupal 10.5.8 + Webform 6.2.10 + updated from Webform CiviCRM 6.3.1 -> 6.3.2, the update ran without errors. A number of partners tested PR 928.
Any more clues as to what may be different with your setup?
Comment #6
iprosoft commentedNo clue what could be different, no custom patches etc.
Comment #7
jmcclelland commentedI wonder if this error is related to webform_civicrm? In the screen shot it references an error in WebformEntityStorage.php on line 93 (from the webform module). That is the first line of this function:
For some reason `$entity->original` is null in your case. Unless there is some relevant errors earlier in the screen share, it seems that the 8008 upgrade made it successfully all the way up to the point where it is supposed to use the webform API to save the webform and that's where it failed.
Comment #8
iprosoft commentedThe line is the same, there are no changes here.
I just searched between $webform->save(); > $entity->original->getAccessRules(), but unfortunately I couldn't find anything.
It looks like $entity->original isn't being assigned, or for some reason it's being assigned NULL.
Comment #9
iprosoft commentedComment #10
karingPerhaps this?
https://www.drupal.org/project/webform/issues/3423890
Comment #11
karingWhich suggests it's a Drupal Entity API issue.
Comment #12
iprosoft commentedYes, it probably is.
I wonder why this only happens for a few webforms, and why they differ from others in that original is not declared.
Edit: problem found, webform_presave hook was adding handler to webform if not exists and calling addWebformHandler
This triggered another save() on object but then it won't have set original param.
Thanks for help!