I found a solution. You have to reinstall opera, but first, go to C:\Users\CURRENTUSER\AppData\Local\Programs\Opera
and find the latest version folder, currently it's 109.0.5097.35. Rename that folder, for example 109.0.5097.35xx and then go inside it, and run the installer as Administrator(important). Opera will reinstall and work again
(copyed my answer from an another thread)