Missing Comma (,) in this line. Due to which bound variables were not matching.
$req = $pdo->prepare("INSERT INTO t_events_changes ....
Values (... :new_standby_start:old_standby_end, ... )");
^ here missing comma
Change it to,
:new_standby_start,:old_standby_end,
2
solved Cant solve this : Invalid parameter number: number of bound variables does not match [closed]