Devel Krumo outputting all variables in a list format and not in an expandable clickable list
If you are using bootstrap 3, you might encounter this problem. To fix this issue, add the following code to your template.php file.

function THE-THEME-NAME_status_messages($variables) {
  $display = $variables['display'];
  $output = '';

  $status_heading = array(
    'status' =&gt; t('Status message'),
    'error' =&gt; t('Error message'),
    'warning' =&gt; t('Warning message'),
  );
  foreach (drupal_get_messages($display) as $type =&gt; $messages) {
    $output .= "&lt;div class=\"messages $type\"&gt;\n";
    if (!empty($status_heading[$type])) {
      $output .= '&lt;h2 class="element-invisible"&gt;' . $status_heading[$type] . "&lt;/h2&gt;\n";
    }
    if (count($messages) &gt; 1) {
      $output .= " &lt;ul&gt;\n";
      foreach ($messages as $message) {
        $output .= '  &lt;li&gt;' . $message . "&lt;/li&gt;\n";
      }
      $output .= " &lt;/ul&gt;\n";
    }
    else {
      $output .= reset($messages);
    }
    $output .= "&lt;/div&gt;\n";
  }
  return $output;
}