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.
After upgrading from Webform version 7.x 4.9 to 4.10 we are getting the following messages in Watchdog:
1.
Type: webform
Message: WebformConditionals::componentMarkup called prior to evaluating a submission.
2.
Type: php
Message: %type: !message in %function (line %line of %file).
After getting the error in version 4.10, we've tested it again in 4.9. In version 4.9 system no error, after upgrading we got the errors again.
Any ideas on what could be the cause of this?
We are making use of multi-page forms.
Thanks !
Kind regards,
Leo
Comments
Comment #2
DanChadwick CreditAttribution: DanChadwick commentedComment #3
LeoVe CreditAttribution: LeoVe commentedDan,
Thanks, the patch did the job and no longer corrupts the watchdog table.
I have been looking into all issues but couldn't find the errors we have now.
The following errors are generated if we edit an existing multipage form with conditional components:
1.
Notice: Undefined index: submitted in webform_submission_create() (line 56 of /.../sites/all/modules/webform/includes/webform.submissions.inc).
2.
Warning: Invalid argument supplied for foreach() in webform_submission_data() (line 24 of /.../sites/all/modules/webform/includes/webform.submissions.inc).
3.
WebformConditionals::componentMarkup called prior to evaluating a submission.
thx,
Leo
Comment #4
LeoVe CreditAttribution: LeoVe commentedDan,
Thanks for the good work!
I'm sorry, I opened this one again because I couldn't find any other issue with the errors we got after the patch above.
Thanks
Comment #5
DanChadwick CreditAttribution: DanChadwick commentedAlso duplicates. Search the issue queue. Update to latest dev, rather than apply multiple patches.
Comment #6
LeoVe CreditAttribution: LeoVe commentedThe dev-version did it
Thx Dan !