Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

StringHelper does not exist in JsonEditor provider #205

Open
cebe opened this issue May 25, 2017 · 0 comments
Open

StringHelper does not exist in JsonEditor provider #205

cebe opened this issue May 25, 2017 · 0 comments
Labels

Comments

@cebe
Copy link
Contributor

cebe commented May 25, 2017

$formattter = StringFormatter::className();

Exception 'Error' with message 'Class 'dmstr\modules\widgets\helpers\StringFormatter' not found'

in /app/vendor/schmunk42/yii2-giiant/src/generators/crud/callbacks/devgroup/Jsoneditor.php:45

Stack trace:
#0 /app/vendor/schmunk42/yii2-giiant/src/generators/crud/providers/core/CallbackProvider.php(47): schmunk42\giiant\generators\crud\callbacks\devgroup\Jsoneditor::schmunk42\giiant\generators\crud\callbacks\devgroup\{closure}('answers_json', 'app\\modules\\cru...', Object(schmunk42\giiant\generators\crud\Generator))
#1 [internal function]: schmunk42\giiant\generators\crud\providers\core\CallbackProvider->attributeFormat('answers_json', 'app\\modules\\cru...', Object(schmunk42\giiant\generators\crud\Generator))
#2 /app/vendor/schmunk42/yii2-giiant/src/generators/crud/ProviderTrait.php(253): call_user_func_array(Array, Array)
#3 /app/vendor/schmunk42/yii2-giiant/src/generators/crud/ProviderTrait.php(152): schmunk42\giiant\generators\crud\Generator->callProviderQueue('attributeFormat', Array, 'app\\modules\\cru...', Object(schmunk42\giiant\generators\crud\Generator))
#4 /app/vendor/schmunk42/yii2-giiant/src/generators/crud/default/views/view.php(111): schmunk42\giiant\generators\crud\Generator->attributeFormat('answers_json')
#5 /app/vendor/yiisoft/yii2/base/View.php(328): require('/app/vendor/sch...')
#6 /app/vendor/yiisoft/yii2/base/View.php(250): yii\base\View->renderPhpFile('/app/vendor/sch...', Array)
#7 /app/vendor/yiisoft/yii2-gii/Generator.php(317): yii\base\View->renderFile('/app/vendor/sch...', Array, Object(schmunk42\giiant\generators\crud\Generator))
#8 /app/vendor/schmunk42/yii2-giiant/src/generators/crud/Generator.php(393): yii\gii\Generator->render('views/view.php', Array)
#9 /app/vendor/schmunk42/yii2-giiant/src/generators/crud/Generator.php(355): schmunk42\giiant\generators\crud\Generator->render('views/view.php', Array)
#10 /app/vendor/yiisoft/yii2-gii/console/GenerateAction.php(53): schmunk42\giiant\generators\crud\Generator->generate()
#11 /app/vendor/yiisoft/yii2-gii/console/GenerateAction.php(36): yii\gii\console\GenerateAction->generateCode()
#12 [internal function]: yii\gii\console\GenerateAction->run()
#13 /app/vendor/yiisoft/yii2/base/Action.php(94): call_user_func_array(Array, Array)
#14 /app/vendor/yiisoft/yii2/base/Controller.php(156): yii\base\Action->runWithParams(Array)
#15 /app/vendor/yiisoft/yii2/console/Controller.php(128): yii\base\Controller->runAction('giiant-crud', Array)
#16 /app/vendor/yiisoft/yii2/base/Module.php(523): yii\console\Controller->runAction('giiant-crud', Array)
#17 /app/vendor/yiisoft/yii2/console/Application.php(180): yii\base\Module->runAction('gii/giiant-crud', Array)
#18 /app/vendor/schmunk42/yii2-giiant/src/commands/BatchController.php(400): yii\console\Application->runAction('gii/giiant-crud', Array)
#19 /app/vendor/schmunk42/yii2-giiant/src/commands/BatchController.php(298): schmunk42\giiant\commands\BatchController->actionCruds()
#20 [internal function]: schmunk42\giiant\commands\BatchController->actionIndex()
#21 /app/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array(Array, Array)
#22 /app/vendor/yiisoft/yii2/base/Controller.php(156): yii\base\InlineAction->runWithParams(Array)
#23 /app/vendor/yiisoft/yii2/console/Controller.php(128): yii\base\Controller->runAction('', Array)
#24 /app/vendor/yiisoft/yii2/base/Module.php(523): yii\console\Controller->runAction('', Array)
#25 /app/vendor/yiisoft/yii2/console/Application.php(180): yii\base\Module->runAction('crud:giiant-bat...', Array)
#26 /app/vendor/yiisoft/yii2/console/Application.php(147): yii\console\Application->runAction('crud:giiant-bat...', Array)
#27 /app/vendor/yiisoft/yii2/base/Application.php(380): yii\console\Application->handleRequest(Object(yii\console\Request))
#28 /app/yii(32): yii\base\Application->run()
#29 {main}
@schmunk42 schmunk42 added the bug label Apr 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants