Page Error: undefined method `classForColumn' for nil:NilClass

RSP BACKTRACE

Handled by : Site Error Handler
NoMethodError: undefined method `classForColumn' for nil:NilClass
Stack:
  1. /var/data/dev/source/active/c21bowman.com/site/content/listings/local/search/residential.rb:232:in `sql'
  2. cityPages.rhtml:148:in `render'
  3. /usr/local/lib/ruby/2.7/rsp/platform/modruby.rb:203:in `eval'
  4. /usr/local/lib/ruby/2.7/rsp/platform/modruby.rb:203:in `rhtml'
  5. /usr/local/lib/ruby/2.7/rsp/platform/modruby.rb:291:in `render'
  6. /usr/local/lib/ruby/2.7/rsp/renderable.rb:89:in `render'
  7. /var/data/www/sites/live.c21bowman.com/content/listings/residential.rsp:58:in `block in cityPages'
  8. /usr/local/lib/ruby/2.7/rsp/rex/template.rb:119:in `content'
  9. /var/data/www/sites/live.c21bowman.com/content//listings/common/templates/index.rhtml:44:in `render'
 10. /usr/local/lib/ruby/2.7/rsp/platform/modruby.rb:203:in `eval'
 11. /usr/local/lib/ruby/2.7/rsp/platform/modruby.rb:203:in `rhtml'
 12. /usr/local/lib/ruby/2.7/rsp/platform/modruby.rb:291:in `render'
 13. /usr/local/lib/ruby/2.7/rsp/rex/template.rb:114:in `render'
 14. /var/data/www/sites/live.c21bowman.com/content/listings/residential.rsp:57:in `cityPages'
 15. /usr/local/lib/ruby/2.7/rsp/controller.rb:105:in `handleRequest'
 16. /usr/local/lib/ruby/2.7/rsp/controller.rb:48:in `initialize'
 17. /usr/local/lib/ruby/2.7/rsp/rex/controller.rb:25:in `initialize'
 18. /var/data/www/sites/live.c21bowman.com/content/listings/residential.rsp:24:in `initialize'
 19. (eval):33:in `new'
 20. (eval):33:in `execController'
 21. /usr/local/lib/ruby/2.7/rsp/core.rb:417:in `runCode'
 22. /usr/local/lib/ruby/2.7/rsp/core.rb:384:in `run'
 23. /usr/local/lib/ruby/2.7/rsp/core.rb:246:in `handle'
 24. /usr/local/lib/ruby/2.7/rsp/core.rb:569:in `handle'
 25. /usr/local/lib/ruby/2.7/rsp/core.rb:875:in `handle'
 26. /usr/local/lib/ruby/2.7/rsp/platform/modruby.rb:18:in `handle'