Auto Email Report throws error when getting data to send

Localmachine runnnig 18.04 on production
followed the installation here : Parag_Kapoor’s insallation guide on 17.xx or 18.xx
16gb RAM
intel xeon
1tb hdd

I cant send auto email or send any autoreport

App Versions:

{
“erpnext”: “10.1.35”,
“frappe”: “10.1.34”
}

Error Report:

Traceback (most recent call last):
File “/opt/bench/erpnext/apps/frappe/frappe/app.py”, line 62, in application
response = frappe.handler.handle()
File “/opt/bench/erpnext/apps/frappe/frappe/handler.py”, line 22, in handle
data = execute_cmd(cmd)
File “/opt/bench/erpnext/apps/frappe/frappe/handler.py”, line 53, in execute_cmd
return frappe.call(method, **frappe.form_dict)
File “/opt/bench/erpnext/apps/frappe/frappe/init.py”, line 942, in call
return fn(*args, **newargs)
File “/opt/bench/erpnext/apps/frappe/frappe/email/doctype/auto_email_report/auto_email_report.py”, line 167, in send_now
auto_email_report.send()
File “/opt/bench/erpnext/apps/frappe/frappe/email/doctype/auto_email_report/auto_email_report.py”, line 122, in send
data = self.get_report_content()
File “/opt/bench/erpnext/apps/frappe/frappe/email/doctype/auto_email_report/auto_email_report.py”, line 61, in get_report_content
filters = self.filters, as_dict=True)
File “/opt/bench/erpnext/apps/frappe/frappe/core/doctype/report/report.py”, line 138, in get_data
order_by = _format(params.get(‘sort_by’).split(’.’)) + ’ ’ + params.get(‘sort_order’)
AttributeError: ‘NoneType’ object has no attribute ‘split’

Request Data:

{
“type”: “POST”,
“args”: {
“name”: “sales test”,
“cmd”: “frappe.email.doctype.auto_email_report.auto_email_report.send_now”
},
“url”: “/”
}