NoMethodError in Versions#show

Showing /root/verano/app/views/versions/show.html.haml where line #8 raised:

undefined method `name' for nil:NilClass

Extracted source (around line #8):

5: 	.grid_13
6: 	
7: 		%h1
8: 			=@version.name
9: 	
10: 		.text
11: 			=raw @version.text

Rails.root: /root/verano

Application Trace | Framework Trace | Full Trace
app/views/versions/show.html.haml:8:in `_app_views_versions_show_html_haml__1021484121_95201340__713118739'

Request

Parameters:

{"locale"=>"es",
 "product_id"=>"synchro",
 "id"=>"synchro-site"}

Show session dump

Show env dump

Response

Headers:

None