Hello Again
in the line 28 ERROR (Expected Array)
why???
Probably because on line 28 you used a command that requires an array and you didn't use one.
Since
1) You didn't use CODE Tags
2) You didn't bother to tell us what line 28 is
we can't very well tell what you did wrong. You'll have to post useful information for our understanding.