Error message

Notice: Trying to get property of non-object in reef_preprocess_page() (line 525 of /home/reefuser/public_html/sites/all/themes/reef/template.php).