With this template, when you have no unread messages it says "Messages (0)" which is correct
But when you actually have an unread message waiting to be read it says "array" which I think is a problem.
See screenshot:
This image is hidden for guests.
Please log in or register to see it.
You can test this by sending yourself a message.