This might not easily reproducible, but I thought I would post this in case it is happening to someone else.

One of my multi-page forms is creating blank watchdog entries when the form is saved as a draft / proceeded to the next page / submitted (final).

I have attached a screenshot to show what I mean by blank watchdog entry, the description field is blank but the date/time, user, and type are all set.

I have searched through all of the webform core code to find all instances of "watchdog(" and found 12 hits in 5 files. I commented out each instance, and still receive the blank log entries.

What is strange is that this behavior does not happen on any other forms, just one in particular.

Does anyone have any suggestions as to where else I should be looking in order to figure out where these log entries are being created?

Thanks.

CommentFileSizeAuthor
blank_watchdog.jpg53.09 KBthisisnotrealpeople
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

dbthorburn created an issue. See original summary.

thisisnotrealpeople’s picture

Just as a follow up, I did identify the file and line that was causing blank log entries:

Line 542 in /includes/webform.webformconditionals.inc

watchdog('webform', 'WebformConditionals::componentMarkup called prior to evaluating a submission.', 'error');

Yes I do have a markup component on the front page of my multi-page form.

Not sure why the error message is showing up as blank. For my purposes, I am going to comment this line out in order to prevent filling up my log with blank entries.

DanChadwick’s picture

Status: Active » Closed (duplicate)

Fixed in latest dev. You probably have invalid entries in your watchdog table. I suggest you delete all the webform entries in that table, or just clear it entirely.