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.
Our logs are cluttered with notices like this.
Notice: Undefined index: a in _webform_display_wa_product()
Warning: Illegal string offset 'product' in _webform_display_wa_product()
Warning: Illegal string offset 'count' in _webform_display_wa_product()
A simple check fixes this.
Comment | File | Size | Author |
---|---|---|---|
#2 | prevent_notices_in-2689119-2.patch | 681 bytes | BarisW |
Comments
Comment #2
BarisW CreditAttribution: BarisW at LimoenGroen for Gemeente Venlo commentedComment #3
MrHaroldA CreditAttribution: MrHaroldA as a volunteer and at ezCompany commentedThis is fixed in dvg_appointments in issue #2644446: Submission display does not render correctly with this patch: http://cgit.drupalcode.org/dvg_appointments/commit/?id=f757e5e
The issues proved to be a little bigger than adding the isset(); for example, the number of products does not match it's heading:
... and it never lists a third product.
DvG Appointments is approaching a state that it will render webform_appointments obsolete. So I'm not sure if we should add this incomplete patch to this module.
Comment #4
MrHaroldA CreditAttribution: MrHaroldA as a volunteer and at iO commentedComment #5
mvwensen CreditAttribution: mvwensen commentedProjects using webform appointments should migrate to DvG Appointments, a lot of issues are fixed.