Error !

UnboundLocalError: local variable 'article' referenced before assignment

<%namespace name="partials" file="partials" inheritable="True" /> <%namespace name="menu" file="menu" inheritable="True" /> <%namespace name="cookie_consent" file="cookie_consent" inheritable="True" /> <% id = str(site.REQUEST.get('id')) slug = str(site.REQUEST.get('navn')) if (id=='None' and slug=='None'): exit endif
templates/ferd/newsroom-article, line 4:
<%
/srv/dd-web01/limecms/ferd/ferd01/lib/python2.7/site-packages/Mako-1.0.7-py2.7.egg/mako/runtime.py, line 899:
callable_(context, *args, **kwargs)
/srv/dd-web01/limecms/ferd/ferd01/lib/python2.7/site-packages/Mako-1.0.7-py2.7.egg/mako/runtime.py, line 873:
_exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
/srv/dd-web01/limecms/ferd/ferd01/lib/python2.7/site-packages/Mako-1.0.7-py2.7.egg/mako/runtime.py, line 838:
**_kwargs_for_callable(callable_, data))
/srv/dd-web01/limecms/ferd/ferd01/lib/python2.7/site-packages/Mako-1.0.7-py2.7.egg/mako/template.py, line 462:
return runtime._render(self, self.callable_, args, data)
/var/limecms/ferd/ferd01/ferd-inst/Products/LimeTemplate/LimeTemplate.py, line 704:
html = mytemplate.render(object=object, site=site, request=self.REQUEST, extra=extra.get('kwargs', None), **extra)