Notice (8): compact(): Undefined variable: tipos_planos [APP/Controller/AppController.php, line 108]
Notice (8): compact() [<a href='https://secure.php.net/function.compact'>function.compact</a>]: Undefined variable: count_avisos [APP/Controller/AppController.php, line 108]
Notice (8): compact() [<a href='https://secure.php.net/function.compact'>function.compact</a>]: Undefined variable: etagMatches [CORE/src/Http/Response.php, line 1864]
Notice (8): compact() [<a href='https://secure.php.net/function.compact'>function.compact</a>]: Undefined variable: timeMatches [CORE/src/Http/Response.php, line 1864]
Warning (512): Unable to emit headers. Headers sent in file=/var/www/html/maksoud/Sales-System/vendor/cakephp/cakephp/src/Error/Debugger.php line=822 [CORE/src/Http/ResponseEmitter.php, line 48]
Warning (2): Cannot modify header information - headers already sent by (output started at /var/www/html/maksoud/Sales-System/vendor/cakephp/cakephp/src/Error/Debugger.php:822) [CORE/src/Http/ResponseEmitter.php, line 148]
Warning (2): Cannot modify header information - headers already sent by (output started at /var/www/html/maksoud/Sales-System/vendor/cakephp/cakephp/src/Error/Debugger.php:822) [CORE/src/Http/ResponseEmitter.php, line 177]
Error: Missing Method in PagesController

Missing Method in PagesController Cake\Controller\Exception\MissingActionException

Documentation API

The action index is not defined in PagesController

Error: Create PagesController::index() in file: src/Controller/PagesController.php.

<?php
namespace App\Controller;

use 
App\Controller\AppController;

class 
PagesController extends AppController
{

    public function 
index()
    {

    }
}

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

toggle vendor stack frames