A friend is having trouble with their blog, most of the pages work fine (index, viewing posts, etc), but on search results it shows an error on the sidebar - for example:
The error is:
[Access denied for user '****'@'localhost' (using password: NO)]
I've edited the user name out in the post.
I'm a little confused as to why in all other cases the side bar works fine, any suggestions for fixing this would be much appreciated.