cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 2.3.4 product shows a blank page after migration process

SOLVED
Highlighted

Magento 2.3.4 product shows a blank page after migration process

After migrating from Magento 1.9.3 to Magento 2.3.4 I can see a blank product page.

 

For the solution, after checking that when product is saved from admin side I am then able to see product page and visible.

 

Another one I can see that ,

 

1 exception(s): Exception #0 (Magento\Framework\Config\Dom\ValidationException): Element 'reference': This element is not expected.

 

Is this any layout issue occurs this problem or image issue is making this error ?

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Re: Magento 2.3.4 product shows a blank page after migration process

Hi @radiantweb ,

 

This issue is related to the layout XML file. In layout XML you have used reference tag which is not acceptable in magento 2.

 

Please check below link:

https://magento.stackexchange.com/questions/217172/how-do-i-fix-this-error-element-reference-this-el...

 

Thanks!

-----------

Problem Solved! Click Kudos & Accept as Solution.

View solution in original post

13 REPLIES 13
Highlighted

Re: Magento 2.3.4 product shows a blank page after migration process

Hi @radiantweb ,

 

This issue is related to the layout XML file. In layout XML you have used reference tag which is not acceptable in magento 2.

 

Please check below link:

https://magento.stackexchange.com/questions/217172/how-do-i-fix-this-error-element-reference-this-el...

 

Thanks!

-----------

Problem Solved! Click Kudos & Accept as Solution.

View solution in original post

Highlighted

Re: Magento 2.3.4 product shows a blank page after migration process

Hello Nishu Jindal, 

 

From Provided link i have first searched in files in magento directory but in files I could not find with word <reference. 

Then I started finding same word in database then I found much records with reference text in database table catalog_product_entity_text with layout update xml having this code. 

I removed from my local machine but nothing happen. 

Highlighted

Re: Magento 2.3.4 product shows a blank page after migration process

Hi @radiantweb ,

 

Please flush magento cache and check.

php bin/magento cache:flush

 

If you still face issue, then try reindexing using below command

php bin/magento indexer:reindex

php bin/magento cache:flush

 

Please let me know if we still face issue.

 

Thanks!

Problem Solved!Click Kudos & Accept as Solution. 

Re: Magento 2.3.4 product shows a blank page after migration process

Hello Nishu Jindal,

 

Thank you for reply again. 

 

I have checked running bin/magento cache:flush command after deleting database entries but nothing happen.

 

For indexing If i will run bin/magento indexer:reindex command it will run about 72 hours to complete the indexing process. 

So is there something that i am missing ?

 

Also to be noticed, on accessing blank product page I am getting some Broken Reference errors too from system.log. 

 

Somewhat like: 

 

main.INFO: Broken reference: the 'catalog.compare.sidebar' element cannot be added as child to 'sidebar.additional', because the latter doesn't exist [] []
main.INFO: Broken reference: the 'sale.reorder.sidebar' element cannot be added as child to 'sidebar.additional', because the latter doesn't exist [] []
main.INFO: Broken reference: the 'wishlist_sidebar' element cannot be added as child to 'sidebar.additional', because the latter doesn't exist [] []
main.INFO: Broken reference: the 'product-custom-text' element cannot be added as child to 'product-static-text', because the latter doesn't exist [] []
main.INFO: Broken reference: the 'yotpo_bottomline' tries to reorder itself towards 'product.info.addto', but their parents are different: 'product.info.main' and 'product.info.social' respectively. [] []
main.INFO: Broken reference: the 'skip_gallery_before' tries to reorder itself towards 'product.info.media.image', but their parents are different: 'skip_gallery_before.wrapper' and 'product.info.media' respectively. [] []
main.INFO: Broken reference: the 'skip_gallery_after' tries to reorder itself towards 'product.info.media.image', but their parents are different: 'skip_gallery_after.wrapper' and 'product.info.media' respectively. [] []
main.INFO: Broken reference: the 'shipping-estimation-configurable' tries to reorder itself towards 'product.info.options.configurable', but their parents are different: 'product.info.options.wrapper' and '' respectively. [] []
main.INFO: Broken reference: the 'header-sections' element cannot be added as child to 'header-container-inner', because the latter doesn't exist [] []
main.INFO: Broken reference: the 'header-panel-container' element cannot be added as child to 'header.panel', because the latter doesn't exist [] []
main.INFO: Broken reference: the 'header-sections' tries to reorder itself towards '', but their parents are different: 'header-container-inner' and '' respectively. [] []
main.INFO: Broken reference: the 'header-sections' element cannot be added as child to 'header-container-inner', because the latter doesn't exist [] []
main.INFO: Broken reference: the 'header-panel-container' element cannot be added as child to 'header.panel', because the latter doesn't exist [] []
main.INFO: Broken reference: the 'header-sections' tries to reorder itself towards '', but their parents are different: 'header-container-inner' and '' respectively. [] []
main.INFO: Broken reference: the 'header-sections' element cannot be added as child to 'header-container-inner', because the latter doesn't exist [] []
main.INFO: Broken reference: the 'header-panel-container' element cannot be added as child to 'header.panel', because the latter doesn't exist [] []
main.INFO: Broken reference: the 'header-sections' tries to reorder itself towards '', but their parents are different: 'header-container-inner' and '' respectively. [] []
main.INFO: Broken reference: the 'header-sections' element cannot be added as child to 'header-container-inner', because the latter doesn't exist [] []
main.INFO: Broken reference: the 'header-panel-container' element cannot be added as child to 'header.panel', because the latter doesn't exist [] []
main.INFO: Broken reference: the 'header-sections' tries to reorder itself towards '', but their parents are different: 'header-container-inner' and '' respectively. [] []
main.INFO: Broken reference: the 'header-sections' element cannot be added as child to 'header-container-inner', because the latter doesn't exist [] []
main.INFO: Broken reference: the 'header-panel-container' element cannot be added as child to 'header.panel', because the latter doesn't exist [] []
main.INFO: Broken reference: the 'header-sections' tries to reorder itself towards '', but their parents are different: 'header-container-inner' and '' respectively. [] []
main.INFO: Broken reference: the 'header-sections' element cannot be added as child to 'header-container-inner', because the latter doesn't exist [] []
main.INFO: Broken reference: the 'header-panel-container' element cannot be added as child to 'header.panel', because the latter doesn't exist [] []
main.INFO: Broken reference: the 'header-sections' tries to reorder itself towards '', but their parents are different: 'header-container-inner' and '' respectively. [] []
main.INFO: Broken reference: the 'header-sections' element cannot be added as child to 'header-container-inner', because the latter doesn't exist [] []
main.INFO: Broken reference: the 'header-panel-container' element cannot be added as child to 'header.panel', because the latter doesn't exist [] []
main.INFO: Broken reference: the 'header-sections' tries to reorder itself towards '', but their parents are different: 'header-container-inner' and '' respectively. [] []
main.INFO: Broken reference: the 'header-container-inner' element cannot be added as child to 'header.container', because the latter doesn't exist [] []
main.INFO: Broken reference: the 'header.panel.wrapper' element cannot be added as child to 'header.container', because the latter doesn't exist [] []
main.INFO: Broken reference: the 'head.components' element cannot be added as child to 'after.body.start', because the latter doesn't exist [] []
main.INFO: Broken reference: the 'requirejs-config' element cannot be added as child to 'after.body.start', because the latter doesn't exist [] []
main.INFO: Broken reference: the 'js_cookies' element cannot be added as child to 'after.body.start', because the latter doesn't exist [] []
main.INFO: Broken reference: the 'global_notices' element cannot be added as child to 'after.body.start', because the latter doesn't exist [] []
main.INFO: Broken reference: the 'skip_to_content.target' element cannot be added as child to 'main.content', because the latter doesn't exist [] []
main.INFO: Broken reference: the 'header-wrapper' element cannot be added as child to 'header.container', because the latter doesn't exist [] []
main.INFO: Broken reference: the 'navigation.sections' element cannot be added as child to 'page.top', because the latter doesn't exist [] []
main.INFO: Broken reference: the 'top.container' element cannot be added as child to 'page.top', because the latter doesn't exist [] []
main.INFO: Broken reference: the 'breadcrumbs' element cannot be added as child to 'page.top', because the latter doesn't exist [] []
main.INFO: Broken reference: the 'page.main.title' element cannot be added as child to 'columns.top', because the latter doesn't exist [] []
main.INFO: Broken reference: the 'page.messages' element cannot be added as child to 'columns.top', because the latter doesn't exist [] []
main.INFO: Broken reference: the 'content.top' element cannot be added as child to 'main', because the latter doesn't exist [] []
main.INFO: Broken reference: the 'content' element cannot be added as child to 'main', because the latter doesn't exist [] []
main.INFO: Broken reference: the 'content.aside' element cannot be added as child to 'main', because the latter doesn't exist [] []
main.INFO: Broken reference: the 'content.bottom' element cannot be added as child to 'main', because the latter doesn't exist [] []
main.INFO: Broken reference: the 'page.bottom' element cannot be added as child to 'page.bottom.container', because the latter doesn't exist [] []
main.INFO: Broken reference: the 'footer' element cannot be added as child to 'footer-container', because the latter doesn't exist [] []
main.INFO: Broken reference: the 'absolute_footer' element cannot be added as child to 'before.body.end', because the latter doesn't exist [] []
main.INFO: Broken reference: the 'frontend-storage-manager' element cannot be added as child to 'before.body.end', because the latter doesn't exist [] []
main.INFO: Broken reference: the 'catalog.compare.sidebar' element cannot be added as child to 'sidebar.additional', because the latter doesn't exist [] []
main.INFO: Broken reference: the 'sale.reorder.sidebar' element cannot be added as child to 'sidebar.additional', because the latter doesn't exist [] []
main.INFO: Broken reference: the 'codazon_minicartpro' element cannot be added as child to 'before.body.end', because the latter doesn't exist [] []
main.INFO: Broken reference: the 'cookie_notices' element cannot be added as child to 'after.body.start', because the latter doesn't exist [] []
main.INFO: Broken reference: the 'cookie_config' element cannot be added as child to 'after.body.start', because the latter doesn't exist [] []
main.INFO: Broken reference: the 'logger' element cannot be added as child to 'after.body.start', because the latter doesn't exist [] []
main.INFO: Broken reference: the 'theme.active.editor' element cannot be added as child to 'after.body.start', because the latter doesn't exist [] []
main.INFO: Broken reference: the 'google.gtag.cart' element cannot be added as child to 'after.body.start', because the latter doesn't exist [] []
main.INFO: Broken reference: the 'paypal.express-in-context.component' element cannot be added as child to 'after.body.start', because the latter doesn't exist [] []
main.INFO: Broken reference: the 'wishlist_sidebar' element cannot be added as child to 'sidebar.additional', because the latter doesn't exist [] []
main.INFO: Broken reference: the 'after.body.start_schedule_block0' element cannot be added as child to 'after.body.start', because the latter doesn't exist [] []
main.INFO: Broken reference: the 'emailCapture' element cannot be added as child to 'before.body.end', because the latter doesn't exist [] []
main.INFO: Broken reference: the 'ddg.checkout.tag' element cannot be added as child to 'after.body.start', because the latter doesn't exist [] []
main.INFO: Broken reference: the 'ddg.chat.tag' element cannot be added as child to 'before.body.end', because the latter doesn't exist [] []
main.INFO: Broken reference: the 'mobi-toolbar-bottom' element cannot be added as child to 'before.body.end', because the latter doesn't exist [] []
main.INFO: Broken reference: the 'cdz-newsletter-popup' element cannot be added as child to 'before.body.end', because the latter doesn't exist [] []
main.INFO: Broken reference: the 'mobi-vertcial-menu-container' element cannot be added as child to 'page.top', because the latter doesn't exist [] []
main.INFO: Broken reference: the 'theme-layout-config' element cannot be added as child to 'before.body.end', because the latter doesn't exist [] []
main.INFO: Broken reference: the 'category.search' element cannot be added as child to 'before.body.end', because the latter doesn't exist [] []
main.INFO: Broken reference: the 'google.gtag.product' element cannot be added as child to 'before.body.end', because the latter doesn't exist [] []
main.INFO: Broken reference: the 'googleoptimizer.experiment.script' element cannot be added as child to 'after.body.start', because the latter doesn't exist [] []
main.INFO: Broken reference: the 'product-custom-text' element cannot be added as child to 'product-static-text', because the latter doesn't exist [] []
main.INFO: Broken reference: the 'header.panel.wrapper' tries to reorder itself towards '', but their parents are different: 'header.container' and '' respectively. [] []
main.INFO: Broken reference: the 'skip_to_content.target' tries to reorder itself towards '', but their parents are different: 'main.content' and '' respectively. [] []
main.INFO: Broken reference: the 'navigation.sections' tries to reorder itself towards '', but their parents are different: 'page.top' and '' respectively. [] []
main.INFO: Broken reference: the 'frontend-storage-manager' tries to reorder itself towards '', but their parents are different: 'before.body.end' and '' respectively. [] []
main.INFO: Broken reference: the 'codazon_minicartpro' tries to reorder itself towards '', but their parents are different: 'before.body.end' and '' respectively. [] []
main.INFO: Broken reference: the 'yotpo_bottomline' tries to reorder itself towards 'product.info.addto', but their parents are different: 'product.info.main' and 'product.info.social' respectively. [] []
main.INFO: Broken reference: the 'mobi-vertcial-menu-container' tries to reorder itself towards '', but their parents are different: 'page.top' and '' respectively. [] []
main.INFO: Broken reference: the 'theme-layout-config' tries to reorder itself towards '', but their parents are different: 'before.body.end' and '' respectively. [] []
main.INFO: Broken reference: the 'skip_gallery_before' tries to reorder itself towards 'product.info.media.image', but their parents are different: 'skip_gallery_before.wrapper' and 'product.info.media' respectively. [] []
main.INFO: Broken reference: the 'skip_gallery_after' tries to reorder itself towards 'product.info.media.image', but their parents are different: 'skip_gallery_after.wrapper' and 'product.info.media' respectively. [] []
main.INFO: Broken reference: the 'googleoptimizer.experiment.script' tries to reorder itself towards '', but their parents are different: 'after.body.start' and '' respectively. [] []
main.INFO: Broken reference: the 'shipping-estimation-configurable' tries to reorder itself towards 'product.info.options.configurable', but their parents are different: 'product.info.options.wrapper' and '' respectively. [] []
main.WARNING: Broken reference: The element with the "main" ID wasn't found. Verify the ID and try again. [] []
main.WARNING: Broken reference: The element with the "before.body.end" ID wasn't found. Verify the ID and try again. [] []
main.WARNING: Broken reference: The element with the "before.body.end" ID wasn't found. Verify the ID and try again. [] []
main.WARNING: Broken reference: The element with the "footer-container" ID wasn't found. Verify the ID and try again. [] []
main.ERROR: Unable to resolve the source file for 'frontend/Codazon/unlimited_default/en_US/mageTranslationDictionary.js' [] []
main.ERROR: Unable to resolve the source file for 'frontend/Codazon/unlimited_default/en_US/jquery-ui-modules/widget.js' [] []
main.CRITICAL: Unable to resolve the source file for 'frontend/Codazon/unlimited_default/en_US/mageTranslationDictionary.js' [] []
main.CRITICAL: Unable to resolve the source file for 'frontend/Codazon/unlimited_default/en_US/jquery-ui-modules/widget.js' [] []
main.ERROR: Unable to resolve the source file for 'frontend/Codazon/unlimited_default/en_US/text.js' [] []
main.CRITICAL: Unable to resolve the source file for 'frontend/Codazon/unlimited_default/en_US/text.js' [] []

Highlighted

Re: Magento 2.3.4 product shows a blank page after migration process

Hi @radiantweb ,

 

if your reindexing is taking much time. can you please try running reindex for 

catalog_product_attribute only. 

 

 

Thanks!

------------------------------------------------------------------------

Problem Solved! Click Kudos & Accept As Solution!

Highlighted

Re: Magento 2.3.4 product shows a blank page after migration process

Hi @radiantweb,

 

You could use this command in order to show what is the issue that you're facing. 

 

php bin/magento deploy:mode:set developer

However, I think that you have some attributes in table eav_attribute that don't have the right frontend_input. 

 

Hope it helps! Let me know if you need further assistance. 

 

_____________

If issue solved, Click Kudos & Accept as Solution.

Marcus | LitExtension Expert
Shopping Cart Migration Service
Highlighted

Re: Magento 2.3.4 product shows a blank page after migration process

Hi Ross,

 

As you stated for eav_attribute frontend_input is not right if this would possible then after saving of product also could not show product on frontend.

 

 

Highlighted

Re: Magento 2.3.4 product shows a blank page after migration process


@radiantweb wrote:

Hi Ross,

 

As you stated for eav_attribute f Kodi rontend_input is not right if this would possible then after saving of product also could not show product on frontend.

 

 


 Broken reference: t nox he 'catalog.compare.sidebar' element cannot be added as child to 'sidebar.additional', because the latter doesn't exist [] []
main.INFO: Broken reference: the 'sale.reorder.sidebar' element cannot be added as child to 'sidebar.additional', because the latter doesn't exist [] []
main.INFO: Broken reference: the 'wishlist_sidebar' element cannot be added as child to 'sidebar.additional', because the latter doesn't exist [] []

Highlighted

Re: Magento 2.3.4 product shows a blank page after migration process

Thank you Nishu for your link,

 

Finally this is solved. I checked for the attribute for page_layout and made it NULL by running mysql query for that perticular product attribute. Then checked for the product page and running.

 

Now the issue is different images I have copied from Magento 1.9 to Magento 2.0 in pub/media folder not shown in product view page. I can see images in category list page. Can you suggest a better solution for that. 

 

I have checked that catalog_product_entity_media_gallery_value_to_entity is missing entity id. How to overcome this issue ? Please suggest.