I just had a really annoying PHP error on my blog index page. It used to work with the line:
$tagarray[$counter] = trim($tagarray[$counter]);
However that suddenly stopped working. But when I replaced $tagarray with $tagArrayTEMP:
$tagarrayTEMP[$counter] = trim($tagarray[$counter]);
it started working again. Why???!