But the answer is different.
Please help me finding which step is wrong.
It will still be undefined when x=0. It would be fine if 0 wasn't in the original domain but because it is you're still potentially dividing by 0. This means that x=0 is a potential solution. In your equation let then
You can do it if you exclude 0 from the domain