I got the latest category and activeselect today. With activeselect enabled, opening a category edit results in a blank screen. Here is the message in Apache log:

PHP Fatal error: Call to undefined function _form_set_class() in /var/www/drupal_4.7_rc_1.work/modules/activeselect/activeselect.module on line 90

What could be happening here?

Comments

Jaza’s picture

Title: Install problem » _form_set_class() error
Priority: Critical » Normal
Status: Active » Closed (fixed)

Drupal HEAD now has _form_set_class() instead of _form_get_class(). Activesleect has been updated to work with this change. If you are getting the error that you reported, you need to upgrade to Drupal 4.7 RC3 or Drupal HEAD.

dkruglyak’s picture

With RC3 / HEAD modules the problem did go away.

I wonder however if there is a tutorial on the best ways to use active select. Both on how it is used in category module and how it could be implemented elsewhere.

Jaza’s picture

For info on how it is used in category, see http://category.greenash.net.au/node/120 . For info on how to use it in developing your own modules, see the API.txt file included with the module.