After Upgrade: $user becomes unknown (id: 0) after successful login?
Editing the core files is not recommended. You may try downloading a clean install of WordPress files. If you can, set the current theme to TwentySeventeen so your database is ready to work with a clean install. Make sure to back up your database if you have not already. Follow the codex instructions to delete … Read more