Consider the equation $$|x-3|^{3x^2-10x+3}=1$$
Rewriting it in logarithmic form, $$\log_{|x-3|}1=3x^2-10x+3.$$
Since the base of a logarithm must be neither $0$ nor $1,$ $$3x^2-10x+3=0\\x=3\quad\text{or}\quad\frac13\\x=\frac13.$$
However, the given solution is $$x=\frac13\quad\text{or}\quad2\quad\text{or}\quad4.$$
Please tell me what I am missing here.