Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
denny84 CreditAttribution: denny84 commentedJust 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"