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.
I'm getting
Notice: Undefined variable: label_element in form_process_table() (line 1855 of core\includes\form.inc).
Trivial patch coming up...
Comment | File | Size | Author |
---|---|---|---|
#1 | form_process_table-notice.2208793.1.patch | 679 bytes | salvis |
Comments
Comment #1
salvisComment #2
salvisJust add a missing isset().
Comment #3
Cameron Tod CreditAttribution: Cameron Tod commentedI'm surprised these functions are still in use. Patch looks good :)
Comment #4
salvisThanks, cam8001!
Here's where the notice came up...
#2208597-14: Devel HEAD broken: Update calls to config(), drupal_map_assoc, Drupal\Core\Mail\PhpMail
(EDIT: fixed the link)
... and caused Devel to remain broken even after catching up with D8.
Comment #5
andypostyep, this could not be set, but probably needs test and update doc-block to prevent this case
Comment #6
salvisI don't think so. There's already an 'if' to check whether it's set or not, the condition just isn't quite up to the standard.
So it seems to be valid both ways.
Comment #7
Dries CreditAttribution: Dries commentedCommitted to 8.x. Thanks.