Error Opening Employee Doctype

Hi there i am trying to open Employee Doctype and am unable to do so i am getting the following error.
I as trying a bench update and then i am unable to do so.
The error is as following:

		Traceback (most recent call last):

File “/home/maverik/frappe-bench/apps/frappe/frappe/app.py”, line 55, in application
response = frappe.handler.handle()
File “/home/maverik/frappe-bench/apps/frappe/frappe/handler.py”, line 19, in handle
execute_cmd(cmd)
File “/home/maverik/frappe-bench/apps/frappe/frappe/handler.py”, line 36, in execute_cmd
ret = frappe.call(method, **frappe.form_dict)
File “/home/maverik/frappe-bench/apps/frappe/frappe/init.py”, line 890, in call
return fn(*args, **newargs)
File “/home/maverik/frappe-bench/apps/frappe/frappe/desk/form/load.py”, line 70, in getdoctype
docs = get_meta_bundle(doctype)
File “/home/maverik/frappe-bench/apps/frappe/frappe/desk/form/load.py”, line 81, in get_meta_bundle
bundle = [frappe.desk.form.meta.get_meta(doctype)]
File “/home/maverik/frappe-bench/apps/frappe/frappe/desk/form/meta.py”, line 22, in get_meta
meta = FormMeta(doctype)
File “/home/maverik/frappe-bench/apps/frappe/frappe/desk/form/meta.py”, line 32, in init
self.load_assets()
File “/home/maverik/frappe-bench/apps/frappe/frappe/desk/form/meta.py”, line 43, in load_assets
self.load_dashboard()
File “/home/maverik/frappe-bench/apps/frappe/frappe/desk/form/meta.py”, line 170, in load_dashboard
self.set(‘__dashboard’, self.get_dashboard_data())
File “/home/maverik/frappe-bench/apps/frappe/frappe/model/meta.py”, line 286, in get_dashboard_data
data = frappe._dict(module.get_data())
AttributeError: ‘module’ object has no attribute ‘get_data’

Dont know what error am facing.

You have not updated both frappe and erpnext. Run bench update again.

How to update an app manually?

log into terminal with your frappe user and run

bench update