Error !

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

<p><strong>${site.i18n('site-projects_participants')}:</strong><br/><span> %if participants: %for i,item in enumerate(participants): <% szname = item.val('title') try: szname = szname.split(' ') szname = szname[-1] + ', ' + ' '.join( szname[0:len(szname)-1] ) except:
templates/nmhresp/prosjekt, line 164:
<%
templates/nmhresp/site, line 256:
${self.main_content()}
/var/limecms/nmh/nmh01/lib/python2.6/site-packages/mako/runtime.py, line 890:
callable_(context, *args, **kwargs)
/var/limecms/nmh/nmh01/lib/python2.6/site-packages/mako/runtime.py, line 864:
_exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
/var/limecms/nmh/nmh01/lib/python2.6/site-packages/mako/runtime.py, line 829:
**_kwargs_for_callable(callable_, data))
/var/limecms/nmh/nmh01/lib/python2.6/site-packages/mako/template.py, line 445:
return runtime._render(self, self.callable_, args, data)
/var/limecms/nmh/nmh01/nmh-inst-01/Products/LimeTemplate/LimeTemplate.py, line 704:
html = mytemplate.render(object=object, site=site, request=self.REQUEST, extra=extra.get('kwargs', None), **extra)