Deprecated: `Router::scope()` is deprecated, use the non-static method `RouteBuilder::scope()` instead. /var/www/html/config/routes.php, line: 297 You can disable all deprecation warnings by setting `Error.errorLevel` to `E_ALL & ~E_USER_DEPRECATED`. Adding `config/routes.php` to `Error.ignoredDeprecationPaths` in your `config/app.php` config will mute deprecations from that file only. in /var/www/html/vendor/cakephp/cakephp/src/Core/functions.php on line 318

Deprecated: `Router::prefix()` is deprecated, use the non-static method `RouteBuilder::prefix()` instead. /var/www/html/config/routes.php, line: 444 You can disable all deprecation warnings by setting `Error.errorLevel` to `E_ALL & ~E_USER_DEPRECATED`. Adding `config/routes.php` to `Error.ignoredDeprecationPaths` in your `config/app.php` config will mute deprecations from that file only. in /var/www/html/vendor/cakephp/cakephp/src/Core/functions.php on line 318

Deprecated: `Router::scope()` is deprecated, use the non-static method `RouteBuilder::scope()` instead. /var/www/html/vendor/cakephp/cakephp/src/Routing/Router.php, line: 900 You can disable all deprecation warnings by setting `Error.errorLevel` to `E_ALL & ~E_USER_DEPRECATED`. Adding `vendor/cakephp/cakephp/src/Routing/Router.php` to `Error.ignoredDeprecationPaths` in your `config/app.php` config will mute deprecations from that file only. in /var/www/html/vendor/cakephp/cakephp/src/Core/functions.php on line 318

Deprecated: `Router::prefix()` is deprecated, use the non-static method `RouteBuilder::prefix()` instead. /var/www/html/config/routes.php, line: 621 You can disable all deprecation warnings by setting `Error.errorLevel` to `E_ALL & ~E_USER_DEPRECATED`. Adding `config/routes.php` to `Error.ignoredDeprecationPaths` in your `config/app.php` config will mute deprecations from that file only. in /var/www/html/vendor/cakephp/cakephp/src/Core/functions.php on line 318

Deprecated: `Router::prefix()` is deprecated, use the non-static method `RouteBuilder::prefix()` instead. /var/www/html/config/routes.php, line: 637 You can disable all deprecation warnings by setting `Error.errorLevel` to `E_ALL & ~E_USER_DEPRECATED`. Adding `config/routes.php` to `Error.ignoredDeprecationPaths` in your `config/app.php` config will mute deprecations from that file only. in /var/www/html/vendor/cakephp/cakephp/src/Core/functions.php on line 318

Deprecated: PaginatorComponent is deprecated, use a Cake\Datasource\Pagination\NumericPaginator instance directly. /var/www/html/vendor/cakephp/cakephp/src/Controller/ComponentRegistry.php, line: 133 You can disable all deprecation warnings by setting `Error.errorLevel` to `E_ALL & ~E_USER_DEPRECATED`. Adding `vendor/cakephp/cakephp/src/Controller/ComponentRegistry.php` to `Error.ignoredDeprecationPaths` in your `config/app.php` config will mute deprecations from that file only. in /var/www/html/vendor/cakephp/cakephp/src/Core/functions.php on line 318

Deprecated: 4.5.0 - Dynamic properties will be removed in PHP 8.2. Add `public $MasterAddressPrefectures = null;` to your class definition or use `#[AllowDynamicProperties]` attribute. /var/www/html/src/Controller/ProductsController.php, line: 39 You can disable all deprecation warnings by setting `Error.errorLevel` to `E_ALL & ~E_USER_DEPRECATED`. Adding `src/Controller/ProductsController.php` to `Error.ignoredDeprecationPaths` in your `config/app.php` config will mute deprecations from that file only. in /var/www/html/vendor/cakephp/cakephp/src/Core/functions.php on line 318

Warning: Unable to emit headers. Headers sent in file=/var/www/html/vendor/cakephp/cakephp/src/Core/functions.php line=318 in /var/www/html/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php on line 71

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/vendor/cakephp/cakephp/src/Core/functions.php:318) in /var/www/html/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php on line 168

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/vendor/cakephp/cakephp/src/Core/functions.php:318) in /var/www/html/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php on line 197
Error: Could not start the session, headers already sent in file `CORE/src/Core/functions.php` on line `318`

Could not start the session, headers already sent in file CORE/src/Core/functions.php on line 318 📋

Cake\Core\Exception\CakeException
CORE/src/Http/Session.php at line 518 (edit)
                    $this->headerSentInfo['line']
                );
            }
            throw new CakeException($message);
        }
        if (!is_array($name)) {
            $name = [$name => $value];

If you want to customize this error message, create templates/Error/error500.ctp