Closed (fixed)
Project:
Options Element
Version:
7.x-1.4
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
20 Feb 2011 at 10:57 UTC
Updated:
30 Jan 2012 at 04:20 UTC
When creating a new field in Webform option element gives error message.
Warning: Missing argument 2 for pre_render_options(), called in /usr/share/drupal/includes/common.inc on line 5596 and defined in pre_render_options() (line 13 of /etc/drupal/all/modules/options_element/options_element.inc).
The view mode works fine without error message.
Comments
Comment #1
quicksketchSounds like you're running a modified version of Options Element from Acquia. The options_element.module doesn't even contain a pre_render_options() function unless this patch has been applied: #1009104: Move the organizational / functional alterations out of theme_options and into a pre_render function. Since I've refused that patch entirely, the best way to fix this problem is to simply download a fresh copy of Options Element and replace your modified copy.