Warning (2) : include(/home/todos/public_html/src/Controller/WebController.php): Failed to open stream: No such file or directory [in /home/todos/public_html/vendor/composer/ClassLoader.php, line 576]
Warning (2) : include() [<a href='https://secure.php.net/function.include'>function.include</a>]: Failed opening '/home/todos/public_html/vendor/composer/../../src/Controller/WebController.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') [in /home/todos/public_html/vendor/composer/ClassLoader.php, line 576]
Warning (512) : Unable to emit headers. Headers sent in file=/home/todos/public_html/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php line=36 [in /home/todos/public_html/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 71]
Warning (2) : Cannot modify header information - headers already sent by (output started at /home/todos/public_html/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php:36) [in /home/todos/public_html/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 168]
Warning (2) : Cannot modify header information - headers already sent by (output started at /home/todos/public_html/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php:36) [in /home/todos/public_html/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 197]
Error: Missing Controller

Missing Controller 📋

Cake\Http\Exception\MissingControllerException
Toggle Vendor Stack Frames

Error WebController could not be found.

    public function create(ServerRequestInterface $request): Controller
    {
        $className $this->getControllerClass($request);
        if ($className === null) {
            throw $this->missingController($request);
        }
        $reflection = new ReflectionClass($className);
        if ($reflection->isAbstract()) {

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

    <?php
    
namespace App\Controller;

    use 
App\Controller\AppController;

    class 
WebController extends AppController
    
{

    }

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