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

LeoVe created an issue. See original summary.

DanChadwick’s picture

Status: Active » Closed (duplicate)
Related issues: +#2535066: Conditionals watchdog logging format incorrect
LeoVe’s picture

Dan,

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

LeoVe’s picture

Status: Closed (duplicate) » Active

Dan,

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

DanChadwick’s picture

Status: Active » Closed (duplicate)

Also duplicates. Search the issue queue. Update to latest dev, rather than apply multiple patches.

LeoVe’s picture

The dev-version did it

Thx Dan !