"He was in an accident and is being treated in a local hospital," his rep told PEOPLE
Credit: Mike Windle/Getty

Dylan O’Brien has suffered multiple injuries resulting from an accident on the set of the third film in The Maze Runner franchise, PEOPLE has confirmed.

“He was in an accident and is being treated in a local hospital,” his rep told PEOPLE.

According to Variety, O’Brien, 24, was hit by car while filming.

Maze Runner author James Dashner tweeted on Friday, “I just want to let everyone know that yes, Dylan was hurt, but that he’s going to be okay. Not life threatening in any way. Production is postponed but certainly not cancelled. All that matters now is that Dylan recovers. We love you, Dylan!!!”

The film’s production company, 20th Century Fox, also confirmed the accident in a statement released on Friday.

“Dylan O’Brien was injured yesterday while filming Maze Runner: The Death Cure in Vancouver, Canada. He was immediately transferred to a local hospital for observation and treatment. Production on the film will be shut down while he recovers. Our thoughts go out to Dylan for a full and speedy recovery.”