function form_error

×

Error message

User warning: The following module is missing from the file system: theme/theme. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1156 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
cis7 form.inc form_error(&$element, $message = '')
cle7 form.inc form_error(&$element, $message = '')
elmsmedia7 form.inc form_error(&$element, $message = '')
icor7 form.inc form_error(&$element, $message = '')
meedjum_blog7 form.inc form_error(&$element, $message = '')
mooc7 form.inc form_error(&$element, $message = '')

Flags an element as having an error.

Related topics

124 calls to form_error()
alpha_theme_settings_validate_order in sites/all/themes/ulmus/omega/alpha/theme-settings.php
Form element validation handler for validating the region order manipulation setting for zones.
alpha_theme_settings_validate_primary in sites/all/themes/ulmus/omega/alpha/theme-settings.php
Form element validation handler for validating the primary region setting for zones.
better_exposed_filters_element_validate_slider_animate in sites/all/modules/ulmus/better_exposed_filters/better_exposed_filters.module
Form element validation handler for BEF jQuery slider animate setting.
better_exposed_filters_element_validate_slider_min_max in sites/all/modules/ulmus/better_exposed_filters/better_exposed_filters.module
Form element validation handler for BEF jQuery slider min and max settings.
better_exposed_filters_element_validate_slider_required in sites/all/modules/ulmus/better_exposed_filters/better_exposed_filters.module
Form element validation handler for BEF jQuery slider required fields.

... See full list

2 string references to 'form_error'
EntityReferencePrepopulateInstanceBehavior::settingsForm in sites/all/modules/ulmus/entityreference_prepopulate/plugins/behavior/EntityReferencePrepopulateInstanceBehavior.class.php
Generate a settings form for this handler.
entityreference_prepopulate_field_attach_form in sites/all/modules/ulmus/entityreference_prepopulate/entityreference_prepopulate.module
Implements hook_field_attach_form().

File

includes/form.inc, line 1698
Functions for form and batch generation and processing.

Code

function form_error(&$element, $message = '') {
  form_set_error(implode('][', $element['#parents']), $message);
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.