When you're using Bio without Views, it errors when you're saving the settings because it assumes that there's a views_invalidate_cache() function.

In function bio_settings_validate_xxx($form_id, $form_values), it should check whether Views is available....

/*
 * A submit handler for the bio settings page so that we can invalidate the views
 * cache in case the bio node type changed. We need the _xxx suffix to keep it
 * from interfering with the #base in system_settings_form. Also, we do it in the
 * validate phase because submits were interfering with the #base attribute. Yuck.
 */
function bio_settings_validate_xxx($form_id, $form_values) {
  if (module_exists('views')) {
    views_invalidate_cache();
  }
}

Comments

robloach’s picture

Status: Needs review » Fixed

Fixed in here

Anonymous’s picture

Status: Fixed » Closed (fixed)