Warning: Undefined array key "code"

Please find the previous explanation of the issue here:

If you have trouble finding the code that is doing_it_wrong(), please let us know.