MacBook freezes only on “restart”
Some time ago I installed a third party hard drive in my 2017 macbook pro. Everything works perfect except when I press restart. When I restart the mac shuts down, slightly brightens and then stays that way. However, if i press shut down and manually turn the mac back on there is no problem at all. What can I do to fix this? It is especially frustrating for updates when the mac does restart itself.