BP Daily error

I went to upload 2 images into my media library. When I used the flash uploader option I got an http error, so I tried the browser uploader and this worked. I then clicked on view below the image in the media library and got this error:

Catchable fatal error: Object of class WP_Error could not be converted to string in /home/mysite/public_html/wp-content/themes/bp-daily/library/functions/custom-functions.php on line 363

you can see this error at this link: