Showing /app/app/views/users/_user_mini_profile.html.erb where line #4 raised:

ActiveStorage::InvariableError
Extracted source (around line #7):
5
6
7
8
9
10
              
if user.photo.attached?
if variant_key = :small
variant_key.nil? ? user.photo : user.photo.variant(resize: '200x200^', crop: '200x200+0+0').processed
elsif variant_key = :thumb
variant_key.nil? ? user.photo : user.photo.variant(resize: '45x45^', crop: '45x45+0+0').processed
end

Trace of template inclusion: #<ActionView::Template app/views/projects/show.html.erb locals=[]>

Rails.root: /app

Application Trace | Framework Trace | Full Trace

Request

Parameters:

{"id"=>"know-no-answer"}

Response

Headers:

None