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 a select list is rendered as a list of check boxes, the following error raises:
Notice: Undefined variable: output in better_exposed_filters.theme on line 404
This is because the $output variable is attempting to concatenate the result of the theme function without already having a value.
I have seen that this has been fixed in 7.x-3.x.
Attaching a patch in the following comment.
Comment | File | Size | Author |
---|---|---|---|
#1 | better_exposed_filters-undefined-var-output-1697656-1.patch | 911 bytes | juampynr |
Comments
Comment #1
juampynr CreditAttribution: juampynr commentedHere is the patch.
Comment #2
areynolds CreditAttribution: areynolds commentedKnow this is an old patch, but the issue still exists and it definitely fixes it in an appropriate way. Moving to RTBC, should definitely get in the 6.x-3.x-dev branch.
Comment #4
mikeker CreditAttribution: mikeker commentedAn oldie but a goodie!
My apologies for missing this from so many years ago. Thank you @areynolds for pushing it to the top of the stack.
Fixed.