I'm trying to change an exposed filter to checkboxes, using hook_form_views_exposed_form_alter(). I get this error message when I use ['#type'] = 'checkboxes'; :

Fatal error: Cannot create references to/from string offsets nor overloaded objects in /drupal7/includes/common.inc on line 6448

['#type'] = 'checkbox' works fine.

I'm running Drupal 7.16 and PHP 5.2.17.

Comments

wluisi’s picture

Issue summary: View changes

fixed typo.

MustangGB’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

Closing this as outdated, feel free to re-open with updated details if it's still a problem in the latest release.