Demi Lovato and her rumored on-again boyfriend Wilmer Valderrama were spotted holding hands as they visited the Knott's Berry Farm's Halloween Haunt over the weekend.

The X Factor judge dressed in ripped black pants and a black hoodie as Valderrama sported dark jeans and a T-shirt. Valderrama was photographed holding Lovato's hand as she smiled at him. The pair was reportedly joined by a group of friends and stayed at the California attraction for several hours until they left at around 2 a.m.

Demi Lovato Cries On X Factor 

See a photo of the two here.

The couple was previously spotted in California's Disneyland together in August. Lovato spent the day with the 33-year-old and some friends. A photo caught the singer wearing Mickey Mouse ears as she chowed down on a turkey leg. Valderrama sat next to the former Disney star and engaged in conversation with their friend.

PHOTOS: Demi Lovato Through The Years 

Lovato was also spotted shopping for furniture at Urban Home in California back in June along with the actor, according to PerezHilton.com.

After the death of her father in June, Lovato reportedly received comfort from her beau. An alleged source told HollywoodLife.com that the actor "is her rock and he has been in constant contact with her, both by text and in person, during this difficult time and he'll continue to be her shoulder to cry on."

PHOTOS: Demi Lovato's Many Different Manicures 

Lovato and Valderrama started their relationship back in 2010, around the same time when the singer entered rehab. On Lovato's new album Demi, which was released in May, the star sings emotional tunes, which some presume may be dedicated to Valderrama.

For example, on the slow-paced track Shouldn't Come Back, she sings, "Maybe you shouldn't come back, tired of being so sad, tired of getting so mad, baby, stop right now, you'll only let me down."