Hi folks,

Got this error in the links module:

Fatal error: Call to undefined function: form_select() in /var/www/wlp_play/modules/links/links.module on line 246

Looks like this file should be in the source:
http://drupaldocs.org/api/head/file/includes/legacy.inc/source

But that file doesn't exist.

Seems to be here also:
http://drupaldocs.org/api/head/function/form_select

Just doesn't seem to be in the cvs.

What's up?

Mike

Comments

eaton’s picture

Are you using the latest CVS version? This should be fixed in the latest version.

mgifford’s picture

Was the cvs version.. Might be a 2-3 days old now mind you..

I did get it fixed with the legacy.inc file but had to change this line.

return theme('form_element', $title, '
'. $select .'

', $description, 'edit-'. $name, $required); // , _form_get_error($name));

I didn't find the legacy.inc file in the includes directory mind you.

Ok, just updated the links directory from the cvs and it is working now.. Should have tried that earlier.

Mike

syscrusher’s picture

Status: Active » Fixed

Greetings!

The current CVS version has no more calls to form_select. The links administration panel in links.module is still not converted to 4.7 API; that is a known TODO item and is being addressed.

Syscrusher

syscrusher’s picture

Assigned: Unassigned » syscrusher
Anonymous’s picture

Status: Fixed » Closed (fixed)