| ( ! ) Fatal error: Declaration of App\View\Helper\FormHelper::control($fieldName, array $options = []) must be compatible with Cake\View\Helper\FormHelper::control(string $fieldName, array $options = []): string in /var/www/dsw2-upgrade/src/View/Helper/FormHelper.php on line 8 |
| Call Stack |
| # | Time | Memory | Function | Location |
| 1 | 0.0746 | 725120 | Cake\Error\ExceptionTrap->handleException( $exception = class Error { protected $message = 'Class "ErrorEmail\\Middleware\\ErrorHandlerMiddleware" not found'; private string $string = ''; protected $code = 0; protected string $file = '/var/www/dsw2-upgrade/src/Middleware/ErrorHandlerMiddleware.php'; protected int $line = 17; private array $trace = [0 => [...], 1 => [...], 2 => [...], 3 => [...], 4 => [...]]; private ?Throwable $previous = NULL } ) | .../ExceptionTrap.php:0 |
| 2 | 0.0964 | 960680 | Cake\Error\Renderer\WebExceptionRenderer->render( ) | .../ExceptionTrap.php:250 |
| 3 | 0.0988 | 950712 | Cake\Error\Renderer\WebExceptionRenderer->_outputMessage( $template = 'error' ) | .../WebExceptionRenderer.php:303 |
| 4 | 0.0988 | 950712 | Cake\Controller\Controller->render( $template = 'error', $layout = ??? ) | .../WebExceptionRenderer.php:432 |
| 5 | 0.1008 | 952184 | Cake\Controller\Controller->createView( $viewClass = NULL ) | .../Controller.php:788 |
| 6 | 0.1008 | 952216 | Cake\View\ViewBuilder->build( $vars = [], $request = class Cake\Http\ServerRequest { protected $params = ['plugin' => NULL, 'controller' => NULL, 'action' => NULL, '_ext' => NULL, 'pass' => [...]]; protected $data = []; protected $query = []; protected $cookies = []; protected $_environment = ['USER' => 'www-data', 'HOME' => '/var/www', 'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate', 'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)', 'HTTP_ACCEPT' => '*/*', 'HTTP_HOST' => 'dsw2-upgrade.solr.cz', 'PATH_INFO' => '', 'SCRIPT_FILENAME' => '/var/www/dsw2-upgrade/webroot/index.php', 'REDIRECT_STATUS' => '200', 'SERVER_NAME' => 'dsw2-upgrade.solr.cz', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '37.205.14.31', 'REMOTE_USER' => '', 'REMOTE_PORT' => '23790', 'REMOTE_ADDR' => '216.73.216.60', 'SERVER_SOFTWARE' => 'nginx/1.18.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'HTTPS' => 'on', 'REQUEST_SCHEME' => 'https', 'SERVER_PROTOCOL' => 'HTTP/2.0', 'DOCUMENT_ROOT' => '/var/www/dsw2-upgrade/webroot', 'DOCUMENT_URI' => '/index.php', 'REQUEST_URI' => '/', 'SCRIPT_NAME' => '/index.php', 'CONTENT_LENGTH' => '', 'CONTENT_TYPE' => '', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => 1764987390.223911, 'REQUEST_TIME' => 1764987390, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => NULL]; protected $base = ''; protected $webroot = '/'; public $trustProxy = FALSE; protected $trustedProxies = []; protected $_detectorCache = ['ajax' => FALSE]; protected $stream = class Laminas\Diactoros\PhpInputStream { protected $resource = resource(24) of type (stream); protected $stream = 'php://input'; private string $cache = ''; private bool $reachedEof = FALSE }; protected $uri = class Cake\Http\Uri { private $base = ''; private $webroot = '/'; private $uri = class Laminas\Diactoros\Uri { ... } }; protected $session = class Cake\Http\Session { protected $_engine = class Cake\Http\Session\CacheSession { ... }; protected $_started = NULL; protected $_lifetime = 36288000; protected $_isCLI = FALSE; protected $headerSentInfo = NULL }; protected $flash = class Cake\Http\FlashMessage { protected $_defaultConfig = [...]; protected $session = class Cake\Http\Session { ... }; protected $_config = [...]; protected $_configInitialized = TRUE }; protected $attributes = ['isAjax' => FALSE]; protected $emulatedAttributes = [0 => 'session', 1 => 'flash', 2 => 'webroot', 3 => 'base', 4 => 'params', 5 => 'here']; protected $uploadedFiles = []; protected $protocol = NULL; protected $requestTarget = NULL }, $response = class Cake\Http\Response { public $status = 500; public $contentType = 'text/html'; public $headers = ['Content-Type' => [...]]; public $file = NULL; public $fileRange = []; public $cookies = class Cake\Http\Cookie\CookieCollection { protected $cookies = [...] }; public $cacheDirectives = []; public $body = '' }, $events = class Cake\Event\EventManager { public $_listeners = ['Controller.startup' => '1 listener(s)', 'Controller.beforeRender' => '2 listener(s)', 'Controller.initialize' => '1 listener(s)', 'Controller.beforeRedirect' => '1 listener(s)', 'Controller.shutdown' => '1 listener(s)']; public $_isGlobal = FALSE; public $_trackEvents = FALSE; public $_generalManager = '(object) EventManager'; public $_dispatchedEvents = NULL } ) | .../ViewVarsTrait.php:71 |
| 7 | 0.1026 | 953976 | Cake\View\View->__construct( $request = class Cake\Http\ServerRequest { protected $params = ['plugin' => NULL, 'controller' => NULL, 'action' => NULL, '_ext' => NULL, 'pass' => [...]]; protected $data = []; protected $query = []; protected $cookies = []; protected $_environment = ['USER' => 'www-data', 'HOME' => '/var/www', 'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate', 'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)', 'HTTP_ACCEPT' => '*/*', 'HTTP_HOST' => 'dsw2-upgrade.solr.cz', 'PATH_INFO' => '', 'SCRIPT_FILENAME' => '/var/www/dsw2-upgrade/webroot/index.php', 'REDIRECT_STATUS' => '200', 'SERVER_NAME' => 'dsw2-upgrade.solr.cz', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '37.205.14.31', 'REMOTE_USER' => '', 'REMOTE_PORT' => '23790', 'REMOTE_ADDR' => '216.73.216.60', 'SERVER_SOFTWARE' => 'nginx/1.18.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'HTTPS' => 'on', 'REQUEST_SCHEME' => 'https', 'SERVER_PROTOCOL' => 'HTTP/2.0', 'DOCUMENT_ROOT' => '/var/www/dsw2-upgrade/webroot', 'DOCUMENT_URI' => '/index.php', 'REQUEST_URI' => '/', 'SCRIPT_NAME' => '/index.php', 'CONTENT_LENGTH' => '', 'CONTENT_TYPE' => '', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => 1764987390.223911, 'REQUEST_TIME' => 1764987390, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => NULL]; protected $base = ''; protected $webroot = '/'; public $trustProxy = FALSE; protected $trustedProxies = []; protected $_detectorCache = ['ajax' => FALSE]; protected $stream = class Laminas\Diactoros\PhpInputStream { protected $resource = resource(24) of type (stream); protected $stream = 'php://input'; private string $cache = ''; private bool $reachedEof = FALSE }; protected $uri = class Cake\Http\Uri { private $base = ''; private $webroot = '/'; private $uri = class Laminas\Diactoros\Uri { ... } }; protected $session = class Cake\Http\Session { protected $_engine = class Cake\Http\Session\CacheSession { ... }; protected $_started = NULL; protected $_lifetime = 36288000; protected $_isCLI = FALSE; protected $headerSentInfo = NULL }; protected $flash = class Cake\Http\FlashMessage { protected $_defaultConfig = [...]; protected $session = class Cake\Http\Session { ... }; protected $_config = [...]; protected $_configInitialized = TRUE }; protected $attributes = ['isAjax' => FALSE]; protected $emulatedAttributes = [0 => 'session', 1 => 'flash', 2 => 'webroot', 3 => 'base', 4 => 'params', 5 => 'here']; protected $uploadedFiles = []; protected $protocol = NULL; protected $requestTarget = NULL }, $response = class Cake\Http\Response { public $status = 500; public $contentType = 'text/html'; public $headers = ['Content-Type' => [...]]; public $file = NULL; public $fileRange = []; public $cookies = class Cake\Http\Cookie\CookieCollection { protected $cookies = [...] }; public $cacheDirectives = []; public $body = '' }, $eventManager = class Cake\Event\EventManager { public $_listeners = ['Controller.startup' => '1 listener(s)', 'Controller.beforeRender' => '2 listener(s)', 'Controller.initialize' => '1 listener(s)', 'Controller.beforeRedirect' => '1 listener(s)', 'Controller.shutdown' => '1 listener(s)']; public $_isGlobal = FALSE; public $_trackEvents = FALSE; public $_generalManager = '(object) EventManager'; public $_dispatchedEvents = NULL }, $viewOptions = ['name' => 'Error', 'templatePath' => 'Error', 'template' => 'error', 'plugin' => NULL, 'theme' => NULL, 'layout' => NULL, 'autoLayout' => TRUE, 'layoutPath' => NULL, 'helpers' => [], 'viewVars' => ['message' => 'Class "ErrorEmail\\Middleware\\ErrorHandlerMiddleware" not found', 'url' => '/', 'error' => class Error { ... }, 'exceptions' => [...], 'code' => 500, 'trace' => [...], 'file' => '/var/www/dsw2-upgrade/src/Middleware/ErrorHandlerMiddleware.php', 'line' => 17], 'serialize' => [0 => 'message', 1 => 'url', 2 => 'code', 3 => 'file', 4 => 'line']] ) | .../ViewBuilder.php:604 |
| 8 | 0.1027 | 954448 | App\View\AppView->initialize( ) | .../View.php:361 |
| 9 | 0.1027 | 954448 | Cake\View\View->loadHelper( $name = 'Form', $config = ['templates' => 'bootstrap_form', 'className' => 'App\\View\\Helper\\FormHelper'] ) | .../AppView.php:74 |
| 10 | 0.1032 | 954576 | Cake\Core\ObjectRegistry->load( $name = 'Form', $config = ['templates' => 'bootstrap_form', 'className' => 'App\\View\\Helper\\FormHelper'] ) | .../View.php:1280 |
| 11 | 0.1032 | 954576 | Cake\View\HelperRegistry->_resolveClassName( $class = 'App\\View\\Helper\\FormHelper' ) | .../ObjectRegistry.php:100 |
| 12 | 0.1032 | 954576 | Cake\Core\App::className( $class = 'App\\View\\Helper\\FormHelper', $type = 'View/Helper', $suffix = 'Helper' ) | .../HelperRegistry.php:117 |
| 13 | 0.1032 | 954576 | class_exists( $class = 'App\\View\\Helper\\FormHelper' ) | .../App.php:58 |
| 14 | 0.1032 | 954664 | Composer\Autoload\ClassLoader->loadClass( $class = 'App\\View\\Helper\\FormHelper' ) | .../App.php:58 |
| 15 | 0.1034 | 954776 | Composer\Autoload\ClassLoader::Composer\Autoload\{closure:/var/www/dsw2-upgrade/vendor/composer/ClassLoader.php:577-579}( $file = '/var/www/dsw2-upgrade/vendor/composer/../../src/View/Helper/FormHelper.php' ) | .../ClassLoader.php:432 |
| 16 | 0.1034 | 955184 | include( '/var/www/dsw2-upgrade/src/View/Helper/FormHelper.php ) | .../ClassLoader.php:578 |