Notice: Array to string conversion in token_replace() (line 102 of /var/www/html/includes/token.inc) I am getting this notice when adding a content type in Drupal 7.24.


  Notice: Array to string conversion in token_replace() (line 102 of /var/www/html/includes/token.inc)


What does it mean? Could I reinstall the modules to fix it?
Check Notice: Array to string conversion in token_replace() (line 102 of /.../includes/token.inc).


  This is a dirty fix that excludes wrong values passed into the
  token_replace(). Use it only as a last resort, this does not solve the
  issue but only disables the message !
  
  Open token.inc and change the content of token_replace()

return str_replace($tokens, $values, $text);

  
  Change to:

 foreach ($replacements as $value =&gt; $replacement) {
   if ((!is_array($value)) &amp;&amp; (!is_array($replacement))&amp;&amp; (!is_array($text))) {
     $text = str_replace($value, $replacement, $text);
   }
 }  
 return $text;