You basically get the LoadProhibited error when your accessing index or anything which is out of bound. Check for correct initialisation and definitions before accessing them.