- π©πͺGermany meyerrob
Had the same problem with tons of notices in my log - fixed by this patch.
- last update
over 1 year ago 22 pass - last update
over 1 year ago 22 pass - last update
over 1 year ago 22 pass
This also affects a lot of other places like _webform_csv_data_select()
1. Create webform with a text field
2. Submit the webform
3. Add a select component to the form with 2 options
4. Export all the results
5. See notice in logs
The issue happens because $raw_data is null in webform_component_invoke($component['type'], 'csv_data', $component, $options, $raw_data)
The components expect it to not be null and try to access $raw_data[0]
Not sure if this is the best approach but I just short circuited out of that call if $raw_data was NULL.
For really large webforms this can flood the logs.
Needs work
4.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Had the same problem with tons of notices in my log - fixed by this patch.