Error !

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

image = object.get(image.get('sql')) %> <li> <img src="${image.url(dontfollow=True)}/slider" alt="${image.val('title')}" /> </li> % endfor </ul> </div> <div id="carousel" class="twelve columns alpha flexslider">
templates/ferd/case, line 46:
<img src="${image.url(dontfollow=True)}/slider" alt="${image.val('title')}" />
templates/ferd/site, line 160:
${self.main_content()}
/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)