Deprecated (16384)
: Since 4.0.0: Cake\Database\Type is deprecated. Use Cake\Database\TypeFactory instead.
/home/weed2016/public_html/vendor/composer/ClassLoader.php, line: 576
You can disable all deprecation warnings by setting `Error.errorLevel` to `E_ALL & ~E_USER_DEPRECATED`. Adding `vendor/composer/ClassLoader.php` to `Error.ignoredDeprecationPaths` in your `config/app.php` config will mute deprecations from that file only. [in
/home/weed2016/public_html/vendor/cakephp/cakephp/src/Core/functions.php, line
318]
Code
trigger_error($message, E_USER_DEPRECATED);
}
/home/weed2016/public_html/vendor/cakephp/cakephp/src/Core/functions.php /home/weed2016/public_html/vendor/cakephp/cakephp/src/Core/functions.php, line 318
/home/weed2016/public_html/vendor/cakephp/cakephp/src/Database/Type.php /home/weed2016/public_html/vendor/cakephp/cakephp/src/Database/Type.php, line 6
/home/weed2016/public_html/vendor/composer/ClassLoader.php /home/weed2016/public_html/vendor/composer/ClassLoader.php, line 576
/home/weed2016/public_html/vendor/composer/ClassLoader.php /home/weed2016/public_html/vendor/composer/ClassLoader.php, line 427
Composer\Autoload\ClassLoader->loadClass() /home/weed2016/public_html/config/bootstrap.php, line 186
/home/weed2016/public_html/vendor/cakephp/cakephp/src/Http/BaseApplication.php /home/weed2016/public_html/vendor/cakephp/cakephp/src/Http/BaseApplication.php, line 174
Cake\Http\BaseApplication->bootstrap() /home/weed2016/public_html/src/Application.php, line 38
App\Application->bootstrap() /home/weed2016/public_html/vendor/cakephp/cakephp/src/Http/Server.php, line 118
Cake\Http\Server->bootstrap() /home/weed2016/public_html/vendor/cakephp/cakephp/src/Http/Server.php, line 80
Cake\Http\Server->run() /home/weed2016/public_html/webroot/index.php, line 44
[main]
Deprecated (16384)
: Configuring immutable or mutable classes is deprecated and immutable classes will be the permanent configuration in 5.0. Calling `useImmutable()` is unnecessary.
/home/weed2016/public_html/config/bootstrap.php, line: 187
You can disable all deprecation warnings by setting `Error.errorLevel` to `E_ALL & ~E_USER_DEPRECATED`. Adding `config/bootstrap.php` to `Error.ignoredDeprecationPaths` in your `config/app.php` config will mute deprecations from that file only. [in
/home/weed2016/public_html/vendor/cakephp/cakephp/src/Core/functions.php, line
318]
Code
trigger_error($message, E_USER_DEPRECATED);
}
/home/weed2016/public_html/vendor/cakephp/cakephp/src/Core/functions.php /home/weed2016/public_html/vendor/cakephp/cakephp/src/Core/functions.php, line 318
/home/weed2016/public_html/vendor/cakephp/cakephp/src/Database/Type/DateTimeType.php /home/weed2016/public_html/vendor/cakephp/cakephp/src/Database/Type/DateTimeType.php, line 453
Cake\Database\Type\DateTimeType->useImmutable() /home/weed2016/public_html/config/bootstrap.php, line 187
/home/weed2016/public_html/vendor/cakephp/cakephp/src/Http/BaseApplication.php /home/weed2016/public_html/vendor/cakephp/cakephp/src/Http/BaseApplication.php, line 174
Cake\Http\BaseApplication->bootstrap() /home/weed2016/public_html/src/Application.php, line 38
App\Application->bootstrap() /home/weed2016/public_html/vendor/cakephp/cakephp/src/Http/Server.php, line 118
Cake\Http\Server->bootstrap() /home/weed2016/public_html/vendor/cakephp/cakephp/src/Http/Server.php, line 80
Cake\Http\Server->run() /home/weed2016/public_html/webroot/index.php, line 44
[main]
Deprecated (16384)
: Configuring immutable or mutable classes is deprecated and immutable classes will be the permanent configuration in 5.0. Calling `useImmutable()` is unnecessary.
/home/weed2016/public_html/config/bootstrap.php, line: 189
You can disable all deprecation warnings by setting `Error.errorLevel` to `E_ALL & ~E_USER_DEPRECATED`. Adding `config/bootstrap.php` to `Error.ignoredDeprecationPaths` in your `config/app.php` config will mute deprecations from that file only. [in
/home/weed2016/public_html/vendor/cakephp/cakephp/src/Core/functions.php, line
318]
Code
trigger_error($message, E_USER_DEPRECATED);
}
/home/weed2016/public_html/vendor/cakephp/cakephp/src/Core/functions.php /home/weed2016/public_html/vendor/cakephp/cakephp/src/Core/functions.php, line 318
/home/weed2016/public_html/vendor/cakephp/cakephp/src/Database/Type/DateType.php /home/weed2016/public_html/vendor/cakephp/cakephp/src/Database/Type/DateType.php, line 71
Cake\Database\Type\DateType->useImmutable() /home/weed2016/public_html/config/bootstrap.php, line 189
/home/weed2016/public_html/vendor/cakephp/cakephp/src/Http/BaseApplication.php /home/weed2016/public_html/vendor/cakephp/cakephp/src/Http/BaseApplication.php, line 174
Cake\Http\BaseApplication->bootstrap() /home/weed2016/public_html/src/Application.php, line 38
App\Application->bootstrap() /home/weed2016/public_html/vendor/cakephp/cakephp/src/Http/Server.php, line 118
Cake\Http\Server->bootstrap() /home/weed2016/public_html/vendor/cakephp/cakephp/src/Http/Server.php, line 80
Cake\Http\Server->run() /home/weed2016/public_html/webroot/index.php, line 44
[main]
Deprecated (16384)
: Configuring immutable or mutable classes is deprecated and immutable classes will be the permanent configuration in 5.0. Calling `useImmutable()` is unnecessary.
/home/weed2016/public_html/config/bootstrap.php, line: 191
You can disable all deprecation warnings by setting `Error.errorLevel` to `E_ALL & ~E_USER_DEPRECATED`. Adding `config/bootstrap.php` to `Error.ignoredDeprecationPaths` in your `config/app.php` config will mute deprecations from that file only. [in
/home/weed2016/public_html/vendor/cakephp/cakephp/src/Core/functions.php, line
318]
Code
trigger_error($message, E_USER_DEPRECATED);
}
/home/weed2016/public_html/vendor/cakephp/cakephp/src/Core/functions.php /home/weed2016/public_html/vendor/cakephp/cakephp/src/Core/functions.php, line 318
/home/weed2016/public_html/vendor/cakephp/cakephp/src/Database/Type/DateTimeType.php /home/weed2016/public_html/vendor/cakephp/cakephp/src/Database/Type/DateTimeType.php, line 453
Cake\Database\Type\DateTimeType->useImmutable() /home/weed2016/public_html/config/bootstrap.php, line 191
/home/weed2016/public_html/vendor/cakephp/cakephp/src/Http/BaseApplication.php /home/weed2016/public_html/vendor/cakephp/cakephp/src/Http/BaseApplication.php, line 174
Cake\Http\BaseApplication->bootstrap() /home/weed2016/public_html/src/Application.php, line 38
App\Application->bootstrap() /home/weed2016/public_html/vendor/cakephp/cakephp/src/Http/Server.php, line 118
Cake\Http\Server->bootstrap() /home/weed2016/public_html/vendor/cakephp/cakephp/src/Http/Server.php, line 80
Cake\Http\Server->run() /home/weed2016/public_html/webroot/index.php, line 44
[main]
Error
[Cake\View\Exception\MissingTemplateException] Template file `Error/error500.php` could not be found.
The following paths were searched:
- `/home/weed2016/public_html/templates/Error/error500.php`
- `/home/weed2016/public_html/vendor/cakephp/cakephp/templates/Error/error500.php`
(/home/weed2016/public_html/vendor/cakephp/cakephp/src/View/View.php:1420)
#0 /home/weed2016/public_html/vendor/cakephp/cakephp/src/View/View.php(807): Cake\View\View->_getTemplateFileName()
#1 /home/weed2016/public_html/vendor/cakephp/cakephp/src/Error/Renderer/WebExceptionRenderer.php(479): Cake\View\View->render()
#2 /home/weed2016/public_html/vendor/cakephp/cakephp/src/Error/Renderer/WebExceptionRenderer.php(441): Cake\Error\Renderer\WebExceptionRenderer->_outputMessageSafe()
#3 /home/weed2016/public_html/vendor/cakephp/cakephp/src/Error/Renderer/WebExceptionRenderer.php(444): Cake\Error\Renderer\WebExceptionRenderer->_outputMessage()
#4 /home/weed2016/public_html/vendor/cakephp/cakephp/src/Error/Renderer/WebExceptionRenderer.php(303): Cake\Error\Renderer\WebExceptionRenderer->_outputMessage()
#5 /home/weed2016/public_html/vendor/cakephp/cakephp/src/Error/ErrorHandler.php(138): Cake\Error\Renderer\WebExceptionRenderer->render()
#6 /home/weed2016/public_html/vendor/cakephp/cakephp/src/Error/BaseErrorHandler.php(226): Cake\Error\ErrorHandler->_displayException()
#7 [internal function]: Cake\Error\BaseErrorHandler->handleException()
#8 {main}
File
/home/weed2016/public_html/vendor/cakephp/cakephp/src/Error/ErrorHandler.php
Line
196
CORE/src/Error/ErrorHandler.php at line 196
(edit)
|
$exception->getFile(),
|
|
$exception->getLine(),
|
|
$exception->getTraceAsString()
|
|
);
|
|
trigger_error($message, E_USER_ERROR);
|
|
}
|
|
|
|
/**
|
|
* Method that can be easily stubbed in testing.
|
-
|
$this->_handled = true;
|
|
[$error, $log] = static::mapErrorCode($code);
|
|
if ($log === LOG_ERR) {
|
|
/** @psalm-suppress PossiblyNullArgument */
|
|
return $this->handleFatalError($code, $description, $file, $line);
|
|
}
|
|
$data = [
|
|
'level' => $log,
|
|
'code' => $code,
|
Toggle Arguments
-
-
|
$exception->getFile(),
|
|
$exception->getLine(),
|
|
$exception->getTraceAsString()
|
|
);
|
|
trigger_error($message, E_USER_ERROR);
|
|
}
|
|
|
|
/**
|
|
* Method that can be easily stubbed in testing.
|
Toggle Arguments
-
|
);
|
|
$response = $renderer->render();
|
|
$this->_sendResponse($response);
|
|
} catch (Throwable $exception) {
|
|
$this->_logInternalError($exception);
|
|
}
|
|
}
|
|
|
|
/**
|
Toggle Arguments
-
|
* @see https://secure.php.net/manual/en/function.set-exception-handler.php
|
|
*/
|
|
public function handleException(Throwable $exception): void
|
|
{
|
|
$this->_displayException($exception);
|
|
$this->logException($exception);
|
|
$code = $exception->getCode() ?: 1;
|
|
$this->_stop((int)$code);
|
|
}
|
Toggle Arguments
-
-
If you want to customize this error message, create
templates/Error/fatal_error.php