Notice (1024) : Undefined property `ErrorController::$Authentication` in `/app/src/Controller/AppController.php` on line 81 [in /app/vendor/cakephp/cakephp/src/Controller/Controller.php, line 314]
Warning (512) : Unable to emit headers. Headers sent in file=/app/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php line=37 [in /app/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 65]
Warning (2) : Cannot modify header information - headers already sent by (output started at /app/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php:37) [in /app/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 158]
Warning (2) : Cannot modify header information - headers already sent by (output started at /app/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php:37) [in /app/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 191]
Error: Missing Controller

Missing Controller 📋

Cake\Http\Exception\MissingControllerException

Error Phpstorm:Controller could not be found.

In the case you tried to access a plugin controller make sure you added it to your composer file or you use the autoload option for the plugin.

Suggestion Create the class Phpstorm:Controller below in file: src/Controller/Phpstorm:Controller.php

    <?php
    namespace App\Controller;

    use App\Controller\AppController;

    class Phpstorm:Controller extends AppController
    {

    }
CORE/src/Controller/ControllerFactory.php at line 335 (edit)
     * @return \Cake\Http\Exception\MissingControllerException
     */
    protected function missingController(ServerRequest $request): MissingControllerException
    {
        return new MissingControllerException([
            'controller' => $request->getParam('controller'),
            'plugin' => $request->getParam('plugin'),
            'prefix' => $request->getParam('prefix'),
            '_ext' => $request->getParam('_ext'),

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