Я намагався обійти цей Код області, не встановивши помилку, і посилаюся на інші сюди, але у мене є проблема відстеження.
я намагаюся оновити 2.0.7 до 2.1.0, і коли я дістаюсь до точки, де я бігаю:
налаштування php bin / magento: upgrade -vvv
Я сприймаю це як помилку.
[Magento \ Framework \ Exception \ SessionException] Код області не встановлений: Код області повинен бути встановлений перед початком сеансу.
Відстеження виключення: () на /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/Session/SessionManager.php:176 Magento \ Framework \ Session \ SessionManager-> start () at / opt / bitnami / apps / magento / htdocs / var / generation / Magento / Framework / Session / Generic / Interceptor.php: 50 Magento \ Framework \ Session \ Generic \ Interceptor-> start () at / opt / bitnami / apps / magento / htdocs / vendor / magento /framework/Session/SessionManager.php:130 Magento \ Framework \ Session \ SessionManager -> __ construct () в /opt/bitnami/apps/magento/htdocs/var/generation/Magento/Framework/Session/Generic/Interceptor.php: 14 Magento \ Framework \ Session \ Generic \ Interceptor -> __ construct () в /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/Factory/AbistryFactory.php:93 Magento \ Framework \ ObjectManager \ Factory \ AbstractFactory->createObject () в /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:89 Magento \ Framework \ ObjectManager \ Factory \ Dynamic \ Developer-> create () at / opt / bitnami / apps / magento / htdocs / vendor / magento / Framework / ObjectManager / ObjectManager.php: 71 Magento \ Framework \ ObjectManager \ ObjectManager-> get () at / opt / bitnami / apps / magento / htdocs / vendor / magento /framework/ObjectManager/Factory/Ab AbstractFactory.php:126 Magento \ Framework \ ObjectManager \ Factory \ AbstractFactory-> resolutionArgument () at / opt / bitnami / apps / magento / htdocs / vendor / magento / Framework / ObjectManager / Factory / Dynamic / Developer.php: 53 Magento \ Framework \ ObjectManager \ Factory \ Dynamic \ Developer -> _ разрешить аргументи () на /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:82 Magento \ Framework \ ObjectManager \ Factory \ Dynamic \ Developer-> create () на /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/ObjectManager.php:71 Magento \ Framework \ ObjectManager \ ObjectManager- > get () в /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/Factory/AbpositeFactory.php:126 Magento \ Framework \ ObjectManager \ Factory \ AbstractFactory-> resolutionArgument () at / opt / bitnami /apps/magento/htdocs/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:53 Magento \ Framework \ ObjectManager \ Factory \ Dynamic \ Developer -> _ resolutionArguments () в / opt / bitnami / apps / magento / htdocs / vendor / magento / Framework / ObjectManager / Factory / Dynamic / Developer.php: 82 Magento \ Framework \ ObjectManager \ Factory \ Dynamic \ Developer->create () at /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/ObjectManager.php:71 Magento \ Framework \ ObjectManager \ ObjectManager-> get () at / opt / bitnami / apps / magento / htdocs / vendor / magento / Framework / ObjectManager / Factory / AbstractFactory.php: 126 Magento \ Framework \ ObjectManager \ Factory \ AbstractFactory-> resolutionArgument () at / opt / bitnami / apps / magento / htdocs / vendor / magento / Framework / ObjectManager /Factory/Dynamic/Developer.php:53 Magento \ Framework \ ObjectManager \ Factory \ Dynamic \ Developer -> _ разрешить Аргументи () в / opt / bitnami / apps / magento / htdocs / vendor / magento / Framework / ObjectManager / Factory / Dynamic / Developer.php: 82 Magento \ Framework \ ObjectManager \ Factory \ Dynamic \ Developer-> create () за адресою /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/ObjectManager.php:71 Magento \ Framework \ ObjectManager \ ObjectManager-> get () на /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/Factory/Ab абстрактFactory.php:126 Magento \ Framework \ ObjectManager \ Factory \ AbstractFactory- > resolutionArgument () в /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:53 Magento \ Framework \ ObjectManager \ Factory \ Dynamic \ Developer -> _ resolutionArguments () at /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:82 Magento \ Framework \ ObjectManager \ Factory \ Dynamic \ Developer-> create () at / opt / bitnami / apps / magento / htdocs / vendor / magento / Framework / ObjectManager / ObjectManager.php: 71 Magento \ Framework \ ObjectManager \ ObjectManager->get () на /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/Factory/AbpositeFactory.php:126 Magento \ Framework \ ObjectManager \ Factory \ AbstractFactory-> resolutionArgument () at / opt / bitnami / apps / magento / htdocs / vendor / magento / Framework / ObjectManager / Factory / Dynamic / Developer.php: 53 Magento \ Framework \ ObjectManager \ Factory \ Dynamic \ Developer -> _ разрешить Аргументи () в / opt / bitnami / apps / magento / htdocs /vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:82 Magento \ Framework \ ObjectManager \ Factory \ Dynamic \ Developer-> create () at / opt / bitnami / apps / magento / htdocs / vendor / magento / Framework / ObjectManager / ObjectManager.php: 71 Magento \ Framework \ ObjectManager \ ObjectManager-> get () у /opt/bitnami/apps/magento/htdocs/app/code/J2t/Rewardpoints/Observer/ProcessSaveModel.php:21 J2t \ Rewardpoints \ Observer \ ProcessSaveModel-> Execute () у /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/Event/Invoker/InvokerDefault.php:73 Magento \ Framework \ Event \ Invoker \ InvokerDefault- > _callObserverMethod () на /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/Event/Invoker/InvokerDefault.php:61 Magento \ Framework \ Event \ Invoker \ InvokerDefault-> dispatch () at / opt / bitnami /apps/magento/htdocs/vendor/magento/framework/Event/Manager.php:66 Magento \ Framework \ Event \ Менеджер-> dispatch () в / opt / bitnami / apps / magento / htdocs / var / generation / Magento / Framework / Event / Manager / Proxy.php: 95 Magento \ Framework \ Event \ Manager \ Proxy-> dispatch () за адресою /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/Model/AbpositeModel.php:800 Magento \ Framework \ Модель \ AbstractModel->afterSave () в /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/Model/ResourceModel/Db/Ab AbstractDb.php:818 Magento \ Framework \ Model \ ResourceModel \ Db \ AbstractDb-> processAfterSaves () at / opt / bitnami / apps / magento / htdocs / vendor / magento / Framework / Model / ResourceModel / Db / AbstractDb.php: 408 Magento \ Framework \ Модель \ ResourceModel \ Db \ AbstractDb-> save () at / opt / bitnami / apps /magento/htdocs/vendor/magento/framework/Model/Ab абстрактModel.php:631 Magento \ Framework \ Model \ AbstractModel-> save () at / opt / bitnami / apps / magento / htdocs / vendor / magento / module-indexer / Setup / Recurring.php: 108 Magento \ Indexer \ Setup \ Recurring-> install () за адресою /opt/bitnami/apps/magento/htdocs/setup/src/Magento/Setup/Model/Installer.php:871 Magento \ Setup \ Модель \ Installer->handleDBSchemaData () на /opt/bitnami/apps/magento/htdocs/setup/src/Magento/Setup/Model/Installer.php:779 Magento \ Setup \ Model \ Installer-> installSchema () at / opt / bitnami / apps / magento / htdocs / setup / src / Magento / Setup / Console / Command / UpgradeCommand.php: 89 Magento \ Setup \ Console \ Command \ UpgradeCommand-> Execute () at / opt / bitnami / apps / magento / htdocs / vendor / symfony /console/Symfony/Component/Console/Command/Command.php:257 Symfony \ Компонент \ Console \ Command \ Command-> run () at / opt / bitnami / apps / magento / htdocs / vendor / symfony / console / Symfony / Компонент / Консоль / Application.php: 874 Symfony \ Component \ Console \ Application-> doRunCommand () в /opt/bitnami/apps/magento/htdocs/vendor/symfony/console/Symfony/Component/Console/Application.php:195 Symfony \ Компонент \ Console \ Application->doRun () на /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/Console/Cli.php:96 Magento \ Framework \ Console \ Cli-> doRun () в / opt / bitnami / apps / magento / htdocs / vendor / symfony / console / Symfony / Component / Console / Application.php: 126 Symfony \ Component \ Console \ Application-> run () at / opt / bitnami / apps / magento / htdocs / bin / magento: 23
[Magento \ Framework \ Exception \ LocalizedException] Код області не встановлений
Відстеження виключення: () в /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/App/State.php:139 Magento \ Framework \ App \ State-> getAreaCode () в / opt / bitnami / apps / magento / htdocs / vendor / magento / Framework / Session / SessionManager.php: 174 Magento \ Framework \ Session \ SessionManager-> start () at / opt / bitnami / apps / magento / htdocs / var / generation / Magento / Framework / Session /Generic/Interceptor.php:50 Magento \ Framework \ Session \ Generic \ Interceptor-> start () у /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/Session/SessionManager.php:130 Magento \ Framework \ Session \ SessionManager -> __ construct () в /opt/bitnami/apps/magento/htdocs/var/generation/Magento/Framework/Session/Generic/Interceptor.php:14 Magento \ Framework \ Session \ Generic \ Interceptor->__construct () в /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/Factory/Ab AbstractFactory.php:93 Magento \ Framework \ ObjectManager \ Factory \ AbstractFactory-> createObject () at / opt / bitnami / apps / magento / htdocs / vendor / magento / Framework / ObjectManager / Factory / Dynamic / Developer.php: 89 Magento \ Framework \ ObjectManager \ Factory \ Dynamic \ Developer-> create () at / opt / bitnami / apps / magento / htdocs /vendor/magento/framework/ObjectManager/ObjectManager.php:71 Magento \ Framework \ ObjectManager \ ObjectManager-> get () at / opt / bitnami / apps / magento / htdocs / vendor / magento / Framework / ObjectManager / Factory / AbstractFactory. php: 126 Magento \ Framework \ ObjectManager \ Factory \ AbstractFactory-> resolutionArgument () за адресою /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:53 Magento \ Framework \ ObjectManager \ Factory \ Dynamic \ Developer -> _ разрешить Аргументи () на /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:82 Magento \ Framework \ ObjectManager \ Factory \ Dynamic \ Developer-> create () у /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/ObjectManager.php:71 Magento \ Framework \ ObjectManager \ ObjectManager-> get () at /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/Factory/AbpositeFactory.php:126 Magento \ Framework \ ObjectManager \ Factory \ AbstractFactory-> resolutionArgument () at / opt / bitnami / apps / magento / htdocs / vendor / magento / Framework / ObjectManager / Factory / Dynamic / Developer.php: 53 Magento \ Framework \ ObjectManager \ Factory \ Dynamic \ Developer->_resolveArguments () в /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:82 Magento \ Framework \ ObjectManager \ Factory \ Dynamic \ Developer-> create () at / opt / bitnami / apps / magento / htdocs / vendor / magento / Framework / ObjectManager / ObjectManager.php: 71 Magento \ Framework \ ObjectManager \ ObjectManager-> get () at / opt / bitnami / apps / magento / htdocs / vendor / magento /framework/ObjectManager/Factory/Ab AbstractFactory.php:126 Magento \ Framework \ ObjectManager \ Factory \ AbstractFactory-> resolutionArgument () at / opt / bitnami / apps / magento / htdocs / vendor / magento / Framework / ObjectManager / Factory / Dynamic / Developer.php: 53 Magento \ Framework \ ObjectManager \ Factory \ Dynamic \ Developer -> _ разрешить аргументи () на /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:82 Magento \ Framework \ ObjectManager \ Factory \ Dynamic \ Developer-> create () на /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/ObjectManager.php:71 Magento \ Framework \ ObjectManager \ ObjectManager- > get () в /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/Factory/AbpositeFactory.php:126 Magento \ Framework \ ObjectManager \ Factory \ AbstractFactory-> resolutionArgument () at / opt / bitnami /apps/magento/htdocs/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:53 Magento \ Framework \ ObjectManager \ Factory \ Dynamic \ Developer -> _ resolutionArguments () в / opt / bitnami / apps / magento / htdocs / vendor / magento / Framework / ObjectManager / Factory / Dynamic / Developer.php: 82 Magento \ Framework \ ObjectManager \ Factory \ Dynamic \ Developer->create () at /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/ObjectManager.php:71 Magento \ Framework \ ObjectManager \ ObjectManager-> get () at / opt / bitnami / apps / magento / htdocs / vendor / magento / Framework / ObjectManager / Factory / AbstractFactory.php: 126 Magento \ Framework \ ObjectManager \ Factory \ AbstractFactory-> resolutionArgument () at / opt / bitnami / apps / magento / htdocs / vendor / magento / Framework / ObjectManager /Factory/Dynamic/Developer.php:53 Magento \ Framework \ ObjectManager \ Factory \ Dynamic \ Developer -> _ разрешить Аргументи () в / opt / bitnami / apps / magento / htdocs / vendor / magento / Framework / ObjectManager / Factory / Dynamic / Developer.php: 82 Magento \ Framework \ ObjectManager \ Factory \ Dynamic \ Developer-> create () за адресою /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/ObjectManager.php:71 Magento \ Framework \ ObjectManager \ ObjectManager-> get () у /opt/bitnami/apps/magento/htdocs/app/code/J2t/Rewardpoints/Observer/ProcessSaveModel.php:21 J2t \ Rewardpoints \ Observer \ ProcessSaveModel-> Execute () на /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/Event/Invoker/InvokerDefault.php:73 Magento \ Framework \ Event \ Invoker \ InvokerDefault -> _ callObserverMethod () в / opt / bitnami / apps /magento/htdocs/vendor/magento/framework/Event/Invoker/InvokerDefault.php:61 Magento \ Framework \ Event \ Invoker \ InvokerDefault-> dispatch () at / opt / bitnami / apps / magento / htdocs / vendor / magento / Framework / Event / Manager.php: 66 Magento \ Framework \ Event \ Manager-> dispatch () на /opt/bitnami/apps/magento/htdocs/var/generation/Magento/Framework/Event/Manager/Proxy.php:95 Magento \ Framework \ Подія \ Менеджер \ Проксі->dispatch () на /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/Model/Ab абстрактModel.php:800 Magento \ Framework \ Model \ AbstractModel-> afterSave () at / opt / bitnami / apps / magento / htdocs / vendor / magento / Framework / Model / ResourceModel / Db / AbstractDb.php: 818 Magento \ Framework \ Model \ ResourceModel \ Db \ AbstractDb-> processAfterSaves () at / opt / bitnami / apps / magento / htdocs / vendor / magento /framework/Model/ResourceModel/Db/Ab абстрактDb.php:408 Magento \ Framework \ Модель \ ResourceModel \ Db \ AbstractDb-> save () у / opt / bitnami / apps / magento / htdocs / vendor / magento / Framework / Model / AbstractModel.php: 631 Magento \ Framework \ Model \ AbstractModel-> save () в /opt/bitnami/apps/magento/htdocs/vendor/magento/module-indexer/Setup/Recurring.php:108 Magento \ Indexer \ Setup \ Повторюється->install () at /opt/bitnami/apps/magento/htdocs/setup/src/Magento/Setup/Model/Installer.php:871 Magento \ Setup \ Model \ Installer-> handleDBSchemaData () at / opt / bitnami / apps / magento / htdocs / setup / src / Magento / Setup / Model / Installer.php: 779 Magento \ Setup \ Model \ Installer-> installSchema () at / opt / bitnami / apps / magento / htdocs / setup / src / Magento / Setup /Console/Command/UpgradeCommand.php:89 Magento \ Setup \ Console \ Command \ UpgradeCommand-> Execute () at / opt / bitnami / apps / magento / htdocs / vendor / symfony / console / Symfony / Component / Console / Command / Command.php: 257 Symfony \ Компонент \ Console \ Command \ Command-> run () за адресою /opt/bitnami/apps/magento/htdocs/vendor/symfony/console/Symfony/Component/Console/Application.php:874 Symfony \ Компонент \ Консоль \ Застосування->doRunCommand () на /opt/bitnami/apps/magento/htdocs/vendor/symfony/console/Symfony/Component/Console/Application.php:195 Symfony \ Component \ Console \ Application-> doRun () at / opt / bitnami / apps / magento / htdocs / vendor / magento / Framework / Console / Cli.php: 96 Magento \ Framework \ Console \ Cli-> doRun () в / opt / bitnami / apps / magento / htdocs / vendor / symfony / console / Symfony /Component/Console/Application.php:126 Symfony \ Component \ Console \ Application-> run () at / opt / bitnami / apps / magento / htdocs / bin / magento: 23run () at / opt / bitnami / apps / magento / htdocs / bin / magento: 23run () at / opt / bitnami / apps / magento / htdocs / bin / magento: 23
setup: upgrade [--keep-generated] [--magento-init-params = "..."]
Тож якщо хтось може допомогти, де шукати, це було б чудово
Спасибі заздалегідь