Can someone please tell me how this could possibly result in an error???
I don't know about you, but that looks like an exact match to me...
The second parameter should be an array and not a value. That's what caused the error message.
However, you also are not likely to get the right answer if you fix only that. Floating point numbers are imprecise, so trying to do an exact match on something like time values may not match even if the displayed digits are the same.