LG Google Nexus 4 – How to fix no SIM card error

This morning I tried to switch my mobile phone on, only to be greeted by an error. It stated in the top left corner:

No SIM card. Emergency Calls only.

The date on the phone was set to the 1stĀ of Janurary and every time I tried to restart the phone the error would not go away.

I removed the SIM card from the device using a bent staple (I couldn’t find that little widget to open it properly), and checked to make sure everything was clean.

Finally, I noticed that flight mode was still on. I went into the settings and switched flight mode off. I then restarted the phone and the SIM personal lock code appeared. After entereing my PIN successfully the phone was back to normal.

Hopefully this helps anyone else with the same error.