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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

juampynr’s picture

Title: Undefined variable when rendering a checkbox » Undefined variable output when rendering a checkbox
Status: Active » Needs review
FileSize
911 bytes

Here is the patch.

areynolds’s picture

Issue summary: View changes
Status: Needs review » Reviewed & tested by the community

Know 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.

  • mikeker committed 7b0e6bd on 6.x-3.x authored by juampy
    Issue #1697656 by juampy: Undefined variable output when rendering a...
mikeker’s picture

Status: Reviewed & tested by the community » Fixed

An 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.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.