Apply source code modification on server to address cause of bugs on clicking "Get Orders from Magento" button in Affiliate System Web application, The cause of error is the variable implemented in source code is not exist in data collection of trunc end point. Also fixed undefined variables in MgtOrder.php