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.
When I created at new webform report I godt that error. The "component" doesn't have at default value in webform_report.module.
I found the function "webform_report_insert" and appended code for components.
Here is a "manuel" patch from line 275:
function webform_report_insert($node) {
$node->columns = array();
$node->sorton = array();
$node->filters = array();
$node->options = array();
+ $node->components = array();
db_insert('webform_report')
->fields(array(
'nid' => $node->nid,
'description' => $node->description,
'wnid' => $node->wnid,
'columns' => serialize($node->columns),
'sorton' => serialize($node->sorton),
'filters' => serialize($node->filters),
'options' => serialize($node->options),
+ 'components' => serialize($node->components),
))
->execute();
}
Perhaps someone would make a patch. I don't know how.
Comments
Comment #1
marcvangendDoesn't sound like a critical issue.