Why can't I make a photo album

Every time I try to make a photo album this appears:

Fatal error: Call to a member function on a non-object in /var/www/vhosts/unicyclist.com/htdocs/gallery/classes/User.php on line 155

I am getting really frusterated. Can anyone help?


this may help

Thanks alot. I figured it out.