I'm getting the below when creating a new draft of existing content. I believe the problem may have something do to with Workbench...

 Warning: Illegal offset type in isset or empty in drupal_lookup_path() (line 125 of /.../includes/path.inc).
    Warning: strtok() expects parameter 1 to be string, array given in drupal_lookup_path() (line 131 of /.../includes/path.inc).
    Warning: mb_strtolower() expects parameter 1 to be string, array given in drupal_strtolower() (line 476 of /.../includes/unicode.inc).

Comments

stevector’s picture

Status: Active » Postponed (maintainer needs more info)

Please provide more information on what leads you to believe this is Workbench related.

agentrickard’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)
develway’s picture

Issue summary: View changes

For example these errors can be generated when you declare language_default:

function THEME_links__locale_block($variables) {
  $language = variable_get('language_default');

  foreach($variables['links'] as $key => $lang) {
    if (isset($lang['attributes']['class']) && in_array('locale-untranslated', $lang['attributes']['class'])) {
      $variables['links'][$key]['href'] = drupal_get_path_alias($language);// Set here any page link...
    }
  }
  return theme_links($variables);
}

After you get errors:

Warning: Illegal offset type in isset or empty in drupal_lookup_path() (line 125 of C:\xampp\htdocs\aloud\includes\path.inc).
Warning: strtok() expects parameter 1 to be string, object given in drupal_lookup_path() (line 131 of C:\xampp\htdocs\aloud\includes\path.inc).