defendant and attorney arrays with missing fields filled and error added to mysql