Notice: Undefined index: geo in content_token_list() (line 61 of /var/www/pressflow/sites/all/modules/cck/includes/content.token.inc).

Here is what the code looks like

54 function content_token_list($type = 'all') {
55  if ($type == 'node' || $type == 'all') {
56    $list = array();
57    $field_types = _content_field_types();
58
59    foreach (content_fields() as $field) {
60      $sub_list = array();
61      $function = $field_types[$field['type']]['module'] . '_token_list';
62      if (function_exists($function)) {
63        $sub_list = $function('field');
64        foreach ($sub_list as $category => $token_list) {
65          foreach ($token_list as $token => $description) {
66            $list['CCK '. $category][$field['field_name'] .'-'. $token] = $description;
67          }
68        }
69      }
70    }

Comments

denny84’s picture

Just to be more precise, I uninstalled geo module and this is what I got above error. Also there was some kind of schema and database column mismatch detected by schema module. It said that "field_newmaps_geo" from the table "content_field_newmaps" table is:" not in database"