Error
[TypeError] preg_replace(): Argument #2 ($replacement) must be of type array|string, int given (/home/vqtxcve1uvhl/public_html/vendor/cakephp/cakephp/src/Utility/Text.php:235)
#0 /home/vqtxcve1uvhl/public_html/vendor/cakephp/cakephp/src/Utility/Text.php(235): preg_replace()
#1 /home/vqtxcve1uvhl/public_html/vendor/cakephp/cakephp/src/Error/Debugger.php(359): Cake\Utility\Text::insert()
#2 /home/vqtxcve1uvhl/public_html/vendor/cakephp/cakephp/src/Error/Debugger.php(276): Cake\Error\Debugger::formatTrace()
#3 /home/vqtxcve1uvhl/public_html/vendor/cakephp/cakephp/src/Error/Debugger.php(777): Cake\Error\Debugger::trace()
#4 /home/vqtxcve1uvhl/public_html/vendor/cakephp/cakephp/src/Error/ErrorHandler.php(121): Cake\Error\Debugger->outputError()
#5 /home/vqtxcve1uvhl/public_html/vendor/cakephp/cakephp/src/Error/BaseErrorHandler.php(187): Cake\Error\ErrorHandler->_displayError()
#6 /home/vqtxcve1uvhl/public_html/vendor/cakephp/cakephp/src/Http/ServerRequestFactory.php(164): Cake\Error\BaseErrorHandler->handleError()
#7 /home/vqtxcve1uvhl/public_html/vendor/cakephp/cakephp/src/Http/ServerRequestFactory.php(130): Cake\Http\ServerRequestFactory::marshalUriFromSapi()
#8 /home/vqtxcve1uvhl/public_html/vendor/cakephp/cakephp/src/Http/ServerRequestFactory.php(63): Cake\Http\ServerRequestFactory::createUri()
#9 /home/vqtxcve1uvhl/public_html/vendor/cakephp/cakephp/src/Error/ExceptionRenderer.php(125): Cake\Http\ServerRequestFactory::fromGlobals()
#10 /home/vqtxcve1uvhl/public_html/vendor/cakephp/cakephp/src/Error/ExceptionRenderer.php(106): Cake\Error\ExceptionRenderer->_getController()
#11 /home/vqtxcve1uvhl/public_html/vendor/cakephp/cakephp/src/Error/ErrorHandler.php(169): Cake\Error\ExceptionRenderer->__construct()
#12 /home/vqtxcve1uvhl/public_html/vendor/cakephp/cakephp/src/Error/ErrorHandler.php(134): Cake\Error\ErrorHandler->getRenderer()
#13 /home/vqtxcve1uvhl/public_html/vendor/cakephp/cakephp/src/Error/BaseErrorHandler.php(221): Cake\Error\ErrorHandler->_displayException()
#14 [internal function]: Cake\Error\BaseErrorHandler->handleException()
#15 {main}
File
/home/vqtxcve1uvhl/public_html/vendor/cakephp/cakephp/src/Error/ErrorHandler.php
Line
196
$exception->getFile(), |
|
$exception->getLine(), |
|
$exception->getTraceAsString() |
|
); |
|
trigger_error($message, E_USER_ERROR); |
|
} |
|
|
|
/** |
|
* Method that can be easily stubbed in testing. |
If you want to customize this error message, create templates/Error/fatal_error.php