ฉันพยายามที่จะหลีกเลี่ยงรหัสพื้นที่นี้ไม่ได้ตั้งข้อผิดพลาดและมีการอ้างอิงคนอื่น ๆ ที่นี่ แต่มีปัญหาในการติดตามมัน
ฉันพยายามอัพเกรด 2.0.7 เป็น 2.1.0 และเมื่อฉันไปถึงจุดที่ฉันเรียกใช้:
การตั้งค่า php bin / magento: อัพเกรด -vvv
ฉันได้รับสิ่งนี้เป็นข้อผิดพลาด
[Magento \ Framework \ Exception \ SessionException] ไม่ได้ตั้งรหัสพื้นที่: ต้องตั้งรหัสพื้นที่ก่อนเริ่มเซสชัน
ข้อยกเว้น: () ที่ /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/Session/SessionManS.php:176 Magento \ Framework \ Session \ SessionManager-> start () ที่ / opt / bitnami / แอป / magento / htdocs / var / generation / Magento / Framework / Session / Generic / Interceptor.php: 50 Magento \ Framework \ Session \ Generic \ Interceptor-> start () ที่ / opt / bitnami / apps / magento / htdocs / ผู้ขาย / magento /framework/Session/SessionManager.php:130 Magento \ Framework \ Session \ SessionManager -> __ สร้าง () ที่ /opt/bitnami/apps/magento/htdocs/var/generation/Magento/Framework/Session/Gessionic/Interceptor.php: 14 Magento \ Framework \ Session \ Generic \ Interceptor -> __ สร้าง () ที่ /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.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 \> สร้าง () ที่ opt / bitnami / apps / magento / htdocs / ผู้ขาย / magento / framework / ObjectManager / ObjectManager.php: 71 Magento \ Framework \ ObjectManager \ ObjectManager-> รับ () ที่ / opt / bitnami / apps / magento / htdocs / ผู้ขาย / magento /framework/ObjectManager/Factory/AbstractFactory.php:126 Magento \ Framework \ ObjectManager \ Factory \ AbstractFactory-> resolArgument () ที่ / opt / bitnami / แอป / magento / htdocs / ผู้ขาย / magento / htdocs / ผู้ขาย / magento / กรอบ / ObjectManager / โรงงาน / แบบไดนามิก Developer.php: 53 Magento \ Framework \ ObjectManager \ Factory \ Dynamic \ Developer -> _ resolArguments () ที่ /opt/bitnami/apps/magento/htdocs/vendor/magento/framory/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- > รับ () ที่ /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:126 Magento \ Framework \ ObjectManager \ Factory \ AbstractFactory-> resolveArgument () ที่ /apps/magento/htdocs/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:53 Magento \ Framework \ ObjectManager \ Factory \ Dynamic \ Developer -> _ resolArguments () ที่ / opt / bitnami htdocs / ผู้ขาย / magento / กรอบงาน / ObjectManager / โรงงาน / ไดนามิก / Developer.php: 82 Magento \ Framework \ ObjectManager \ Factory \ Dynamic \ Developer->สร้าง () ที่ /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/ObjectManager.Opject71 Magento \ Framework \ ObjectManager \ ObjectManager-> รับ () ที่ / opt / bitnami / apps / magento / htdocs / ผู้ขาย / magento / กรอบ / ObjectManager / โรงงาน / AbstractFactory.php: 126 Magento \ Framework \ ObjectManager \ Factory \ AbstractFactory-> resolArgument () ที่ / opt / bitnami / apps / magento / htdocs / ผู้ขาย / magento / กรอบ / ObjectManager /Factory/Dynamic/Developer.php:53 Magento \ Framework \ ObjectManager \ Factory \ Dynamic \ Developer -> _ resolArguments () ที่ / opt / bitnami / apps / magento / htdocs / ผู้ขาย / magento / กรอบ / ObjectManager / โรงงาน / Dynamic / Developer.php: 82 Magento \ Framework \ ObjectManager \ Factory \ Dynamic \ Developer-> สร้าง () ที่ /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/AbstractFactory.php:126 Magento \ Framework \ ObjectManager \ ObjectManager-> รับ () ที่ > resolArgument () ที่ /opt/bitnami/apps/magento/htdocs/vagor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:53 Magento \ Framework \ ObjectManager \ Factory \ Dynamic \ นักพัฒนา -> _ resolArgument () ที่ /opt/bitnami/apps/magento/htdocs/vagour/framework/ObjectManager/Factory/Dynamic/Developer.php:82 Magento \ Framework \ ObjectManager \ Factory \ Dynamic \ Developer-> สร้าง () ที่ / opt / bitnami / แอป / magento / htdocs / ผู้ขาย / magento / กรอบ / ObjectManager / ObjectManager.php: 71 Magento \ Framework \ ObjectManager \ ObjectManager->รับ () ที่ /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:126 Magento \ Framework \ ObjectManager \ Factory \ AbstractFactory-> resolArgument () ที่ /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:126 Magento \ Framework \ ObjectManager \ Factory \ AbstractFactory-> แอป / magento / htdocs / ผู้ขาย / magento / กรอบ / ObjectManager / โรงงาน / ไดนามิก / Developer.php: 53 Magento \ Framework \ ObjectManager \ Factory \ Dynamic \ Developer -> _ resolArguments () ที่ / opt / bitnami / apps / magento / htdocs /vendor/magento/framework/ObjectManager/Fyntory/Dynamic/Developer.php:82 Magento \ Framework \ ObjectManager \ Factory \ Dynamic \ Developer-> สร้าง () ที่ / opt / bitnami / apps / magento / ผู้ขาย / 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/Evoice/InvokerDefault.php:73 Magento \ Framework \ Event \ InvokerDefoker- > _callObserverMethod () ที่ /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/Event/Invoker/InvokerDefault.php:61 Magento \ Framework \ Event \ InvokerDefault-> ส่ง /apps/magento/htdocs/vendor/magento/framework/Event/Manager.php:66 Magento \ Framework \ Event \ Manager \> ส่ง () ที่ / opt / bitnami / apps / magento / htdocs / var / generation / Magento / Framework / กิจกรรม / Manager / Proxy.php: 95 Magento \ Framework \ Event \ Manager \ Proxy-> ส่ง () ที่ /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/Model/AbstractModel.php:800 วีโอไอพี \ Framework \ รุ่น \ AbstractModel->afterSave () ที่ /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/Model/ResourceModel/Db/AbstractDb.php:818 Magento \ Framework \ Model \ ResourceModel \ Db \ AbstractDb-> processAfterSaves () ที่ opt / bitnami / apps / magento / htdocs / ผู้ขาย / magento / framework / Model / ResourceModel / Db / AbstractDb.php: 408 Magento \ Framework \ Model \ ResourceModel \ Db \ AbstractDb-> save () ที่ / opt / bitnami / apps /magento/htdocs/vendor/magento/framework/Model/AbstractModel.php:631 Magento \ Framework \ Model \ AbstractModel-> save () ที่ / opt / bitnami / แอป / magento / htdocs / ผู้ขาย / Magento / htdocs 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 () ที่ / opt / bitnami / แอพ / bitnami magento / htdocs / setup / src / Magento / Setup / Console / Command / UpgradeCommand.php: 89 Magento \ Setup \ Console \ Command \ UpgradeCommand-> ดำเนินการ () ที่ / opt / bitnami / apps / magento / htdocs / ผู้ขาย / symfony /console/Symfony/Component/Console/Command/Command.php:257 Symfony \ Component \ Console \ Command \ Command \ Command-> run () ที่ / opt / bitnami / apps / magento / htdocs / ผู้ขาย / symfony / คอนโซล / Symfony / คอนโซล คอมโพเนนต์ / คอนโซล / Application.php: 874 Symfony \ Component \ Console \ Application-> doRunCommand () ที่ /opt/bitnami/apps/magento/htdocs/vendor/symfony/console/Symfony/Component/Component/Component Symfony \ ตัวแทน \ คอนโซล \ โปรแกรมประยุกต์>doRun () ที่ /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/Console/Cli.php:96 Magento \ Framework \ Console \ Cli-> doRun () ที่ / opt / bitnami / apps / magento / htdocs / ผู้ขาย / symfony / console / Symfony / Component / Console / Application.php: 126 Symfony \ Component \ Console \ Application-> run () ที่ / 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 / ผู้ขาย / magento / framework / Session / SessionManager.php: 174 Magento \ Framework \ Session \ SessionManager-> start () ที่ / opt / bitnami / apps / magento / htdocs / var / generation / Magento / Framework / เซสชัน /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 -> __ สร้าง () ที่ /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/AbstractFactory.php:93 Magento \ Framework \ ObjectManager \ Factory \ AbstractFactory-> createObject () ที่ /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:93 Magento \ Framework \ ObjectManager \ Factory \ AbstractFactory-> createObject () ที่ /opt/bitnami/apps/magento/htdocs/vag แอป / magento / htdocs / ผู้ขาย / magento / กรอบ / ObjectManager / โรงงาน / ไดนามิก / Developer.php: 89 Magento \ Framework \ ObjectManager \ Factory \ Dynamic \ Developer-> สร้าง () ที่ / opt / bitnami / apps / magento / htdocs /vendor/magento/framework/ObjectManager/ObjectManager.php:71 Magento \ Framework \ ObjectManager \ ObjectManager-> get () ที่ / opt / bitnami / apps / magento / htdocs / ผู้ขาย / magento / กรอบ / ObjectManager / โรงงาน / AbstractFactory php: 126 Magento \ Framework \ ObjectManager \ Factory \ AbstractFactory-> resolArgument () ที่ /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/Fyntory/Dynamic/Developer.php:53 Magento \ Framework \ ObjectManager \ Factory \ Dynamic \ Developer -> _ resolArguments () ที่ /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/Fynnical/Devamicer ObjectManager \ Factory \ Dynamic \ Developer-> create () ที่ /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/ObjectManager.php:71 Magento \ Framework \ ObjectManager \ ObjectManager-> รับ () ที่ /opt/bitnami/apps/magento/htdocs/vagor/magento/framework/ObjectManager/Factory/AbstractFactory.php:126 Magento \ Framework \ ObjectManager \ Factory \ AbstractFactory-> resolArgument () ที่ htdocs / ผู้ขาย / magento / กรอบงาน / ObjectManager / โรงงาน / ไดนามิก / 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 \> \ Dynamic \ Developer \> \ opt / bitnami / apps / magento / htdocs / ผู้ขาย / magento / framework / ObjectManager / ObjectManager.php: 71 Magento \ Framework \ ObjectManager \ ObjectManager-> รับ () ที่ / opt / bitnami / apps / magento / htdocs / ผู้ขาย / magento /framework/ObjectManager/Factory/AbstractFactory.php:126 Magento \ Framework \ ObjectManager \ Factory \ AbstractFactory-> resolArgument () ที่ / opt / bitnami / แอป / magento / htdocs / ผู้ขาย / magento / htdocs Developer.php: 53 Magento \ Framework \ ObjectManager \ Factory \ Dynamic \ Developer -> _ resolArguments () ที่ /opt/bitnami/apps/magento/htdocs/vendor/magento/framory/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- > รับ () ที่ /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:126 Magento \ Framework \ ObjectManager \ Factory \ AbstractFactory-> resolveArgument () ที่ /apps/magento/htdocs/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:53 Magento \ Framework \ ObjectManager \ Factory \ Dynamic \ Developer -> _ resolArguments () ที่ / opt / bitnami htdocs / ผู้ขาย / magento / กรอบงาน / ObjectManager / โรงงาน / ไดนามิก / Developer.php: 82 Magento \ Framework \ ObjectManager \ Factory \ Dynamic \ Developer->สร้าง () ที่ /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/ObjectManager.Opject71 Magento \ Framework \ ObjectManager \ ObjectManager-> รับ () ที่ / opt / bitnami / apps / magento / htdocs / ผู้ขาย / magento / กรอบ / ObjectManager / โรงงาน / AbstractFactory.php: 126 Magento \ Framework \ ObjectManager \ Factory \ AbstractFactory-> resolArgument () ที่ / opt / bitnami / apps / magento / htdocs / ผู้ขาย / magento / กรอบ / ObjectManager /Factory/Dynamic/Developer.php:53 Magento \ Framework \ ObjectManager \ Factory \ Dynamic \ Developer -> _ resolArguments () ที่ / opt / bitnami / apps / magento / htdocs / ผู้ขาย / magento / กรอบ / ObjectManager / โรงงาน / Dynamic / Developer.php: 82 Magento \ Framework \ ObjectManager \ Factory \ Dynamic \ Developer-> สร้าง () ที่ /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 \ ProcessSaveModel-> ดำเนินการ () ที่ /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/Event/Invoker/InvokerDefault.php:73 Magento \ Framework \ Event \ InvokerD InvokerDefault -> _ callObserverMethod () ที่ / opttbitbiti แอพพลิเคชั่น Bitcoini /magento/htdocs/vendor/magento/framework/Event/Invoker/InvokerDefault.php:61 Magento \ Framework \ Event \ Invoker \ InvokerDefault-> ส่ง () ที่ / opt / bitnami / apps / magento / htdocs / ผู้ขาย / magento framework / Event / Manager.php: 66 Magento \ Framework \ Event \ Manager-> ส่ง () ที่ /opt/bitnami/apps/magento/htdocs/var/generation/Magento/Framework/Event/Manager/Proxy.php:95 วีโอไอพี \ Framework \ เหตุการณ์ \ Manager \ Proxy->ส่ง () ที่ /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/Model/AbstractModel.php:800 Magento \ Framework \ Model \ AbstractModel-> afterSave () ที่ / opt / bitnami / apps / magento / htdocs / ผู้ขาย / magento / กรอบ / โมเดล / ResourceModel / Db / AbstractDb.php: 818 Magento \ Framework \ Model \ ResourceModel \ Db \ AbstractDb-> processAfterSaves () ที่ / opt / bitnami / apps / magento / ผู้ขาย / magento /framework/Model/ResourceModel/Db/AbstractDb.php:408 วีโอไอพี \ Framework \ Model \ ResourceModel \ Db \ AbstractDb-> save () ที่ / opt / bitnami / แอป / magento / htdocs / ผู้ขาย / magento / กรอบ / รุ่น / AbstractModel.php: 631 Magento \ Framework \ Model \ AbstractModel-> save () ที่ /opt/bitnami/apps/magento/htdocs/vendor/magento/module-indexer/Setup/Recurring.php:108 Magento \ Indexer \ Setup \ Recurring->ติดตั้ง () ที่ /opt/bitnami/apps/magento/htdocs/setup/src/Magento/Setup/Model/Installer.php:871 Magento \ Setup \ Model \ Installer-> handleDBSchemaData () ที่ / opt / bitnami / apps / magento / htdocs / setup / src / Magento / Setup / รุ่น / Installer.php: 779 Magento \ Setup \ Model \ Installer-> installSchema () ที่ / opt / bitnami / apps / magento / htdocs / setup / src / Magento / การติดตั้ง /Console/Command/UpgradeCommand.php:89 Magento \ Setup \ Console \ Command \ UpgradeCommand-> ดำเนินการ () ที่ / opt / bitnami / apps / magento / htdocs / ผู้ขาย / symfony / console / Symfony / Component / Console / Command / Command.php: 257 Symfony \ Component \ 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 () ที่ / opt / bitnami / แอพ / magento / htdocs / ผู้ขาย / magento / กรอบ / Console / Cli.php: 96 Magento \ Framework \ Console \ Cli-> doRun () ที่ / opt / bitnami / apps / magento / htdocs / ผู้ขาย / symfony / console / Symfony /Component/Console/Application.php:126 Symfony \ Component \ Console \ Application-> run () ที่ / opt / bitnami / apps / magento / htdocs / bin / magento: 23run () ที่ / opt / bitnami / apps / magento / htdocs / bin / magento: 23run () ที่ / opt / bitnami / apps / magento / htdocs / bin / magento: 23
การตั้งค่า: อัปเกรด [- สร้าง - ให้]] [--magento-init-params = "... "]
ดังนั้นหากใครสามารถช่วยเหลือสถานที่ดูนี่จะดี
ขอบคุณล่วงหน้า