NoMethodError in Builder::PagesController#show

undefined method `is_active_or_trial' for nil:NilClass

Extracted source (around line #60):
58
59
60
61
62
63
              
@meta_index = @page.meta_index
@meta_follow = @page.meta_follow
if !@site.is_demo && !@site.owners.first.is_active_or_trial
not_found(request) and return
else
if request.format.html? && !@page.switch_show && params[:internal].blank?

Rails.root: /app

Application Trace | Framework Trace | Full Trace

Request

Parameters:

{"path"=>"excavation-photos"}

Response

Headers:

None