Looks like a device programmer issue. Usually this error is caused by a too low VPP voltage on MCLR, and/or poor power supply filtering.

Which programmer are you using? If it's a JDM based + you're using a USB to Serial adapter, then yes, you run into usual problems.

You can try to erase the device, then reprogram it...