Notice (1024): Undefined property: ErrorController::$Auth in /var/www/clients/client1/web1/web/src/Controller/AppController.php on line 160 [CORE/src/Controller/Controller.php, line 387]
Warning (512): Unable to emit headers. Headers sent in file=/var/www/clients/client1/web1/web/vendor/cakephp/cakephp/src/Error/Debugger.php line=853 [CORE/src/Http/ResponseEmitter.php, line 48]
Warning (2): Cannot modify header information - headers already sent by (output started at /var/www/clients/client1/web1/web/vendor/cakephp/cakephp/src/Error/Debugger.php:853) [CORE/src/Http/ResponseEmitter.php, line 148]
Warning (2): Cannot modify header information - headers already sent by (output started at /var/www/clients/client1/web1/web/vendor/cakephp/cakephp/src/Error/Debugger.php:853) [CORE/src/Http/ResponseEmitter.php, line 181]
Error: Missing Method in WebsiteController

Missing Method in WebsiteController Cake\Controller\Exception\MissingActionException

Documentation API

The action categories is not defined in WebsiteController

Error: Create WebsiteController::categories() in file: src/Controller/WebsiteController.php.

<?php
namespace App\Controller;

use 
App\Controller\AppController;

class 
WebsiteController extends AppController
{

    public function 
categories()
    {

    }
}

If you want to customize this error message, create src/Template/Error/missing_action.ctp

toggle vendor stack frames