Missing Method in NewsController Cake\Controller\Exception\MissingActionException

Documentation API

The action page is not defined in NewsController

Error: Create NewsController::page() in file: src/Controller/NewsController.php.

<?php
namespace App\Controller;

use 
App\Controller\AppController;

class 
NewsController extends AppController
{

    public function 
page()
    {

    }
}

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

toggle vendor stack frames