Printer Halted Error on Geetech prusa i3 pro A

I have been pulling my hair out since updating my marlin firmware on Geetech prusa i3 pro A. Ever since the update, when i home the print head, it will give me a printer halted, homing failed error 9/10 times. When the homing is successful however, I get the same error after trying to auto level the bed with the probe. Please if anyone can help it would be greatly appreciated as i am about ready to the it out the window. Thanks in advance.