It sounds like whatever was assigned to $conn is either not an object or was done improperly. $rs was assigned $conn so the only other possibility would be that getrows is not a method of the object but I think PHP will specifically list that as the problem if it is so.
It's hard to tell without knowing more about the object itself. If it doesn't reside directly within the object would it be necessary to make reference to the object.
$conn should be set someplace that says $conn = new Dbquery (or whatever)
then the way your calling the Execute would require it to be a method within the Dbquery object itself not outside of the object. I think if it is part of another object you can call it by object::method but I'm not quite sure.
The error is definitely unrelated to the join.