Deprecated (8192): Non-static method AppController::sendError() should not be called statically, assuming $this from incompatible context [APP\View\Layouts\error.ctp, line 73]

Fatal error: Uncaught exception 'FatalErrorException' with message '[SocketException] From is not specified. #0 C:\Domains\jawatankosong\jawatankosong.com\wwwroot\app\Controller\AppController.php(220): CakeEmail->send() #1 C:\Domains\jawatankosong\jawatankosong.com\wwwroot\app\View\Layouts\error.ctp(73): AppController->sendError('Users', 'register', '<h2>Uncaught ex...') #2 C:\Domains\jawatankosong\jawatankosong.com\wwwroot\lib\Cake\View\View.php(971): include('C:\\Domains\\jawa...') #3 C:\Domains\jawatankosong\jawatankosong.com\wwwroot\lib\Cake\View\View.php(933): View->_evaluate('C:\\Domains\\jawa...', Array) #4 C:\Domains\jawatankosong\jawatankosong.com\wwwroot\lib\Cake\View\View.php(546): View->_render('C:\\Domains\\jawa...') #5 C:\Domains\jawatankosong\jawatankosong.com\wwwroot\lib\Cake\View\View.php(481): View->renderLayout('', 'error') #6 C:\Domains\jawatankosong\jawatankosong.com\wwwroot\lib\Cake\Error\ExceptionRenderer.php(328): View->render('error500', 'error') #7 C:\Domains\jawatankosong\jawatankosong.com\wwwro in C:\Domains\jawatankosong\jawatankosong.com\wwwroot\lib\Cake\Error\ErrorHandler.php on line 138