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.
Reported by LeafLin in #2535066: Conditionals watchdog logging format incorrect:
Thanks for providing the solution here. It's works nicely.
I believe the error message "WebformConditionals::componentMarkup called prior to evaluating a submission." comes up every time when I navigate between my multipage webform when the page has a markup component.
The markup component can be set to display on "form only" or "viewed submission only" or both. And I guess this is where the error comes from. Although it doesn't seem to cause any other problems..
Comment | File | Size | Author |
---|---|---|---|
#1 | webform-conditional_watchdog-2542796-1.patch | 2.44 KB | DanChadwick |
Comments
Comment #1
DanChadwick CreditAttribution: DanChadwick commentedCommitted to 7.x-4.x and 8.x.
Comment #3
Rob T CreditAttribution: Rob T commentedThanks for this as well, Dan.
In my case, the "WebformConditionals::componentMarkup called prior to evaluating a submission" error message came whenever I submitted an ajax webform (also configured to subscribe the user to a list via Mailchimp module and mailchimp lists).
After updating to the new commit of Webform (7.x-4.x-dev from July 30,2015)... following limited testing, the error is no longer being reported in /admin/reports/dblog.