Notice: Undefined index: description in _token_token_tree_format_row() (line 136 of /var/www/xxxx.com/public_html/sites/all/modules/token/token.pages.inc).

getting this error right after I save something on the display suite fields.

Comments

dave reid’s picture

Status: Active » Postponed (maintainer needs more info)

Check your status report page for token problems. Likely a module is not providing correct information in hook_token_info().

ezfranca’s picture

Same problem here. I tried to use -dev version instead the stable one, but I am still getting this error, everytime I save something.

dgastudio’s picture

same here

lance.gliser’s picture

I can confirm the status report page identifying the issue. My violator? Smart IP. Opening a ticket over there.

dave reid’s picture

Status: Postponed (maintainer needs more info) » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

alan d.’s picture

Issue summary: View changes
Status: Closed (fixed) » Closed (works as designed)

Description is not flagged as optional even though core doesn't use it....

Seemingly redundant but effective workaround.

  foreach (acorn_site_by_styles() as $key => $label) {
    $info['tokens']['site']['site-by-' . $key] = array(
      'name' => $label,
      'description' => '',
    );
  }