KeyError on profile page
Message
** (KeyError) key :current_user not found in: %{__changed__: %{connected?: true, user: true}, connected?: true, flash: %{}, live_action: :profile_live, user: nil}
Backtrace (last 10 lines)
lib/code_stats_web/profile_live/profile_live.ex:53 CodeStatsWeb.ProfileLive.handle_params/3
lib/phoenix_live_view/utils.ex:369 anonymous fn/5 in Phoenix.LiveView.Utils.call_handle_params!/5
/vagrant/deps/telemetry/src/telemetry.erl:320 :telemetry.span/3
lib/phoenix_live_view/channel.ex:431 Phoenix.LiveView.Channel.maybe_call_mount_handle_params/4
lib/phoenix_live_view/channel.ex:1003 Phoenix.LiveView.Channel.verified_mount/8
lib/phoenix_live_view/channel.ex:58 Phoenix.LiveView.Channel.handle_info/2
gen_server.erl:695 :gen_server.try_dispatch/4
gen_server.erl:771 :gen_server.handle_msg/6
View on AppSignal: https://appsignal.com/code-stats/sites/59d14436fc940e6e2ba7626a/exceptions/incidents/169?timestamp=2022-08-31T14:40:08Z