How to solve error 4SNS/1/40000000:VDOR-18.507?
It is definitely either a sensor error and/or hardware problem that is triggering the sensor.

In a situation such as this you really need to take it to an Apple Store or authorised service repairer. If you have a Genius Bar near you, make an appointment there as they won't charge you for just a diagnosis.

Reset the SMC

Here are the steps for resetting the SMC on your particular MacBook Pro. This may help in terms of your fans and the Heat.


Shut down your computer 
Keep the MagSafe adapter (power cable) plugged in. 
Press at the same time shiftoptioncontrol 
(on the left side of the keyboard) and the power button 
Let go 
Turn your computer back on with the power button.