TypeError: rename_doc() got an unexpected keyword argument 'cmd'

I can’t rename any doc, always show error TypeError: rename_doc() got an unexpected keyword argument 'cmd'

15:58:41 web.1            | Traceback (most recent call last):
15:58:41 web.1            |   File "/home/frappe/frappe-bench/apps/frappe/frappe/app.py", line 60, in application
15:58:41 web.1            |     response = frappe.api.handle()
15:58:41 web.1            |   File "/home/frappe/frappe-bench/apps/frappe/frappe/api.py", line 58, in handle
15:58:41 web.1            |     return frappe.handler.handle()
15:58:41 web.1            |   File "/home/frappe/frappe-bench/apps/frappe/frappe/handler.py", line 24, in handle
15:58:41 web.1            |     data = execute_cmd(cmd)
15:58:41 web.1            |   File "/home/frappe/frappe-bench/apps/frappe/frappe/handler.py", line 63, in execute_cmd
15:58:41 web.1            |     return frappe.call(method, **frappe.form_dict)
15:58:41 web.1            |   File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 1068, in call
15:58:41 web.1            |     return fn(*args, **newargs)
15:58:41 web.1            |   File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 832, in rename_doc
15:58:41 web.1            |     return rename_doc(*args, **kwargs)
15:58:41 web.1            | TypeError: rename_doc() got an unexpected keyword argument 'cmd'

Please help, thanks

My frappe branch is develop

Hey,

Sorry for the delay. I faced the same issue right now and it should be fixed with this PR. Could you try and let me know if it works for you?