Warning (2) : Constant EGHL_URL already defined [in C:\inetpub\vhosts\thotel.com.my\httpdocs\plugins\Usermgmt\src\Controller\Component\UserAuthComponent.php, line 147]
Warning (2) : Constant MOLPAY_URL already defined [in C:\inetpub\vhosts\thotel.com.my\httpdocs\plugins\Usermgmt\src\Controller\Component\UserAuthComponent.php, line 148]
Warning (2) : Constant IPAY88_URL already defined [in C:\inetpub\vhosts\thotel.com.my\httpdocs\plugins\Usermgmt\src\Controller\Component\UserAuthComponent.php, line 149]
Warning (2) : Constant PAYDIBS_URL already defined [in C:\inetpub\vhosts\thotel.com.my\httpdocs\plugins\Usermgmt\src\Controller\Component\UserAuthComponent.php, line 150]
Warning (2) : Constant MAYBANK_URL already defined [in C:\inetpub\vhosts\thotel.com.my\httpdocs\plugins\Usermgmt\src\Controller\Component\UserAuthComponent.php, line 151]
Warning (2) : Constant QLICKNPAY_URL already defined [in C:\inetpub\vhosts\thotel.com.my\httpdocs\plugins\Usermgmt\src\Controller\Component\UserAuthComponent.php, line 152]
Warning (2) : Constant BAIDURIBANK_URL already defined [in C:\inetpub\vhosts\thotel.com.my\httpdocs\plugins\Usermgmt\src\Controller\Component\UserAuthComponent.php, line 153]
Warning (2) : Constant GKASH_URL already defined [in C:\inetpub\vhosts\thotel.com.my\httpdocs\plugins\Usermgmt\src\Controller\Component\UserAuthComponent.php, line 154]
Warning (2) : Constant GKASH_QUERY_URL already defined [in C:\inetpub\vhosts\thotel.com.my\httpdocs\plugins\Usermgmt\src\Controller\Component\UserAuthComponent.php, line 155]
Warning (2) : Constant TOYYIBPAY_URL already defined [in C:\inetpub\vhosts\thotel.com.my\httpdocs\plugins\Usermgmt\src\Controller\Component\UserAuthComponent.php, line 156]
Warning (2) : Constant PAYPAL_ENV already defined [in C:\inetpub\vhosts\thotel.com.my\httpdocs\plugins\Usermgmt\src\Controller\Component\UserAuthComponent.php, line 157]
Warning (2) : Constant PAYPAL_URL already defined [in C:\inetpub\vhosts\thotel.com.my\httpdocs\plugins\Usermgmt\src\Controller\Component\UserAuthComponent.php, line 158]
Warning (2) : Constant AXAIPAY_REQUEST_URL already defined [in C:\inetpub\vhosts\thotel.com.my\httpdocs\plugins\Usermgmt\src\Controller\Component\UserAuthComponent.php, line 159]
Warning (2) : Constant AXAIPAY_API_URL already defined [in C:\inetpub\vhosts\thotel.com.my\httpdocs\plugins\Usermgmt\src\Controller\Component\UserAuthComponent.php, line 160]
Warning (512) : Unable to emit headers. Headers sent in file=C:\inetpub\vhosts\thotel.com.my\httpdocs\vendor\cakephp\cakephp\src\Error\Renderer\HtmlErrorRenderer.php line=36 [in C:\inetpub\vhosts\thotel.com.my\httpdocs\vendor\cakephp\cakephp\src\Http\ResponseEmitter.php, line 71]
Warning (2) : Cannot modify header information - headers already sent by (output started at C:\inetpub\vhosts\thotel.com.my\httpdocs\vendor\cakephp\cakephp\src\Error\Renderer\HtmlErrorRenderer.php:36) [in C:\inetpub\vhosts\thotel.com.my\httpdocs\vendor\cakephp\cakephp\src\Http\ResponseEmitter.php, line 168]
Warning (2) : Cannot modify header information - headers already sent by (output started at C:\inetpub\vhosts\thotel.com.my\httpdocs\vendor\cakephp\cakephp\src\Error\Renderer\HtmlErrorRenderer.php:36) [in C:\inetpub\vhosts\thotel.com.my\httpdocs\vendor\cakephp\cakephp\src\Http\ResponseEmitter.php, line 197]
Warning (2) : Cannot modify header information - headers already sent by (output started at C:\inetpub\vhosts\thotel.com.my\httpdocs\vendor\cakephp\cakephp\src\Error\Renderer\HtmlErrorRenderer.php:36) [in C:\inetpub\vhosts\thotel.com.my\httpdocs\vendor\cakephp\cakephp\src\Http\ResponseEmitter.php, line 236]
Error: Missing Method in AppController

Missing Method in AppController 📋

Cake\Controller\Exception\MissingActionException
Toggle Vendor Stack Frames

Error The action webroot is not defined in AppController

        if ($result instanceof ResponseInterface) {
            return $result;
        }
        $action $controller->getAction();
        $args $this->getActionArgs(
            $action,
            array_values((array)$controller->getRequest()->getParam('pass'))
        );

Error Create AppController::webroot() in file: src\Controller\AppController.php.

<?php
namespace App\Controller;

use 
App\Controller\AppController;

class 
AppController extends AppController
{

    public function 
webroot()
    {

    }
}

If you want to customize this error message, create templates\Error\missing_action.php