cancel
Showing results for 
Search instead for 
Did you mean: 

Broken layout XML LUMA CE2.4.6-p2

Broken layout XML LUMA CE2.4.6-p2

Broken layout XML files after installing Magento 2.4.6 on Ubuntu 22.04 Nginx, PHP 8.1.

 

domain: kiqlik.com

 

Looks all good in the front...

 

/var/www/html/2.4.6-p2$ cd /var/www/html/2.4.6-p2/var/log
deborah@webserver-magento-poc:/var/www/html/2.4.6-p2/var/log$ tail -f system.log
[2023-11-24T22:32:49.257513+00:00] main.INFO: Broken reference: the 'page.actions.toolbar' tries to reorder itself towards '', but their parents are different: 'page.main.actions' and '' respectively. [] []
[2023-11-24T22:32:49.257567+00:00] main.INFO: Broken reference: the 'header.inner.left' tries to reorder itself towards '', but their parents are different: 'header' and '' respectively. [] []
[2023-11-24T22:32:49.257609+00:00] main.INFO: Broken reference: the 'header.inner.right' tries to reorder itself towards 'header.inner.left', but their parents are different: 'header' and '' respectively. [] []
[2023-11-24T22:32:49.257660+00:00] main.INFO: Broken reference: the 'notification.messages' tries to reorder itself towards 'user', but their parents are different: 'header.inner.right' and '' respectively. [] []
[2023-11-24T22:45:07.852858+00:00] main.INFO: Broken reference: the 'catalog.compare.sidebar' element cannot be added as child to 'sidebar.additional', because the latter doesn't exist [] []
[2023-11-24T22:45:07.853074+00:00] main.INFO: Broken reference: the 'sale.reorder.sidebar' element cannot be added as child to 'sidebar.additional', because the latter doesn't exist [] []
[2023-11-24T22:45:07.853223+00:00] main.INFO: Broken reference: the 'wishlist_sidebar' element cannot be added as child to 'sidebar.additional', because the latter doesn't exist [] []
[2023-11-24T22:45:07.853285+00:00] main.INFO: Broken reference: the 'paypal.partner.right.logo' element cannot be added as child to 'sidebar.additional', because the latter doesn't exist [] []
[2023-11-24T22:45:07.853327+00:00] main.INFO: Broken reference: the 'bml.right.logo' element cannot be added as child to 'sidebar.additional', because the latter doesn't exist [] []
[2023-11-24T22:45:07.853367+00:00] main.INFO: Broken reference: the 'sidebar.container.paylater' element cannot be added as child to 'sidebar.additional', because the latter doesn't exist [] []

 

Tried:

php bin/magento setup:di:compile

php bin/magento indexer:reindex

php bin/magento cache:clean
php bin/magento cache:flush

php bin/magento setup:static-content:deploy -f



php bin/magento module:status

List of disabled modules:
Magento_OpenSearch
Magento_TwoFactorAuth

 

I am thinking it is a Luma problem?

 

2 REPLIES 2

Re: Broken layout XML LUMA CE2.4.6-p2

Hello @deborahsbe6c56 

 

Make sure to review your database. Within it, you'll find a database table named "theme" which retains records of all themes ever installed on your magento store. When inspecting this table, note that if a theme's type is designated as 1, Magento identifies it as virtual—though the exact implications may be unclear and ceases to load associated XML files. To rectify this, simply modify the type to 0.

 

 

Hope it helps !

If you find our reply helpful, please give us kudos.

 

A Leading Magento Development Agency That Delivers Powerful Results, Innovation, and Secure Digital Transformation.

 

WebDesk Solution Support Team

Get a Free Quote | | Adobe Commerce Partner | Hire Us | Call Us 877.536.3789

Thank You,


WebDesk Solution Support Team
Get a Free Quote | Email | Adobe Commerce Partner | Hire Us | Call Us 877.536.3789


Location: 150 King St. W. Toronto, ON M5H 1J9

Re: Broken layout XML LUMA CE2.4.6-p2

Hi there,

Thank you for the response.
Due to difficulties, I tryed a new install, I really need dashboards. I installed Opensearch folowing the requurements and confirmed the ssl is ok for ubuntu linux. I also have a loadbalancer on top of the instance which is private subnet with magento and os all together. Magento doesn't seem to find the nodes. I tried all I could for months. Now am stuck and kinda hopeless. Can you point me to directions? Chatgpt assistant has all tutorials but still cant solve it.

Thank you so much.