See below...
The first two watchdog() parameters should be literal strings. There should be no variables, concatenation, constants or even a t() call the
re.
At watchdog('webform',$message) in webform_report.inc on line 295.
Processing webform_submissions.inc...
Processing webform.module...
The first parameter to t() should be a literal string. There should be no variables, concatenation, constants or other non-literal strings t
here.
At t($c['name']) in webform.module on line 570.
The first parameter to t() should be a literal string. There should be no variables, concatenation, constants or other non-literal strings t
here.
At t($file->name) in webform.module on line 2404.
The first parameter to t() should be a literal string. There should be no variables, concatenation, constants or other non-literal strings t
here.
At t($file->name) in webform.module on line 2407.
The first two watchdog() parameters should be literal strings. There should be no variables, concatenation, constants or even a t() call the
re.
At watchdog('webform','Possible spam attempt from @remote_addr'."<br />\n".nl2br(htmlentities($messages['default'])),array('@remote_add'=>ip
_address())) in webform.module on line 1839.
The first two watchdog() parameters should be literal strings. There should be no variables, concatenation, constants or even a t() call the
re.
At watchdog('webform',t('Submission posted to %title. <a href="!url">Results</a>. !details',array('%title'=>$node->title,'!url'=>url('node/'
.$node->nid.'/submission/'.$sid),'!results'=>"<br />\n<pre>".htmlentities(print_r($form_state['values'],TRUE)).'</pre>'))) in webform.module
on line 1878.
Invalid menu 'description' definition found in webform_menu(). Title and description keys of the menu array should be literal strings.
In webform.module on line 74.
Invalid menu 'description' definition found in webform_menu(). Title and description keys of the menu array should be literal strings.
In webform.module on line 85.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | webform_watchdog_t.patch | 1.07 KB | quicksketch |
Comments
Comment #1
quicksketchThe menu entry problems were fixed a while ago. I fixed the watchdog entries with this patch. The other errors are intentional, as they are generally system-wide strings, similar to CCK which does the same thing for labels on its form elements.