How to assign colors to bar plots in StatsPlots / Plots

I got the same error once I updated Plots to version 1.12.0.