Missing Method in HistoryController Cake\Controller\Exception\MissingActionException

Documentation API

The action shop is not defined in HistoryController

Error: Create HistoryController::shop() in file: src/Controller/HistoryController.php.

<?php
namespace App\Controller;

use 
App\Controller\AppController;

class 
HistoryController extends AppController
{

    public function 
shop()
    {

    }
}

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

toggle vendor stack frames