You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 10, 2022. It is now read-only.
What steps will reproduce the problem?
Add configManager to application bootstrap and setup configManager with a storage configuration in the components section
What is the expected result?
The idea is to update certain UI settings in the app from a table lookup based on filter parameters that can only be known at runtime;
What do you get instead?
I get the following error;
Error: Class 'common\models\MetaConfig' not found in /var/www/server/vendor/yii2tech/config/src/StorageActiveRecord.php:103
Stack trace:
#0 /var/www/server/vendor/yii2tech/config/src/Manager.php(356): yii2tech\config\StorageActiveRecord->get()
#1 /var/www/server/vendor/yii2tech/config/src/Manager.php(169): yii2tech\config\Manager->restoreValues()
#2 /var/www/server/vendor/yiisoft/yii2/base/BaseObject.php(109): yii2tech\config\Manager->init()
#3 [internal function]: yii\base\BaseObject->__construct(Array)
#4 /var/www/server/vendor/yiisoft/yii2/di/Container.php(384): ReflectionClass->newInstanceArgs(Array)
#5 /var/www/server/vendor/yiisoft/yii2/di/Container.php(156): yii\di\Container->build('yii2tech\config...', Array, Array)
#6 /var/www/server/vendor/yiisoft/yii2/BaseYii.php(349): yii\di\Container->get('yii2tech\config...', Array, Array)
#7 /var/www/server/vendor/yiisoft/yii2/di/ServiceLocator.php(137): yii\BaseYii::createObject(Array)
#8 /var/www/server/vendor/yiisoft/yii2/base/Module.php(742): yii\di\ServiceLocator->get('MetaConfig...', true)
#9 /var/www/server/vendor/yiisoft/yii2/base/Application.php(313): yii\base\Module->get('MetaConfig...')
#10 /var/www/server/vendor/yiisoft/yii2/web/Application.php(69): yii\base\Application->bootstrap()
#11 /var/www/server/vendor/yiisoft/yii2/base/Application.php(273): yii\web\Application->bootstrap()
#12 /var/www/server/vendor/yiisoft/yii2/base/BaseObject.php(109): yii\base\Application->init()
#13 /var/www/server/vendor/yiisoft/yii2/base/Application.php(206): yii\base\BaseObject->__construct(Array)
#14 /var/www/server/frontend/web/index.php(22): yii\base\Application->__construct(Array)
#15 {main}
Additional info
The complete configuration is as follows;
The text was updated successfully, but these errors were encountered: