This question already has an answer here:

How do I resolve this error, 'Trying to get property of non-object in /.../libraries/joomla/session/handler/joomla.php on line 74'? Here's line 74 or the joomla.php file, $cookie = $this->input->cookie;. This started after updating the site to Joomla 3.7 and PHP 7.0, but also shows up with PHP 5.6. The site is running CiviCRM 4.7.18.

marked as duplicate by Chris Burgess, Jon G - Megaphone Tech, William Mortada, Aidan, Joe Murray May 22 '17 at 18:43

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.