Kernels are fine. The cob is the danger — it does not digest and reliably causes intestinal blockage requiring surgery.
A few plain kernels are non-toxic; never the cob.
Kernels safe; cob is a classic surgical emergency.
Cob obstruction: vomiting, loss of appetite, abdominal pain, no stool.