Missing Method in ProfileController 📋

Cake\Controller\Exception\MissingActionException
Toggle Vendor Stack Frames

Error The action index.html is not defined in ProfileController

        $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'),

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

<?php
namespace App\Controller;

use 
App\Controller\AppController;

class 
ProfileController extends AppController
{

    public function 
index.html()
    {

    }
}

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