products are not showing on frontend after migrate

Hi,
I have migrate my website from magento 1.9 to magento 2.3 with ub migration pro tool.
All database and products ,categories are is migrate on magento 2 but products are not showing in frontend. Can you please help me to solve this issue.
Every time a new store created
 
I have clean the case,upgrade the site and reindex too with ssh.
Please help me to solve it.

50 answers

Profile photo of ubdev Staff 98150.00 $tone December 21, 2020
Public

Hi there, 
 
Please check if the migrated root category has been assigned to the default store of your M2 default website? Once you assign the migrated category, you need to reindex and clean the Magento cache. 
 
Also please check the product quantity and stock status as well. Out of stock products will not be shown. 
 
Regards,
Ubertheme team

#1
Profile photo of ubdev Staff 98150.00 $tone December 21, 2020
Public

Hi there, 
So, please provide us the following credentials as well:

  • SSH credentials of your M2 instance
  • Let us know the path to your M2 folder

Please mark your reply private, so it’s safe to share your site info here.
Regards,
Ubertheme team

#3
Profile photo of ubdev Staff 98150.00 $tone December 21, 2020
Public

Hi there, 

We’ve just checked and noticed the following issue: 

Fatal error: Uncaught Error: Call to a member function getCode() on null in /home/proje126/public_html/itp/vendor/magento/module-store/App/Action/Plugin/Context.php:148 Stack trace: #0 /home/proje126/public_html/itp/vendor/magento/module-store/App/Action/Plugin/Context.php(100): Magento\Store\App\Action\Plugin\Context->updateContext(Object(Magento\Framework\App\Request\Http), Object(Magento\Store\Model\Store\Interceptor)) #1 /home/proje126/public_html/itp/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)) #2 /home/proje126/public_html/itp/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Cms\Controller\Index\Index\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Request\Http)) #3 /home/proje126/public_html/itp/generated/code/Magento/Cms/Controller/Index/Index/Interceptor.php(39): Magento\Cms\Controller\Index\ in /home/proje126/public_html/itp/vendor/magento/module-store/App/Action/Plugin/Context.php on line 148

This refers to another issue, rather than the ‘Product not shown’ issue you mentioned earlier. 
 
Besides, we noticed that the migrated website was not set as the default website.
 
We did help to update and set the website (base_migrated) as the default website for you (http://prntscr.com/w70e3f).
 
Then, your frontend showed another issue: http://prntscr.com/w70fgk
 
So, we’ve checked and updated the theme settings in your DB: https://project-demo.in/itp/. Then the issue on the frontend has been solved with core Luma theme.

 
After that, we helped to reindex data and clean M2 cache: http://prntscr.com/w712jf and then 
the products have been displayed as normal. For example https://project-demo.in/itp/products/filter-brands-farmtrac-html.html

 
However, while debugging your instance, we did enable the developer mode on your instance and saw another issue in your backend: 

1 exception(s):
Exception #0 (OutOfRangeException): Specified invalid parent id (Magedelight_Base::md_modules)

Since this relates to a 3rd party extension, please check again at your end. 
 
Regards,
Ubertheme team

#5
Profile photo of Mall Staff 184060.00 $tone December 22, 2020
Public

Hi there,

I have one query also if i am created the custom theme then i did not face this issue again

Please contact the provider of your custom theme and make sure that you did it the right way following the Magento’s rules for a custom theme.

Regads,
Mall.

#7
Profile photo of ubdev Staff 98150.00 $tone December 22, 2020
Public

Hi there, 

if i am creating the custom theme then i face this problem again or not

If you referred to the ‘products not showing’ issue, then it will not occur. Actually, as explained in our previous reply, your products were not shown properly due to the wrong settings related to the Default website, default store, and Root category.
 
Regarding the custom theme, it’s more about following Magento 2’s rules instead. So please check the Magento guideline for that. 
 
Regards,
Ubertheme team 

#9
Profile photo of ubdev Staff 98150.00 $tone December 22, 2020
Public

Hi there, 
We close the ticket for now. In case you have any additional questions, please get back to us here.
Regards,
Ubertheme team

#11
Profile photo of ubdev Staff 98150.00 $tone January 2, 2021
Public

Hi there, 
 
Since our team has a 3-day festival event at the moment (starting from this Friday), please give us a bit more time to follow up on your case. 
 
Our apology for a certain delay in response to you. We will follow up on your case, however, it will take us a bit longer. 
 
Thanks for your patience.

Regards,
Ubertheme team 

#13
Profile photo of baitcasters 840.00 $tone January 2, 2021
Public

Dear Ubertheme team,
On Monday i have a meeting with the client and i have to show the website.
I don’t want to show multiple store ,only one store want to show
And earlier i have asked you about the custom theme and i have created but css and js not loading in front end 
 

#14
Profile photo of Mall Staff 184060.00 $tone January 2, 2021
Public

Hi there,
I have checked in your instance and I didn’t see the issue with loading the static files as you mentioned: http://prntscr.com/weqfn0
It seems that you have solved that issue in your custom theme at your end.
Regards,
Mall.

#16
Profile photo of baitcasters 840.00 $tone January 3, 2021
Public

Dear Uberteam,
I have created the custom theme please see this link -- https://prnt.sc/wf4uy8 which is not showing in frontend.
And also why this multiple store show , every time a new store created why?
please see this link -- https://prnt.sc/wf4yh8

#18
Profile photo of ubdev Staff 98150.00 $tone January 4, 2021
Public

Hi there,
 
We’re sorry for replying to you this late as we’ve just been back from our weekend. 
 
Regarding the custom theme that you mentioned, as explained in our previous reply #7, we’re afraid that it’s beyond the scope of our UB Data Migration Pro module. Please consider finding a developer who can help you further with the theme. 
 
If you come across any issues related to our module, please get back to us here. We will work closely with you then. 
 
Thanks for your understanding. 
 
Regards,
Ubertheme team

#19
Profile photo of ubdev Staff 98150.00 $tone January 4, 2021
Public

Hi there, 

https://prnt.sc/wfo8im

The Website > Store highlighted in red was an existing store in your M2 instance. Also, you did delete one default store view.
 
Since you did not select the “Merge default websites” option in step #2, so, after you complete the migration in Step 2, our migration tool created the extra website, stores, store views in accordance with those in your M1.
 
Regards,
Ubertheme team

#21
Profile photo of baitcasters 840.00 $tone January 4, 2021
Public

Dear Team,
How can this problem solved, please help me out to solve this problem
Today i have a meeting with client to show the demo and home page is not ready

#22
Profile photo of ubdev Staff 98150.00 $tone January 4, 2021
Public

Hi there, 
 
You can consider one of the following options:
 
1. Reset all steps: 2,3,4,5,6,7,8. Then, re-perform the data migration in these steps. If you go with this option and do not want to have multiple websites, stores in your M2 after migration, you should enable the “Merge default website’ option in step #2.
 
2. If you want to keep the existing migrated data, you can set the website with code = ‘base_migrated’ as the default website in M2.
 
We hope that helps. 
 
Regards,
Ubertheme team

#23
Profile photo of baitcasters 840.00 $tone January 4, 2021
Public

I want this
If you want to keep the existing migrated data, you can set the website with code = ‘base_migrated’ as the default website in M2.
please do this

#24
Profile photo of ubdev Staff 98150.00 $tone January 4, 2021
Public

Hi there, 
 
You can go to your M2 Admin | Stores | (Settings) All Stores, then open the migrated website (with the code ‘base_migrated’) and set it as Default Website. Once done, reindex data and clean your M2 cache. 
 
Regards,
Ubertheme team

#26
Profile photo of baitcasters 840.00 $tone January 4, 2021
Public

Dear Ubertheme team,
I can not reset all step because there is 36k product that will take time , is there any probability we can skip product migration step and reset all step 
 

#27
Profile photo of ubdev Staff 98150.00 $tone January 4, 2021
Public

Hi there, 

This is coming when i open pro extension
http://prntscr.com/wfpbi5

It seems that you changed your database credentials. Please verify and update with the correct DB credentials in the config file at pub/ub-tool/protected/config/db.php
 
We hope that helps.
Regards,
Ubertheme team

#28
Profile photo of baitcasters 840.00 $tone January 4, 2021
Public

Dear Team,
This is done
It seems that you changed your database credentials. Please verify and update with the correct DB credentials in the config file at pub/ub-tool/protected/config/db.php

#30
Profile photo of baitcasters 840.00 $tone January 4, 2021
Public

Dear Team,
This is not working
You can go to your M2 Admin | Stores | (Settings) All Stores, then open the migrated website (with the code ‘base_migrated’) and set it as Default Website. Once done, reindex data and clean your M2 cache. 

#31
Profile photo of baitcasters 840.00 $tone January 4, 2021
Public

The Website > Store highlighted in red was an existing store in your M2 instance. Also, you did delete one default store view.
 
Since you did not select the “Merge default websites” option in step #2, so, after you complete the migration in Step 2, our migration tool created the extra website, stores, store views in accordance with those in your M1.
i have run this command php bin/ubdatamigration run that’s why i did not select the “Merge default websites”

#34
Profile photo of ubdev Staff 98150.00 $tone January 4, 2021
Public

Hi there, 
We’d like to follow up further below: 

i have run this command php bin/ubdatamigration run that’s why i did not select the “Merge default websites”

Before you run that command, you should have completed the configuration in Step 2 already. 

This is not working
You can go to your M2 Admin | Stores | (Settings) All Stores, then open the migrated website (with the code ‘base_migrated’) and set it as Default Website. Once done, reindex data and clean your M2 cache. 

So, please provide us both admin and SSH credentials of your site once again, we will debug and get back to you then. We could not access using the old credentials you provided though. 
IMPORTANT: Please make sure you mark your reply private, then it’s safe to share your site info here. 

Are you doing anythings or not or i am just wasting my time

We tried to respond as soon as possible, however, we could not provide instant or near real-time support due to our high workload every day. 
Thanks for your understanding. 
Regards,
Ubertheme team

#38
Profile photo of Mall Staff 184060.00 $tone January 4, 2021
Public

Hi there,

This is not working
You can go to your M2 Admin | Stores | (Settings) All Stores, then open the migrated website (with the code ‘base_migrated’) and set it as Default Website. Once done, reindex data and clean your M2 cache. 

I have created a new temporary admin user ‘ub’ via SSH connection in the Cpanel you provided.
And I checked further into your instance and saw that you did set the website code = ‘base_migrated’ as suggested above.

And I saw the home page was working in the frontend of your site: https://project-demo.in/itp/
So, please let me know what is the issue you referred to?
 
Regards,
Mall.
 
 

#40
Profile photo of ubdev Staff 98150.00 $tone January 4, 2021
Public

Hi there, 

I have created custom theme where css and js not loading

We checked and saw most of the static files (js & css) are working fine on your site:
https://prnt.sc/wfri8n
https://prnt.sc/wfriq4
So, please let me know which css & js files were not loading?
 
Anyway, please note that the custom theme-related issues are beyond the scope of our support. We could provide you assistance with the issues related to our migration module only.

Under your circumstance, you can switch back to Magento’s Blank/Luma theme to verify the migrated data first. Once your migrated data is ready for use, you can start with the custom theme integration.
 
Regards,
Ubertheme team

#43
Profile photo of baitcasters 840.00 $tone January 4, 2021
Public

Ok i understand that this is not your part of scope i f i have to add css & js then where i can add this
because if i can add this in pub file and deploy then all css & js will remove

#46
Profile photo of ubdev Staff 98150.00 $tone January 4, 2021
Public

Hi there,
 
We’re afraid that due to our limited resources, we could not assist with the issues that do not relate to the data migration. Please consider finding a developer who can help you with the theme development. 
 
Thanks for your understanding. 
 
Regards,
Ubertheme team 

#49
Profile photo of ubdev Staff 98150.00 $tone January 20, 2021
Public

Hi there, 
 
We’re sorry to bother you again. 
 
 
Our team is working on a new plan for 2021, if possible, could you please help us answer a few quick questions via this survey
 
Your feedback is crucial for us, so we hope you can share with us your thoughts on those questions. 
 
Sincerely,
Ubertheme team

#50

Please login or Register to Submit Answer

Written By

Comments