Error !

AttributeError: 'NoneType' object has no attribute 'company_name'

13 ${self.page_navigation("terms_of_use")}
14 </%def>
15
16
17 <%def name="sub_content()">
18 <p><strong>NOTE:</strong> <i>Please read this carefully before using this website.</i></p>
19
20 <p>Welcome to the ${whitelabel_brand.company_name | h} website (&quot;<strong><i>Site</i></strong>&quot;). ${whitelabel_brand.company_name | h} maintains this Site to provide general information to our visitors. All use of this Site is subject to the following terms and conditions (&quot;<strong><i>Terms of Use</i></strong>&quot;). By accessing and browsing this Site, you agree to be bound by these Terms of Use.</p>
21
templates/terms_of_use.html, line 16:
/home/python_27x_33x_zmq_40x_toolchain/opt/virtualenvs/django1.1/lib/python2.7/site-packages/mako/runtime.py, line 255:
return lambda *args, **kwargs:callable_(self.context, *args, **kwargs)
../static/templates/base.html, line 112:
${self.container()}
/home/python_27x_33x_zmq_40x_toolchain/opt/virtualenvs/django1.1/lib/python2.7/site-packages/mako/runtime.py, line 414:
callable_(context, *args, **kwargs)
/home/python_27x_33x_zmq_40x_toolchain/opt/virtualenvs/django1.1/lib/python2.7/site-packages/mako/runtime.py, line 381:
_exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
/home/python_27x_33x_zmq_40x_toolchain/opt/virtualenvs/django1.1/lib/python2.7/site-packages/mako/runtime.py, line 364:
_render_context(template, callable_, context, *args, **_kwargs_for_callable(callable_, data))
/home/python_27x_33x_zmq_40x_toolchain/opt/virtualenvs/django1.1/lib/python2.7/site-packages/mako/template.py, line 133:
return runtime._render(self, self.callable_, args, data)
/home/so_src/pandora/www-production-trunk/webpy/spideroak.com/main/controller.py, line 77:
print tmpl.render(*args, **kwargs)