Santa Barbara County Fire responded to a car into a structure Thursday. It happened just before 10 a.m. on the 2800 block of Mission Drive in Solvang.
California Highway Patrol officials said a 73-year-old Santa Maria woman accidentally stepped on the accelerator instead of the brake.
The car then jumped the curb and slammed into a gazebo just outside the El Rancho Market.
A father and son were in the gazebo area at the time of the accident.
County Fire officials reported that 3-year-old boy was temporarily trapped underneath the car.
The father and son were treated at the scene for minor injuries and then transported to the hospital.
The cause of the crash is under investigation by the CHP.