01-11-2017, 04:18 AM
Ok. So it looks like that has something to do with you trying to get information that is requiring the user to be logged in. I'm not sure what's going on with your navigation because that's a custom file. If you want, you can post your whole navigation.php file to pastebin or hastebin and I'll take a look, but I'm going to guess that you have something going on in line 15 or around it that is looking for a user id or something like that.
Try logging in and then going to the home page. My guess is that the error will go away.
If you're doing some sort of logic on line 15, you could do something like
//whatever you were doing on line 15
Try logging in and then going to the home page. My guess is that the error will go away.
If you're doing some sort of logic on line 15, you could do something like
Code:
if($user->isLoggedIn()){
Code:
}