Hello,
This issue is caused by your custom code http://prntscr.com/v55lft I suppose. Fix the code to avoid that fatal error and try to make the order after that.
Regards