arifah96 Said:
"thank you for replying but right now I cant log into my macbook because it requires my password to enable touch id but when i want to type my password on my keyboard nothing happens its like my keyboard is unresponsive. how can i solve this?"
-------
A. Try Safe Mode:
In Safe Mode, login items do not run, and corrupt system files(i.e. caches) are intentionally reset as a way to fix issues
- Boot: in to Safe Mode: [Hold Down: shift key upon boot].
- Log in: as same user
- Delete: this user
- Restart the Mac
B. Bluetooth Devices?:
Is there any Bluetooth devices (particularly keyboard or mouse) laying about? If so, power those off.
C. External Peripherals:
Connect an external keyboard and external mouse. See if it then works.
No Success?
D. Reinstall the macOS:
Nothing would be deleted. It's just that items that have become corrupted or deleted, would be replaced or reinstalled back to where they should be. Go Here: How to reinstall macOS from macOS Recovery - Apple Support. Important: (applies if you can log in) Be certain to create a backup of your Mac prior to all of this. That way, you can have something to restore from the Mac from, should anything go wrong with the reinstall. Once reinstalled, try this once more, seeing if you still get this error.