How to set the default store view after migration?

Hi,
I am migrating my data from magento 1 to magento 2. All products, orders and subscriptions are show in backend correctly. But when i choose the store information it will occur the fatal error. Please help with us.

Fatal error: Uncaught Error: Call to a member function getCode() on null in /chroot/home/howseimp/howseimplement.com/html/vendor/magento/module-store/App/Action/Plugin/Context.php:90 Stack trace: #0 /chroot/home/howseimp/howseimplement.com/html/vendor/magento/framework/Interception/Interceptor.php(121): Magento\Store\App\Action\Plugin\Context->beforeDispatch(Object(Magento\Cms\Controller\Index\Index\Interceptor), Object(Magento\Framework\App\Request\Http)) #1 /chroot/home/howseimp/howseimplement.com/html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Cms\Controller\Index\Index\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Request\Http)) #2 /chroot/home/howseimp/howseimplement.com/html/generated/code/Magento/Cms/Controller/Index/Index/Interceptor.php(39): Magento\Cms\Controller\Index\Index\Interceptor->___callPlugins(‘dispatch’, Array, Array) #3 /chroot/home/howseimp/howseimplement.com/html/vendor/magento/framework/App/FrontController.php(55): Magento\Cms\Controller in /chroot/home/howseimp/howseimplement.com/html/vendor/magento/module-store/App/Action/Plugin/Context.php on line 90

5 answers

Profile photo of Mall Staff 184060.00 $tone April 9, 2018
Public

Hi there,
Please provide me information about your instance as followings:
+ Admin credentials and back-end url
+ SSH credentials and web root path to your magento2 folder
+ And please tell me know how to clone the issue as you mentioned.
I will help to check further and reply you more later.
Regards,
Mall.
 
 

#1
Profile photo of ubdev Staff 98150.00 $tone October 1, 2018
Public

Hi Al.kaffary, 
We wonder if you run across a similar error as Firesky mentioned above? 
If that’s the case, please submit a new ticket and provide us the following info as our team’s instruction in our reply #1 above: 

Please provide me information about your instance as followings:
+ Admin credentials and back-end url
+ SSH credentials and web root path to your magento2 folder
+ And please tell me know how to clone the issue as you mentioned.

PS. Please make sure you submit a new private ticket when providing us your site credentials. Only you and our technical team can access. 
Regards,
Ubertheme team

#5

Please login or Register to Submit Answer

Written By

Comments