Skip to content

Instantly share code, notes, and snippets.

@staycreativedesign
Created August 1, 2019 16:34
Show Gist options
  • Save staycreativedesign/33bbf792a2090dcfae4fbc5e69b77dba to your computer and use it in GitHub Desktop.
Save staycreativedesign/33bbf792a2090dcfae4fbc5e69b77dba to your computer and use it in GitHub Desktop.
The `defineComponents` event on CraftVariable has been deprecated. Use the `init` event to register custom components instead.
/srv/users/greencountryok/apps/greencountryok-staging/vendor/craftcms/cms/src/web/twig/Extension.php:1033
Steps leading up to the deprecation error:
24 Deprecation error: The `defineComponents` event on CraftVariable has been deprecated. Use the `init` event to register custom components instead.
Called from /srv/users/greencountryok/apps/greencountryok-staging/vendor/craftcms/cms/src/web/twig/variables/CraftVariable.php:139
23 craft\web\twig\variables\CraftVariable::__construct()
Called from /srv/users/greencountryok/apps/greencountryok-staging/vendor/craftcms/cms/src/web/twig/Extension.php:1033
22 craft\web\twig\Extension::getGlobals()
Called from /srv/users/greencountryok/apps/greencountryok-staging/vendor/twig/twig/src/ExtensionSet.php:329
21 Twig\ExtensionSet::getGlobals()
Called from /srv/users/greencountryok/apps/greencountryok-staging/vendor/twig/twig/src/Environment.php:928
20 craft\web\twig\Environment::getGlobals()
Called from /srv/users/greencountryok/apps/greencountryok-staging/vendor/twig/twig/src/Environment.php:948
19 craft\web\twig\Environment::mergeGlobals(["title" => "Updater"])
Called from /srv/users/greencountryok/apps/greencountryok-staging/vendor/twig/twig/src/Template.php:380
18 __TwigTemplate_4d1a2b6aed35e187bc5dff3e0fc93935795743496cef1df161efa2cdc18db374::display(["title" => "Updater"], [])
Called from /srv/users/greencountryok/apps/greencountryok-staging/vendor/craftcms/cms/src/web/twig/Template.php:34
17 __TwigTemplate_4d1a2b6aed35e187bc5dff3e0fc93935795743496cef1df161efa2cdc18db374::display(["title" => "Updater"])
Called from /srv/users/greencountryok/apps/greencountryok-staging/vendor/twig/twig/src/Template.php:392
16 __TwigTemplate_4d1a2b6aed35e187bc5dff3e0fc93935795743496cef1df161efa2cdc18db374::render(["title" => "Updater"], [])
Called from /srv/users/greencountryok/apps/greencountryok-staging/vendor/twig/twig/src/TemplateWrapper.php:45
15 Twig\TemplateWrapper::render(["title" => "Updater"])
Called from /srv/users/greencountryok/apps/greencountryok-staging/vendor/twig/twig/src/Environment.php:318
14 craft\web\twig\Environment::render("_special/updater", ["title" => "Updater"])
Called from /srv/users/greencountryok/apps/greencountryok-staging/vendor/craftcms/cms/src/web/View.php:343
13 craft\web\View::renderTemplate("_special/updater", ["title" => "Updater"])
Called from /srv/users/greencountryok/apps/greencountryok-staging/vendor/craftcms/cms/src/web/View.php:393
12 craft\web\View::renderPageTemplate("_special/updater", ["title" => "Updater"])
Called from /srv/users/greencountryok/apps/greencountryok-staging/vendor/craftcms/cms/src/web/Controller.php:166
11 craft\controllers\UpdaterController::renderTemplate("_special/updater", ["title" => "Updater"])
Called from /srv/users/greencountryok/apps/greencountryok-staging/vendor/craftcms/cms/src/controllers/BaseUpdaterController.php:112
10 craft\controllers\UpdaterController::actionIndex()
9 call_user_func_array([craft\controllers\UpdaterController, "actionIndex"], [])
Called from /srv/users/greencountryok/apps/greencountryok-staging/vendor/yiisoft/yii2/base/InlineAction.php:57
8 yii\base\InlineAction::runWithParams(["p" => "admin/utilities/updates"])
Called from /srv/users/greencountryok/apps/greencountryok-staging/vendor/yiisoft/yii2/base/Controller.php:157
7 craft\controllers\UpdaterController::runAction("", ["p" => "admin/utilities/updates"])
Called from /srv/users/greencountryok/apps/greencountryok-staging/vendor/craftcms/cms/src/web/Controller.php:110
6 craft\controllers\UpdaterController::runAction("", ["p" => "admin/utilities/updates"])
Called from /srv/users/greencountryok/apps/greencountryok-staging/vendor/yiisoft/yii2/base/Module.php:528
5 craft\web\Application::runAction("updater", ["p" => "admin/utilities/updates"])
Called from /srv/users/greencountryok/apps/greencountryok-staging/vendor/craftcms/cms/src/web/Application.php:297
4 craft\web\Application::runAction("updater", ["p" => "admin/utilities/updates"])
Called from /srv/users/greencountryok/apps/greencountryok-staging/vendor/craftcms/cms/src/web/Application.php:565
3 craft\web\Application::_processActionRequest(craft\web\Request)
Called from /srv/users/greencountryok/apps/greencountryok-staging/vendor/craftcms/cms/src/web/Application.php:281
2 craft\web\Application::handleRequest(craft\web\Request)
Called from /srv/users/greencountryok/apps/greencountryok-staging/vendor/yiisoft/yii2/base/Application.php:386
1 craft\web\Application::run()
Called from /srv/users/greencountryok/apps/greencountryok-staging/public/index.php:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment