After upgrading to discourse 3.. can only access to admin using safe-mode

From a quick glance, I’d remove retort, but I suspect your problem is with a theme. JUst use safe-mode and disable all of your theme components in one browser and add them back in another.