Missing Method in WebController 📋

Cake\Controller\Exception\MissingActionException

Error The action blog is not defined in WebController

Error Create WebController::blog() in file: src/Controller/WebController.php.

<?php
namespace App\Controller;

use 
App\Controller\AppController;

class 
WebController extends AppController
{

    public function 
blog()
    {

    }
}
CORE/src/Controller/Controller.php at line 478 (edit)
        $request $this->request;
        $action $request->getParam('action');
        if (!$this->isAction($action)) {
            throw new MissingActionException([
                'controller' => $this->name 'Controller',
                'action' => $request->getParam('action'),
                'prefix' => $request->getParam('prefix') ?: '',
                'plugin' => $request->getParam('plugin'),

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