Try ERPNext Buy Support Partners Foundation

WhatsApp Notification Error!

Hello !!

I have just configured WhatsApp using Twillio.

I got an error log.

Traceback (most recent call last):
File “/home/frappe/benches/bench-version-13-f1-111/apps/frappe/frappe/email/doctype/notification/notification.py”, line 141, in send
self.send_whatsapp_msg(doc, context)
File “/home/frappe/benches/bench-version-13-f1-111/apps/frappe/frappe/email/doctype/notification/notification.py”, line 236, in send_whatsapp_msg
receiver_list=self.get_receiver_list(doc, context),
File “/home/frappe/benches/bench-version-13-f1-111/apps/frappe/frappe/email/doctype/notification/notification.py”, line 305, in get_receiver_list
receiver_list.append(get_user_info(doc.get(‘owner’), ‘mobile_no’))
File “/home/frappe/benches/bench-version-13-f1-111/apps/frappe/frappe/core/doctype/role/role.py”, line 48, in get_user_info
user_info, enabled = frappe.db.get_value(“User”, user.parent, [field, “enabled”])
AttributeError: ‘str’ object has no attribute ‘parent’