You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In dashboard of last master alchemy version I get this error,
I was researching and its due to '@online_users' is nil . I guess that because of I log with solidus and I have connecting login to solidus login I get the error.
def index
@last_edited_pages = Page.all_last_edited_from(current_alchemy_user)
@all_locked_pages = Page.locked
if Alchemy.user_class.respond_to?(:logged_in)
@online_users = Alchemy.user_class.logged_in.to_a - [current_alchemy_user]
end
if current_alchemy_user.respond_to?(:sign_in_count) && current_alchemy_user.respond_to?(:last_sign_in_at)
@last_sign_at = current_alchemy_user.last_sign_in_at
@first_time = current_alchemy_user.sign_in_count == 1 && @last_sign_at.nil?
end
@sites = Site.all
end
The text was updated successfully, but these errors were encountered:
In dashboard of last master alchemy version I get this error,
I was researching and its due to '@online_users' is nil . I guess that because of I log with solidus and I have connecting login to solidus login I get the error.
The text was updated successfully, but these errors were encountered: