Keep me logged in until I sign out. So, for example, if you've given someone permission to pick gooseberries on your property, you'd better warn the berry picker that the local gun club is doing target practice nearby. Generally, courts hold homeowners responsible only if they are in some way negligent. The law doesn't expect you, the homeowner, to guarantee that someone visiting your house will not get hurt.
People do trip over their own feet and lightning does strike.
But it's your responsibility to take reasonable care to protect people from hazards that you know about. The lack of such care is called negligence. If you know about a hazard and expect people to come onto your property, but do not eliminate the hazard, erect barriers, or warn people. If you are not careful about hazards that might attract children. Everything you need for court related issues.