If I remove a tab form a Form and do the entry from different controller getting error
Example : I have removed Post Tab
https://prnt.sc/ivpt5y
Error Screenshot
yii\base\InvalidConfigException: Unable to locate message source for category 'mtrelt'. in /home/ganesh/Public/naukripur/vendor/yiisoft/yii2/i18n/I18N.php:201
Stack trace:
If I remove a tab form a Form and do the entry from different controller getting error Example : I have removed Post Tab https://prnt.sc/ivpt5y Error Screenshot
yii\base\InvalidConfigException: Unable to locate message source for category 'mtrelt'. in /home/ganesh/Public/naukripur/vendor/yiisoft/yii2/i18n/I18N.php:201 Stack trace:
0 /home/ganesh/Public/naukripur/vendor/yiisoft/yii2/i18n/I18N.php(89): yii\i18n\I18N->getMessageSource('mtrelt')
1 /home/ganesh/Public/naukripur/vendor/yiisoft/yii2/BaseYii.php(526): yii\i18n\I18N->translate('mtrelt', 'Data can't be d...', Array, 'en-US')
2 /home/ganesh/Public/naukripur/vendor/mootensai/yii2-relation-trait/RelationTrait.php(312): yii\BaseYii::t('mtrelt', 'Data can't be d...')
3 /home/ganesh/Public/naukripur/backend/controllers/VacancyVacanciesController.php(150): backend\models\base\VacancyVacancies->saveAll()
4 [internal function]: backend\controllers\VacancyVacanciesController->actionUpdate('9')
5 /home/ganesh/Public/naukripur/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array(Array, Array)
6 /home/ganesh/Public/naukripur/vendor/yiisoft/yii2/base/Controller.php(157): yii\base\InlineAction->runWithParams(Array)
7 /home/ganesh/Public/naukripur/vendor/yiisoft/yii2/base/Module.php(528): yii\base\Controller->runAction('update', Array)
8 /home/ganesh/Public/naukripur/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction('vacancy-vacanci...', Array)
9 /home/ganesh/Public/naukripur/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest(Object(yii\web\Request))
10 /home/ganesh/Public/naukripur/backend/web/index.php(17): yii\base\Application->run()
11 {main}
Copy Stacktrace Search Stackoverflow Search Google Exception Invalid Configuration – yii\base\InvalidConfigException Unable to locate message source for category 'mtrelt'.