Warning (2) : Undefined array key "HTTP_ACCEPT_LANGUAGE" [in /var/www/vhosts/girasolepietre.it/httpdocs/src/Controller/AppController.php, line 159]
Warning (512) : Unable to emit headers. Headers sent in file=/var/www/vhosts/girasolepietre.it/httpdocs/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php line=37 [in /var/www/vhosts/girasolepietre.it/httpdocs/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 71]
Warning (2) : Cannot modify header information - headers already sent by (output started at /var/www/vhosts/girasolepietre.it/httpdocs/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php:37) [in /var/www/vhosts/girasolepietre.it/httpdocs/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 164]
Warning (2) : Cannot modify header information - headers already sent by (output started at /var/www/vhosts/girasolepietre.it/httpdocs/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php:37) [in /var/www/vhosts/girasolepietre.it/httpdocs/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 197]
Error: Missing Method in NewsController

Missing Method in NewsController 📋

Cake\Controller\Exception\MissingActionException

Error The action newMaterials is not defined in NewsController

Error Create NewsController::newMaterials() in file: /var/www/vhosts/girasolepietre.it/httpdocs/plugins/News/src/Controller/NewsController.php.

<?php
namespace News\Controller;

use 
News\Controller\AppController;

class 
NewsController extends AppController
{

    public function 
newMaterials()
    {

    }
}
CORE/src/Controller/Controller.php at line 539 (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