just finished installing, 1 error

Only see one small issue after finishing the migration
 
When in admin area, and you select Stores->Configuration->General->Web
 
The page errors out and give the following (copied from page) – Maybe its inheriting different base urls from magento 1 or there is some conflict here? Not sure
 
Please help if you can and let me know your thoughts. Thanks
 
Requested store is not found
#0 /home/devtoolscom/public_html/vendor/magento/module-store/Model/StoreManager.php(161): Magento\Store\Model\StoreRepository->getById(‘1’)
#1 /home/devtoolscom/public_html/vendor/magento/module-cms/Model/ResourceModel/AbstractCollection.php(69): Magento\Store\Model\StoreManager->getStore(‘1’)
#2 /home/devtoolscom/public_html/vendor/magento/module-cms/Model/ResourceModel/Page/Collection.php(101): Magento\Cms\Model\ResourceModel\AbstractCollection->performAfterLoad(‘cms_page_store’, ‘page_id’)
#3 /home/devtoolscom/public_html/vendor/magento/framework/Data/Collection/AbstractDb.php(579): Magento\Cms\Model\ResourceModel\Page\Collection->_afterLoad()
#4 /home/devtoolscom/public_html/vendor/magento/framework/Data/Collection/AbstractDb.php(550): Magento\Framework\Data\Collection\AbstractDb->loadWithFilter(false, false)
#5 /home/devtoolscom/public_html/vendor/magento/framework/Data/Collection.php(820): Magento\Framework\Data\Collection\AbstractDb->load()
#6 /home/devtoolscom/public_html/vendor/magento/module-cms/Model/ResourceModel/Page/Collection.php(49): Magento\Framework\Data\Collection->getIterator()
#7 /home/devtoolscom/public_html/vendor/magento/module-cms/Model/Config/Source/Page.php(42): Magento\Cms\Model\ResourceModel\Page\Collection->toOptionIdArray()
#8 /home/devtoolscom/public_html/vendor/magento/module-config/Model/Config/Structure/Element/Field.php(443): Magento\Cms\Model\Config\Source\Page->toOptionArray(false)
#9 /home/devtoolscom/public_html/vendor/magento/module-config/Model/Config/Structure/Element/Field.php(361): Magento\Config\Model\Config\Structure\Element\Field->_getOptionsFromSourceModel(Object(Magento\Cms\Model\Config\Source\Page))
#10 /home/devtoolscom/public_html/var/generation/Magento/Config/Model/Config/Structure/Element/Field/Interceptor.php(310): Magento\Config\Model\Config\Structure\Element\Field->getOptions()
#11 /home/devtoolscom/public_html/vendor/magento/module-config/Block/System/Config/Form.php(379): Magento\Config\Model\Config\Structure\Element\Field\Interceptor->getOptions()
#12 /home/devtoolscom/public_html/vendor/magento/module-config/Block/System/Config/Form.php(284): Magento\Config\Block\System\Config\Form->_initElement(Object(Magento\Config\Model\Config\Structure\Element\Field\Interceptor), Object(Magento\Framework\Data\Form\Element\Fieldset), ‘web/default/cms…’, ”, ”)
#13 /home/devtoolscom/public_html/vendor/magento/module-config/Block/System/Config/Form.php(224): Magento\Config\Block\System\Config\Form->initFields(Object(Magento\Framework\Data\Form\Element\Fieldset), Object(Magento\Config\Model\Config\Structure\Element\Group), Object(Magento\Config\Model\Config\Structure\Element\Section))
#14 /home/devtoolscom/public_html/vendor/magento/module-config/Block/System/Config/Form.php(170): Magento\Config\Block\System\Config\Form->_initGroup(Object(Magento\Config\Model\Config\Structure\Element\Group), Object(Magento\Config\Model\Config\Structure\Element\Section), Object(Magento\Framework\Data\Form))
#15 /home/devtoolscom/public_html/vendor/magento/module-config/Block/System/Config/Form.php(458): Magento\Config\Block\System\Config\Form->initForm()
#16 /home/devtoolscom/public_html/vendor/magento/framework/View/Element/AbstractBlock.php(656): Magento\Config\Block\System\Config\Form->_beforeToHtml()
#17 /home/devtoolscom/public_html/vendor/magento/framework/View/Layout.php(542): Magento\Framework\View\Element\AbstractBlock->toHtml()
#18 /home/devtoolscom/public_html/vendor/magento/framework/View/Layout.php(518): Magento\Framework\View\Layout->_renderBlock(‘system\\config\\f…’)
#19 /home/devtoolscom/public_html/var/generation/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement(‘system\\config\\f…’)
#20 /home/devtoolscom/public_html/vendor/magento/framework/View/Layout.php(472): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement(‘system\\config\\f…’)
#21 /home/devtoolscom/public_html/var/generation/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement(‘system\\config\\f…’, true)
#22 /home/devtoolscom/public_html/vendor/magento/framework/View/Element/AbstractBlock.php(497): Magento\Framework\View\Layout\Interceptor->renderElement(‘system\\config\\f…’, true)
#23 /home/devtoolscom/public_html/vendor/magento/module-config/view/adminhtml/templates/system/config/edit.phtml(22): Magento\Framework\View\Element\AbstractBlock->getChildHtml(‘form’)
#24 /home/devtoolscom/public_html/vendor/magento/framework/View/TemplateEngine/Php.php(59): include(‘/home/devtoolsc…’)
#25 /home/devtoolscom/public_html/vendor/magento/framework/View/Element/Template.php(255): Magento\Framework\View\TemplateEngine\Php->render(Object(Magento\Config\Block\System\Config\Edit), ‘/home/devtoolsc…’, Array)
#26 /home/devtoolscom/public_html/vendor/magento/framework/View/Element/Template.php(279): Magento\Framework\View\Element\Template->fetchView(‘/home/devtoolsc…’)
#27 /home/devtoolscom/public_html/vendor/magento/module-backend/Block/Template.php(104): Magento\Framework\View\Element\Template->_toHtml()
#28 /home/devtoolscom/public_html/vendor/magento/framework/View/Element/AbstractBlock.php(657): Magento\Backend\Block\Template->_toHtml()
#29 /home/devtoolscom/public_html/vendor/magento/framework/View/Layout.php(542): Magento\Framework\View\Element\AbstractBlock->toHtml()
#30 /home/devtoolscom/public_html/vendor/magento/framework/View/Layout.php(518): Magento\Framework\View\Layout->_renderBlock(‘system.config.e…’)
#31 /home/devtoolscom/public_html/var/generation/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement(‘system.config.e…’)
#32 /home/devtoolscom/public_html/vendor/magento/framework/View/Layout.php(472): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement(‘system.config.e…’)
#33 /home/devtoolscom/public_html/var/generation/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement(‘system.config.e…’, true)
#34 /home/devtoolscom/public_html/vendor/magento/framework/View/Layout.php(569): Magento\Framework\View\Layout\Interceptor->renderElement(‘system.config.e…’)
#35 /home/devtoolscom/public_html/vendor/magento/framework/View/Layout.php(520): Magento\Framework\View\Layout->_renderContainer(‘content’)
#36 /home/devtoolscom/public_html/var/generation/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement(‘content’)
#37 /home/devtoolscom/public_html/vendor/magento/framework/View/Layout.php(472): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement(‘content’)
#38 /home/devtoolscom/public_html/var/generation/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement(‘content’, true)
#39 /home/devtoolscom/public_html/vendor/magento/framework/View/Layout.php(569): Magento\Framework\View\Layout\Interceptor->renderElement(‘content’)
#40 /home/devtoolscom/public_html/vendor/magento/framework/View/Layout.php(520): Magento\Framework\View\Layout->_renderContainer(‘admin.scope.col…’)
#41 /home/devtoolscom/public_html/var/generation/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement(‘admin.scope.col…’)
#42 /home/devtoolscom/public_html/vendor/magento/framework/View/Layout.php(472): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement(‘admin.scope.col…’)
#43 /home/devtoolscom/public_html/var/generation/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement(‘admin.scope.col…’, true)
#44 /home/devtoolscom/public_html/vendor/magento/framework/View/Layout.php(569): Magento\Framework\View\Layout\Interceptor->renderElement(‘admin.scope.col…’)
#45 /home/devtoolscom/public_html/vendor/magento/framework/View/Layout.php(520): Magento\Framework\View\Layout->_renderContainer(‘main.col’)
#46 /home/devtoolscom/public_html/var/generation/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement(‘main.col’)
#47 /home/devtoolscom/public_html/vendor/magento/framework/View/Layout.php(472): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement(‘main.col’)
#48 /home/devtoolscom/public_html/var/generation/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement(‘main.col’, true)
#49 /home/devtoolscom/public_html/vendor/magento/framework/View/Layout.php(569): Magento\Framework\View\Layout\Interceptor->renderElement(‘main.col’)
#50 /home/devtoolscom/public_html/vendor/magento/framework/View/Layout.php(520): Magento\Framework\View\Layout->_renderContainer(‘page.main.conta…’)
#51 /home/devtoolscom/public_html/var/generation/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement(‘page.main.conta…’)
#52 /home/devtoolscom/public_html/vendor/magento/framework/View/Layout.php(472): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement(‘page.main.conta…’)
#53 /home/devtoolscom/public_html/var/generation/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement(‘page.main.conta…’, true)
#54 /home/devtoolscom/public_html/vendor/magento/framework/View/Layout.php(569): Magento\Framework\View\Layout\Interceptor->renderElement(‘page.main.conta…’)
#55 /home/devtoolscom/public_html/vendor/magento/framework/View/Layout.php(520): Magento\Framework\View\Layout->_renderContainer(‘page.content’)
#56 /home/devtoolscom/public_html/var/generation/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement(‘page.content’)
#57 /home/devtoolscom/public_html/vendor/magento/framework/View/Layout.php(472): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement(‘page.content’)
#58 /home/devtoolscom/public_html/var/generation/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement(‘page.content’, true)
#59 /home/devtoolscom/public_html/vendor/magento/framework/View/Layout.php(569): Magento\Framework\View\Layout\Interceptor->renderElement(‘page.content’)
#60 /home/devtoolscom/public_html/vendor/magento/framework/View/Layout.php(520): Magento\Framework\View\Layout->_renderContainer(‘page.wrapper’)
#61 /home/devtoolscom/public_html/var/generation/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement(‘page.wrapper’)
#62 /home/devtoolscom/public_html/vendor/magento/framework/View/Layout.php(472): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement(‘page.wrapper’)
#63 /home/devtoolscom/public_html/var/generation/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement(‘page.wrapper’, true)
#64 /home/devtoolscom/public_html/vendor/magento/framework/View/Layout.php(569): Magento\Framework\View\Layout\Interceptor->renderElement(‘page.wrapper’)
#65 /home/devtoolscom/public_html/vendor/magento/framework/View/Layout.php(520): Magento\Framework\View\Layout->_renderContainer(‘backend.page’)
#66 /home/devtoolscom/public_html/var/generation/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement(‘backend.page’)
#67 /home/devtoolscom/public_html/vendor/magento/framework/View/Layout.php(472): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement(‘backend.page’)
#68 /home/devtoolscom/public_html/var/generation/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement(‘backend.page’, true)
#69 /home/devtoolscom/public_html/vendor/magento/framework/View/Layout.php(569): Magento\Framework\View\Layout\Interceptor->renderElement(‘backend.page’)
#70 /home/devtoolscom/public_html/vendor/magento/framework/View/Layout.php(520): Magento\Framework\View\Layout->_renderContainer(‘root’)
#71 /home/devtoolscom/public_html/var/generation/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement(‘root’)
#72 /home/devtoolscom/public_html/vendor/magento/framework/View/Layout.php(472): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement(‘root’)
#73 /home/devtoolscom/public_html/var/generation/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement(‘root’, true)
#74 /home/devtoolscom/public_html/vendor/magento/framework/View/Layout.php(938): Magento\Framework\View\Layout\Interceptor->renderElement(‘root’)
#75 /home/devtoolscom/public_html/var/generation/Magento/Framework/View/Layout/Interceptor.php(492): Magento\Framework\View\Layout->getOutput()
#76 /home/devtoolscom/public_html/vendor/magento/framework/View/Result/Page.php(241): Magento\Framework\View\Layout\Interceptor->getOutput()
#77 /home/devtoolscom/public_html/vendor/magento/framework/View/Result/Layout.php(162): Magento\Framework\View\Result\Page->render(Object(Magento\Framework\App\Response\Http\Interceptor))
#78 /home/devtoolscom/public_html/var/generation/Magento/Backend/Model/View/Result/Page/Interceptor.php(193): Magento\Framework\View\Result\Layout->renderResult(Object(Magento\Framework\App\Response\Http\Interceptor))
#79 /home/devtoolscom/public_html/vendor/magento/framework/App/Http.php(119): Magento\Backend\Model\View\Result\Page\Interceptor->renderResult(Object(Magento\Framework\App\Response\Http\Interceptor))
#80 /home/devtoolscom/public_html/vendor/magento/framework/App/Bootstrap.php(258): Magento\Framework\App\Http->launch()
#81 /home/devtoolscom/public_html/index.php(39): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http))
#82 {main}

2 answers

Profile photo of Admin Staff -30750.00 $tone June 16, 2016
Public

Our team did send a private reply to your question as it contained some confidential info of your site.
To help other users who might want to learn more on the issue, I add below a brief explaination to the page errors mentioned above.
We did detect that your Magento 2 database has set a CMS page with URL Key = ‘home’ that only applies for Store with store_id = 1
However your Magento 1 database has no default store with id = 1, and only one store with store_id = 4 exists. Then after migration completes, you have no store with store_id = 1 in the database which caused the issue.
We did change the store_id (in the ‘mgcp_cms_page_store’ table) from 1 to 0 (applies for all stores) and the issue was solved.
PS. To avoid possible conflict. make sure you have a fresh Magento 2 installation when using our UB Data Migration Pro tool.
Regards,
An Nguyen

#2

Please login or Register to Submit Answer

Written By

Comments