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

Here are some useful links