Missing Method in PagesController 📋

Cake\Controller\Exception\MissingActionException
Toggle Vendor Stack Frames

Error The action commentBienChoisirSesPlantesDInterieurC1 is not defined in PagesController

        $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 PagesController::commentBienChoisirSesPlantesDInterieurC1() in file: src/Controller/PagesController.php.

<?php
namespace App\Controller;

use 
App\Controller\AppController;

class 
PagesController extends AppController
{

    public function 
commentBienChoisirSesPlantesDInterieurC1()
    {

    }
}

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