I'm getting this on top of my site: A PHP Error was encountered Severity: Notice Message: Trying to get property of non-object Filename: models/frontend_model.php Line Number: 38 and I also have one for line 39. What's a good way to find the line and fix it?
first, you should probably use a text editor that numbers the lines....I prefer notepad++, but there are a few others you could use. it sounds like you tried to use a function on something that you didn't properly declare - it could be as simple as just forgetting a $ sign in front of the variable name, then php wouldn't know it's an object.