To clear parameters - use the
clear_params()
function. Also for more information, you may want to check out:
.
I believe one way to deal with the failure of one param out of many is using the
die_on_bad_params option and set it to 1 -
although, it's probably not the best way. I'd use
bikeNomad's suggestion.