Motor and heater problems

My printer has been working well for 6 Months untill now.
The motors will only work when the home buttons are operated.
Also the bed and extruder heaters won’t switch on although the fan works on manual
I have tried downloading the software again and as a last resort I replaced the circuit board but no change.
Any help would be great.

I suggest to check the endstop wiring.
Can be that the printer thinks an endstop is hit due to bad wiring.

Which version of the firmware do you use?
From v2 and above the endstops are disabled during print.