i was wondering why i kept getting this error, but found out that i actually did not defined the function timeago() just like the error say, i had a mispelling, so if you are getting this error an you've checked that the function has been deifined, it because you have a bad spelling error, you need to check you code to make sure your function and wherever you are calling it match the same spelling.

Fatal error: Call to undefined function: timeago() in scripts\time.php on line 14