Warning (2) : include(/home/backoffice/src/Controller/AuthController.php): Failed to open stream: Permission denied [in /home/backoffice/vendor/composer/ClassLoader.php, line 576]
Warning (2) : include(): Failed opening '/home/backoffice/vendor/composer/../../src/Controller/AuthController.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php:/usr/share/pear:/usr/share/php') [in /home/backoffice/vendor/composer/ClassLoader.php, line 576]
Warning (512) : Unable to emit headers. Headers sent in file=/home/backoffice/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php line=37 [in /home/backoffice/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 65]
Warning (2) : Cannot modify header information - headers already sent by (output started at /home/backoffice/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php:37) [in /home/backoffice/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 158]
Warning (2) : Cannot modify header information - headers already sent by (output started at /home/backoffice/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php:37) [in /home/backoffice/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 191]
Error: Missing Controller

Missing Controller 📋

Cake\Http\Exception\MissingControllerException

Error AuthController 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 AuthController below in file: src/Controller/AuthController.php

    <?php
    namespace App\Controller;

    use App\Controller\AppController;

    class AuthController 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