Trying to get property 'id' of non-object (Visit.php 111)

Here are some useful links