Plot hole: Ted calls on John to tell him that he saw Lori leaving her apartment with her boss. How did he find him? He turns up not only at the right hotel but the right room! They have had no contact since their fight after the party and Ted hasn't been asking around after John as he tells him he 'just saw' Lori leaving with her boss. So how did he find John? Is he psychic?
Audio problem: After John and Ted's falling out, Ted comes and knocks on the glass doors. The sound is of a knock which would be impossible since Ted's hands are made of material.
Suggested correction: Ted's legs can also support his body and he's able to drive, etc, despite being made out of cotton. He's a magic wish that came true and can knock.
Suggested correction: A week has passed since the breakup and we don't see anything that happened during that time. There's nothing in the film to indicate Ted didn't try to reconcile with John (such as through text) or at least find out where he's staying. The only reason Ted decided to go to the hotel is to tell John about Lori leaving with her boss because he knows that would be a big deal to him. And Ted went to Lori's to try to get her to take John back (probably because of things John said to Ted during the week we didn't see). Once Ted is at Lori's and sees her leaving with her boss, he goes to the hotel to tell John he "just saw her leave" with him.
Bishop73
John had no reason to tell Ted where he lives, he didn't want him to come at all, that was shown. Ted wouldn't know where to go.