Yesterday, I installed WordPress on Windows/XAMPP. I rarely use native Windows for developing PHP projects, but recently, I have to use some Windows app during development so I install XAMPP for quick up and running because WSL2 isn't stable yet.
Everything works well, until I access wp-admin, I immediately got a big error message that I never met in Linux:
I always turn on debug and error reporting, so this message obviously doesn't help me anything.
I've checked rewrite rules, log files, .htaccess, wp-config.php but this doesn't help. I got frustrated.
Checking these things doesn't helps, WP seems doesn't provide any useful message. I've checked the database, my table prefix is exactly same as wp-config file. My frontend works fine, until I logged in as admin, so I think the problem is the user permissions. But why?