PHP7.2 Fail to instantiate yii\redactor\RedactorModule"


(Steward) #1

I think this started after upgrading to php 7.2
I have no clue where to start looking.
Not finding much online.
Help, please.

Exception ‘yii\base\InvalidConfigException’ with message ‘Failed to instantiate component or class “yii\redactor\RedactorModule”.’

#!/usr/bin/env php7.2
in /home/me/sites/www/vendor/yiisoft/yii2/di/Container.php:433

Stack trace:
#0 /home/me/sites/www/vendor/yiisoft/yii2/di/Container.php(365): yii\di\Container->getDependencies(‘yii\redactor\Re…’)
#1 /home/me/sites/www/vendor/yiisoft/yii2/di/Container.php(156): yii\di\Container->build(‘yii\redactor\Re…’, Array, Array)
#2 /home/me/sites/www/vendor/yiisoft/yii2/BaseYii.php(349): yii\di\Container->get(‘yii\redactor\Re…’, Array, Array)
#3 /home/me/sites/www/vendor/yiisoft/yii2/base/Module.php(427): yii\BaseYii::createObject(Array, Array)
#4 /home/me/sites/www/vendor/yiisoft/yii2/console/controllers/HelpController.php(238): yii\base\Module->getModule(‘redactor’)
#5 /home/me/sites/www/vendor/yiisoft/yii2/console/controllers/HelpController.php(175): yii\console\controllers\HelpController->getModuleCommands(Object(yii\console\Application))
#6 /home/me/sites/www/vendor/yiisoft/yii2/console/controllers/HelpController.php(187): yii\console\controllers\HelpController->getCommands()
#7 /home/me/sites/www/vendor/yiisoft/yii2/console/controllers/HelpController.php(293): yii\console\controllers\HelpController->getCommandDescriptions()
#8 /home/me/sites/www/vendor/yiisoft/yii2/console/controllers/HelpController.php(67): yii\console\controllers\HelpController->getDefaultHelp()
#9 [internal function]: yii\console\controllers\HelpController->actionIndex(NULL)


(Steward) #2

I removed the vendor folder and re-installed everything. Fine now. Dunno what happened.