Sam Rose has a son who loves Peter Rabbit, a character from a children’s book by Beatrix Potter, but she won’t take him to see “Peter Rabbit,” the new movie loosely based on it.

The issue? Her son has food allergies, and a scene in the film shows blackberries being used as a weapon. The backlash to the scene has already drawn an apology from the filmmakers.

“Peter Rabbit,” which came out last week, features live actors and computer-generated animals. A human character named Tom McGregor is allergic to blackberries. In a quest to gain access to his garden, rabbits pelt him with fruits and vegetables before using a slingshot to send a blackberry flying into his mouth.

It works.

Mr. McGregor struggles to inject himself with an EpiPen and then has anaphylaxis and collapses.