Error message

Notice: Trying to get property of non-object in _mgi_news_block_title() (line 164 of /var/www/www.tentonhammer.com/html/sites/all/modules/custom/mgi_news/mgi_news.module).