VANCOUVER — Actor Dylan O'Brien has been injured on the set of "Maze Runner: The Death Cure'' during production in British Columbia.
20th Century Fox said in a statement Friday that O'Brien was immediately transferred to a Vancouver hospital after being hurt Thursday.
"Production on the film will be shut down while he recovers. Our thoughts go out to Dylan for a full and speedy recovery,'' the statement said.
The company's statement said the accident happened in Vancouver and WorkSafe B.C. spokeswoman Trish Knight Chernecki initially said an investigator had been dispatched to the city.
But WorkSafe B.C. said later Friday that the incident didn't happen in Vancouver. The agency, which investigates workplace accidents, was expected to release more details later in the day.
Media outlets in B.C.'s Interior reported the film was being shot around Cache Creek, Ashcroft and Kamloops this week.
James Dashner, the author of the "Maze Runner'' book trilogy, posted on Twitter Friday that O'Brien had been hurt but he was going to be OK and his injuries were "not life-threatening in any way.''
"Production is postponed but certainly not cancelled. All that matters now is that Dylan recovers,'' he wrote. "We love you, Dylan!!!''
"All that matters now is that Dylan recovers."
The 24-year-old is the star of the dystopian science-fiction series, and "The Death Cure'' is the third in the franchise. He is also known for his co-starring role in the MTV series "Teen Wolf.''
Representatives for O'Brien didn't immediately respond to requests for comment Friday.
The film's production address is listed on Creative B.C.'s website as a Vancouver Film Studios facility in east Vancouver. A woman who answered the phone at the studio said she had no information to give out before hanging up.
Vancouver Coastal Health, the authority that operates Vancouver General Hospital, said it had no information and B.C. Ambulance Service said it was not the agency that transported O'Brien to hospital.
"Maze Runner: The Death Cure'' is scheduled to be released in theatres on Feb. 17, 2017.
— With files from The Associated Press
Also on HuffPost