There are a couple thing you should try that will most likely resolve your issue. More than likely you have a short term hardware recognition issue. First try doing an SMC and PRAM reset.
Shut down computer > Pull power cord out of the back > hold the power button down for 15 seconds > reconnect and re-start machine
This resets the system management controller which drains the capacitors and allows the power distribution for the logic board to be reset.
Shut down computer > Hold down Command + Option + P + R > power on computer > Continue holding down those 4 keys until you hear the startup chime 2-3 times.
If this doen't work shoot me an email
<Edited by host>
I finally found a solution. I found this thread. Scroll down to mikehammon's post.
His solution is to plug in some iPhone headphones. For whatever reason that fixes the problem and you can go back to your regular headphones and they will work!