Printing Error - ERPNext 15

Hi All,

Set up a new server with ERPNext 15 and Frappe 15 and when trying to print any document, I get a rendering error. Here is the last traceback.

Traceback (most recent call last):
File “apps/frappe/frappe/website/”, line 20, in get_response
response = renderer_instance.render()
File “apps/frappe/frappe/website/page_renderers/”, line 84, in render
html = self.get_html()
File “apps/frappe/frappe/website/”, line 523, in cache_html_decorator
html = func(*args, **kwargs)
File “apps/frappe/frappe/website/page_renderers/”, line 95, in get_html
File “apps/frappe/frappe/website/page_renderers/”, line 163, in update_context
data = self.run_pymodule_method(“get_context”)
File “apps/frappe/frappe/website/page_renderers/”, line 223, in run_pymodule_method
return method(self.context)
File “apps/frappe/frappe/www/”, line 57, in get_context
body = get_rendered_template(
File “apps/frappe/frappe/www/”, line 163, in get_rendered_template
format_data_map[df.get(“fieldname”)] = df
AttributeError: ‘str’ object has no attribute ‘get’

Any pointers would be much appreciated.