Notice: Array to string conversion in token_replace() (line 102 of /var/www/html/includes/token.inc)
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;