Code Context
trigger_error($message, E_USER_DEPRECATED);
}
$message =
'notEmpty() is deprecated. Use notEmptyString(), notEmptyArray(), notEmptyFile(), notEmptyDate(), notEmptyTime() or notEmptyDateTime() instead. - /var/www/fort-dev-tsvjapie/src/Form/ContactForm.php, line: 30
You can disable deprecation warnings by setting `Error.errorLevel` to `E_ALL & ~E_USER_DEPRECATED` in your config/app.php.'
$stackFrame = (int) 1
$trace = [
(int) 0 => [
'file' => '/var/www/fort-dev-tsvjapie/vendor/cakephp/cakephp/src/Validation/Validator.php',
'line' => (int) 1200,
'function' => 'deprecationWarning',
'args' => [
(int) 0 => 'notEmpty() is deprecated. Use notEmptyString(), notEmptyArray(), notEmptyFile(), notEmptyDate(), notEmptyTime() or notEmptyDateTime() instead.',
],
],
(int) 1 => [
'file' => '/var/www/fort-dev-tsvjapie/src/Form/ContactForm.php',
'line' => (int) 30,
'function' => 'notEmpty',
'class' => 'Cake\Validation\Validator',
'object' => object(Cake\Validation\Validator) id:0 {
},
'type' => '->',
'args' => [
(int) 0 => 'captcha_seed',
],
],
(int) 2 => [
'file' => '/var/www/fort-dev-tsvjapie/vendor/cakephp/cakephp/src/Validation/ValidatorAwareTrait.php',
'line' => (int) 120,
'function' => 'validationDefault',
'class' => 'App\Form\ContactForm',
'object' => object(App\Form\ContactForm) id:1 {
},
'type' => '->',
'args' => [
(int) 0 => object(Cake\Validation\Validator) id: 0 {},
],
],
(int) 3 => [
'file' => '/var/www/fort-dev-tsvjapie/vendor/cakephp/cakephp/src/Validation/ValidatorAwareTrait.php',
'line' => (int) 94,
'function' => 'createValidator',
'class' => 'Cake\Form\Form',
'object' => object(App\Form\ContactForm) id: 1 {},
'type' => '->',
'args' => [
(int) 0 => 'default',
],
],
(int) 4 => [
'file' => '/var/www/fort-dev-tsvjapie/vendor/cakephp/cakephp/src/View/Form/FormContext.php',
'line' => (int) 129,
'function' => 'getValidator',
'class' => 'Cake\Form\Form',
'object' => object(App\Form\ContactForm) id: 1 {},
'type' => '->',
'args' => [
],
],
(int) 5 => [
'file' => '/var/www/fort-dev-tsvjapie/vendor/cakephp/cakephp/src/View/Helper/FormHelper.php',
'line' => (int) 1346,
'function' => 'isRequired',
'class' => 'Cake\View\Form\FormContext',
'object' => object(Cake\View\Form\FormContext) id:2 {
},
'type' => '->',
'args' => [
(int) 0 => 'name',
],
],
(int) 6 => [
'file' => '/var/www/fort-dev-tsvjapie/vendor/cakephp/cakephp/src/View/Helper/FormHelper.php',
'line' => (int) 1316,
'function' => 'setRequiredAndCustomValidity',
'class' => 'Cake\View\Helper\FormHelper',
'object' => object(Cake\View\Helper\FormHelper) id:3 {
},
'type' => '->',
'args' => [
(int) 0 => 'name',
(int) 1 => [
'' => [maximum depth reached],
],
],
],
(int) 7 => [
'file' => '/var/www/fort-dev-tsvjapie/vendor/cakephp/cakephp/src/View/Helper/FormHelper.php',
'line' => (int) 1212,
'function' => '_magicOptions',
'class' => 'Cake\View\Helper\FormHelper',
'object' => object(Cake\View\Helper\FormHelper) id: 3 {},
'type' => '->',
'args' => [
(int) 0 => 'name',
(int) 1 => [
'' => [maximum depth reached],
],
(int) 2 => true,
],
],
(int) 8 => [
'file' => '/var/www/fort-dev-tsvjapie/vendor/cakephp/cakephp/src/View/Helper/FormHelper.php',
'line' => (int) 1047,
'function' => '_parseOptions',
'class' => 'Cake\View\Helper\FormHelper',
'object' => object(Cake\View\Helper\FormHelper) id: 3 {},
'type' => '->',
'args' => [
(int) 0 => 'name',
(int) 1 => [
'' => [maximum depth reached],
],
],
],
(int) 9 => [
'file' => '/var/www/fort-dev-tsvjapie/templates/Pages/contact.php',
'line' => (int) 41,
'function' => 'control',
'class' => 'Cake\View\Helper\FormHelper',
'object' => object(Cake\View\Helper\FormHelper) id: 3 {},
'type' => '->',
'args' => [
(int) 0 => 'name',
(int) 1 => [
'' => [maximum depth reached],
],
],
],
(int) 10 => [
'file' => '/var/www/fort-dev-tsvjapie/vendor/cakephp/cakephp/src/View/View.php',
'line' => (int) 1176,
'args' => [
(int) 0 => '/var/www/fort-dev-tsvjapie/templates/Pages/contact.php',
],
'function' => 'include',
],
(int) 11 => [
'file' => '/var/www/fort-dev-tsvjapie/vendor/cakephp/cakephp/src/View/View.php',
'line' => (int) 1134,
'function' => '_evaluate',
'class' => 'Cake\View\View',
'object' => object(App\View\AppView) id:4 {
},
'type' => '->',
'args' => [
(int) 0 => '/var/www/fort-dev-tsvjapie/templates/Pages/contact.php',
(int) 1 => [
'' => [maximum depth reached],
],
],
],
(int) 12 => [
'file' => '/var/www/fort-dev-tsvjapie/vendor/cakephp/cakephp/src/View/View.php',
'line' => (int) 764,
'function' => '_render',
'class' => 'Cake\View\View',
'object' => object(App\View\AppView) id: 4 {},
'type' => '->',
'args' => [
(int) 0 => '/var/www/fort-dev-tsvjapie/templates/Pages/contact.php',
],
],
(int) 13 => [
'file' => '/var/www/fort-dev-tsvjapie/vendor/cakephp/cakephp/src/Controller/Controller.php',
'line' => (int) 696,
'function' => 'render',
'class' => 'Cake\View\View',
'object' => object(App\View\AppView) id: 4 {},
'type' => '->',
'args' => [
],
],
(int) 14 => [
'file' => '/var/www/fort-dev-tsvjapie/vendor/cakephp/cakephp/src/Controller/Controller.php',
'line' => (int) 538,
'function' => 'render',
'class' => 'Cake\Controller\Controller',
'object' => object(App\Controller\PagesController) id:5 {
},
'type' => '->',
'args' => [
],
],
(int) 15 => [
'file' => '/var/www/fort-dev-tsvjapie/vendor/cakephp/cakephp/src/Controller/ControllerFactory.php',
'line' => (int) 79,
'function' => 'invokeAction',
'class' => 'Cake\Controller\Controller',
'object' => object(App\Controller\PagesController) id: 5 {},
'type' => '->',
'args' => [
(int) 0 => object(Closure) id:6 {
},
(int) 1 => [
'' => [maximum depth reached],
],
],
],
(int) 16 => [
'file' => '/var/www/fort-dev-tsvjapie/vendor/cakephp/cakephp/src/Http/BaseApplication.php',
'line' => (int) 251,
'function' => 'invoke',
'class' => 'Cake\Controller\ControllerFactory',
'object' => object(Cake\Controller\ControllerFactory) id:7 {
},
'type' => '->',
'args' => [
(int) 0 => object(App\Controller\PagesController) id: 5 {},
],
],
(int) 17 => [
'file' => '/var/www/fort-dev-tsvjapie/vendor/cakephp/cakephp/src/Http/Runner.php',
'line' => (int) 77,
'function' => 'handle',
'class' => 'Cake\Http\BaseApplication',
'object' => object(App\Application) id:8 {
},
'type' => '->',
'args' => [
(int) 0 => object(Cake\Http\ServerRequest) id:9 {
},
],
],
(int) 18 => [
'file' => '/var/www/fort-dev-tsvjapie/vendor/cakephp/authorization/src/Middleware/RequestAuthorizationMiddleware.php',
'line' => (int) 102,
'function' => 'handle',
'class' => 'Cake\Http\Runner',
'object' => object(Cake\Http\Runner) id:10 {
},
'type' => '->',
'args' => [
(int) 0 => object(Cake\Http\ServerRequest) id: 9 {},
],
],
(int) 19 => [
'file' => '/var/www/fort-dev-tsvjapie/vendor/cakephp/cakephp/src/Http/Runner.php',
'line' => (int) 73,
'function' => 'process',
'class' => 'Authorization\Middleware\RequestAuthorizationMiddleware',
'object' => object(Authorization\Middleware\RequestAuthorizationMiddleware) id:11 {
},
'type' => '->',
'args' => [
(int) 0 => object(Cake\Http\ServerRequest) id: 9 {},
(int) 1 => object(Cake\Http\Runner) id: 10 {},
],
],
(int) 20 => [
'file' => '/var/www/fort-dev-tsvjapie/vendor/cakephp/authorization/src/Middleware/AuthorizationMiddleware.php',
'line' => (int) 129,
'function' => 'handle',
'class' => 'Cake\Http\Runner',
'object' => object(Cake\Http\Runner) id: 10 {},
'type' => '->',
'args' => [
(int) 0 => object(Cake\Http\ServerRequest) id: 9 {},
],
],
(int) 21 => [
'file' => '/var/www/fort-dev-tsvjapie/vendor/cakephp/cakephp/src/Http/Runner.php',
'line' => (int) 73,
'function' => 'process',
'class' => 'Authorization\Middleware\AuthorizationMiddleware',
'object' => object(Authorization\Middleware\AuthorizationMiddleware) id:12 {
},
'type' => '->',
'args' => [
(int) 0 => object(Cake\Http\ServerRequest) id: 9 {},
(int) 1 => object(Cake\Http\Runner) id: 10 {},
],
],
(int) 22 => [
'file' => '/var/www/fort-dev-tsvjapie/vendor/cakephp/authentication/src/Middleware/AuthenticationMiddleware.php',
'line' => (int) 124,
'function' => 'handle',
'class' => 'Cake\Http\Runner',
'object' => object(Cake\Http\Runner) id: 10 {},
'type' => '->',
'args' => [
(int) 0 => object(Cake\Http\ServerRequest) id:13 {
},
],
],
(int) 23 => [
'file' => '/var/www/fort-dev-tsvjapie/vendor/cakephp/cakephp/src/Http/Runner.php',
'line' => (int) 73,
'function' => 'process',
'class' => 'Authentication\Middleware\AuthenticationMiddleware',
'object' => object(Authentication\Middleware\AuthenticationMiddleware) id:14 {
},
'type' => '->',
'args' => [
(int) 0 => object(Cake\Http\ServerRequest) id: 13 {},
(int) 1 => object(Cake\Http\Runner) id: 10 {},
],
],
(int) 24 => [
'file' => '/var/www/fort-dev-tsvjapie/vendor/cakephp/cakephp/src/Http/Middleware/EncryptedCookieMiddleware.php',
'line' => (int) 93,
'function' => 'handle',
'class' => 'Cake\Http\Runner',
'object' => object(Cake\Http\Runner) id: 10 {},
'type' => '->',
'args' => [
(int) 0 => object(Cake\Http\ServerRequest) id:15 {
},
],
],
(int) 25 => [
'file' => '/var/www/fort-dev-tsvjapie/vendor/cakephp/cakephp/src/Http/Runner.php',
'line' => (int) 73,
'function' => 'process',
'class' => 'Cake\Http\Middleware\EncryptedCookieMiddleware',
'object' => object(Cake\Http\Middleware\EncryptedCookieMiddleware) id:16 {
},
'type' => '->',
'args' => [
(int) 0 => object(Cake\Http\ServerRequest) id: 15 {},
(int) 1 => object(Cake\Http\Runner) id: 10 {},
],
],
(int) 26 => [
'file' => '/var/www/fort-dev-tsvjapie/vendor/cakephp/cakephp/src/Http/Runner.php',
'line' => (int) 77,
'function' => 'handle',
'class' => 'Cake\Http\Runner',
'object' => object(Cake\Http\Runner) id: 10 {},
'type' => '->',
'args' => [
(int) 0 => object(Cake\Http\ServerRequest) id: 15 {},
],
],
(int) 27 => [
'file' => '/var/www/fort-dev-tsvjapie/vendor/cakephp/cakephp/src/Http/Middleware/CsrfProtectionMiddleware.php',
'line' => (int) 146,
'function' => 'handle',
'class' => 'Cake\Http\Runner',
'object' => object(Cake\Http\Runner) id:17 {
},
'type' => '->',
'args' => [
(int) 0 => object(Cake\Http\ServerRequest) id: 15 {},
],
],
(int) 28 => [
'file' => '/var/www/fort-dev-tsvjapie/vendor/cakephp/cakephp/src/Http/Runner.php',
'line' => (int) 73,
'function' => 'process',
'class' => 'Cake\Http\Middleware\CsrfProtectionMiddleware',
'object' => object(Cake\Http\Middleware\CsrfProtectionMiddleware) id:18 {
},
'type' => '->',
'args' => [
(int) 0 => object(Cake\Http\ServerRequest) id: 15 {},
(int) 1 => object(Cake\Http\Runner) id: 17 {},
],
],
(int) 29 => [
'file' => '/var/www/fort-dev-tsvjapie/vendor/cakephp/cakephp/src/Http/Runner.php',
'line' => (int) 58,
'function' => 'handle',
'class' => 'Cake\Http\Runner',
'object' => object(Cake\Http\Runner) id: 17 {},
'type' => '->',
'args' => [
(int) 0 => object(Cake\Http\ServerRequest) id:19 {
},
],
],
(int) 30 => [
'file' => '/var/www/fort-dev-tsvjapie/vendor/cakephp/cakephp/src/Routing/Middleware/RoutingMiddleware.php',
'line' => (int) 172,
'function' => 'run',
'class' => 'Cake\Http\Runner',
'object' => object(Cake\Http\Runner) id: 17 {},
'type' => '->',
'args' => [
(int) 0 => object(Cake\Http\MiddlewareQueue) id:20 {
},
(int) 1 => object(Cake\Http\ServerRequest) id: 19 {},
(int) 2 => object(Cake\Http\Runner) id: 10 {},
],
],
(int) 31 => [
'file' => '/var/www/fort-dev-tsvjapie/vendor/cakephp/cakephp/src/Http/Runner.php',
'line' => (int) 73,
'function' => 'process',
'class' => 'Cake\Routing\Middleware\RoutingMiddleware',
'object' => object(Cake\Routing\Middleware\RoutingMiddleware) id:21 {
},
'type' => '->',
'args' => [
(int) 0 => object(Cake\Http\ServerRequest) id: 19 {},
(int) 1 => object(Cake\Http\Runner) id: 10 {},
],
],
(int) 32 => [
'file' => '/var/www/fort-dev-tsvjapie/vendor/cakephp/cakephp/src/Routing/Middleware/AssetMiddleware.php',
'line' => (int) 68,
'function' => 'handle',
'class' => 'Cake\Http\Runner',
'object' => object(Cake\Http\Runner) id: 10 {},
'type' => '->',
'args' => [
(int) 0 => object(Cake\Http\ServerRequest) id:22 {
},
],
],
(int) 33 => [
'file' => '/var/www/fort-dev-tsvjapie/vendor/cakephp/cakephp/src/Http/Runner.php',
'line' => (int) 73,
'function' => 'process',
'class' => 'Cake\Routing\Middleware\AssetMiddleware',
'object' => object(Cake\Routing\Middleware\AssetMiddleware) id:23 {
},
'type' => '->',
'args' => [
(int) 0 => object(Cake\Http\ServerRequest) id: 22 {},
(int) 1 => object(Cake\Http\Runner) id: 10 {},
],
],
(int) 34 => [
'file' => '/var/www/fort-dev-tsvjapie/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php',
'line' => (int) 121,
'function' => 'handle',
'class' => 'Cake\Http\Runner',
'object' => object(Cake\Http\Runner) id: 10 {},
'type' => '->',
'args' => [
(int) 0 => object(Cake\Http\ServerRequest) id: 22 {},
],
],
(int) 35 => [
'file' => '/var/www/fort-dev-tsvjapie/vendor/cakephp/cakephp/src/Http/Runner.php',
'line' => (int) 73,
'function' => 'process',
'class' => 'Cake\Error\Middleware\ErrorHandlerMiddleware',
'object' => object(Cake\Error\Middleware\ErrorHandlerMiddleware) id:24 {
},
'type' => '->',
'args' => [
(int) 0 => object(Cake\Http\ServerRequest) id: 22 {},
(int) 1 => object(Cake\Http\Runner) id: 10 {},
],
],
(int) 36 => [
'file' => '/var/www/fort-dev-tsvjapie/vendor/cakephp/cakephp/src/Http/Runner.php',
'line' => (int) 58,
'function' => 'handle',
'class' => 'Cake\Http\Runner',
'object' => object(Cake\Http\Runner) id: 10 {},
'type' => '->',
'args' => [
(int) 0 => object(Cake\Http\ServerRequest) id: 22 {},
],
],
(int) 37 => [
'file' => '/var/www/fort-dev-tsvjapie/vendor/cakephp/cakephp/src/Http/Server.php',
'line' => (int) 90,
'function' => 'run',
'class' => 'Cake\Http\Runner',
'object' => object(Cake\Http\Runner) id: 10 {},
'type' => '->',
'args' => [
(int) 0 => object(Cake\Http\MiddlewareQueue) id:25 {
},
(int) 1 => object(Cake\Http\ServerRequest) id: 22 {},
(int) 2 => object(App\Application) id: 8 {},
],
],
(int) 38 => [
'file' => '/var/www/fort-dev-tsvjapie/webroot/index.php',
'line' => (int) 40,
'function' => 'run',
'class' => 'Cake\Http\Server',
'object' => object(Cake\Http\Server) id:26 {
},
'type' => '->',
'args' => [
],
],
]
$frame = [
'file' => '/var/www/fort-dev-tsvjapie/src/Form/ContactForm.php',
'line' => (int) 30,
'function' => 'notEmpty',
'class' => 'Cake\Validation\Validator',
'object' => object(Cake\Validation\Validator) id:0 {
'_presenceMessages' => [
]
'_allowEmptyMessages' => [
]
'_allowEmptyFlags' => [
]
'_useI18n' => true
'_providers' => [
]
'_fields' => [
'name' => [
'' => [maximum depth reached],
],
'email' => [
'' => [maximum depth reached],
],
'captcha_seed' => [
'' => [maximum depth reached],
],
]
protected _fields => [
'' => [maximum depth reached],
]
protected _providers => [
'' => [maximum depth reached],
]
protected _defaultProviders => [
'' => [maximum depth reached],
]
protected _presenceMessages => [
'' => [maximum depth reached],
]
protected _useI18n => true
protected _allowEmptyMessages => [
'' => [maximum depth reached],
]
protected _allowEmptyFlags => [
'' => [maximum depth reached],
]
},
'type' => '->',
'args' => [
(int) 0 => 'captcha_seed',
],
]
deprecationWarning - CORE/src/Core/functions.php, line 305
Cake\Validation\Validator::notEmpty() - CORE/src/Validation/Validator.php, line 1200
App\Form\ContactForm::validationDefault() - APP/Form/ContactForm.php, line 30
Cake\Form\Form::createValidator() - CORE/src/Validation/ValidatorAwareTrait.php, line 120
Cake\Form\Form::getValidator() - CORE/src/Validation/ValidatorAwareTrait.php, line 94
Cake\View\Form\FormContext::isRequired() - CORE/src/View/Form/FormContext.php, line 129
Cake\View\Helper\FormHelper::setRequiredAndCustomValidity() - CORE/src/View/Helper/FormHelper.php, line 1346
Cake\View\Helper\FormHelper::_magicOptions() - CORE/src/View/Helper/FormHelper.php, line 1316
Cake\View\Helper\FormHelper::_parseOptions() - CORE/src/View/Helper/FormHelper.php, line 1212
Cake\View\Helper\FormHelper::control() - CORE/src/View/Helper/FormHelper.php, line 1047
include - ROOT/templates/Pages/contact.php, line 41
Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1176
Cake\View\View::_render() - CORE/src/View/View.php, line 1134
Cake\View\View::render() - CORE/src/View/View.php, line 764
Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 696
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 538