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/”, line 62, in application
response = frappe.handler.handle()
File “/opt/bench/erpnext/apps/frappe/frappe/”, line 22, in handle
data = execute_cmd(cmd)
File “/opt/bench/erpnext/apps/frappe/frappe/”, line 53, in execute_cmd
return, **frappe.form_dict)
File “/opt/bench/erpnext/apps/frappe/frappe/”, line 942, in call
return fn(*args, **newargs)
File “/opt/bench/erpnext/apps/frappe/frappe/email/doctype/auto_email_report/”, line 167, in send_now
File “/opt/bench/erpnext/apps/frappe/frappe/email/doctype/auto_email_report/”, line 122, in send
data = self.get_report_content()
File “/opt/bench/erpnext/apps/frappe/frappe/email/doctype/auto_email_report/”, line 61, in get_report_content
filters = self.filters, as_dict=True)
File “/opt/bench/erpnext/apps/frappe/frappe/core/doctype/report/”, 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”: “”
“url”: “/”