cancel
Showing results for 
Search instead for 
Did you mean: 

Error on Magento 2.2.5 every day "vendor/magento/framework/Data/Structure.php:611"

Error on Magento 2.2.5 every day "vendor/magento/framework/Data/Structure.php:611"

Hello everyone

First thing I'm sorry about my English is not so good

 

I have a problem in Magento 2.2.5
The exception.log file every day has gone wrong

2018-09-18 16:57:54] main.CRITICAL: The element 'head.additional' already has a child with alias 'subheader' {"exception":"[object] (Magento\\Framework\\Exception\\LocalizedException(code: 0): The element 'head.additional' already has a child with alias 'subheader' at /home/starpc7/public_html/vendor/magento/framework/Data/Structure.php:611)"} []
[2018-09-18 16:57:54] main.CRITICAL: The element 'head.additional' already has a child with alias 'addcss' {"exception":"[object] (Magento\\Framework\\Exception\\LocalizedException(code: 0): The element 'head.additional' already has a child with alias 'addcss' at /home/starpc7/public_html/vendor/magento/framework/Data/Structure.php:611)"} []
[2018-09-18 16:57:54] main.CRITICAL: The element 'before.body.end' already has a child with alias 'popup_block' {"exception":"[object] (Magento\\Framework\\Exception\\LocalizedException(code: 0): The element 'before.body.end' already has a child with alias 'popup_block' at /home/starpc7/public_html/vendor/magento/framework/Data/Structure.php:611)"} []
[2018-09-18 16:57:54] main.CRITICAL: Cannot read contents from file "/home/starpc7/public_html/pub/static/frontend/Meigee/blacknwhite_electronics_rtl/he_IL/mage/requirejs/mixins.min.js" Warning!file_get_contents(/home/starpc7/public_html/pub/static/frontend/Meigee/blacknwhite_electronics_rtl/he_IL/mage/requirejs/mixins.min.js): failed to open stream: No such file or directory {"exception":"[object] (Magento\\Framework\\Exception\\FileSystemException(code: 0): Cannot read contents from file \"/home/starpc7/public_html/pub/static/frontend/Meigee/blacknwhite_electronics_rtl/he_IL/mage/requirejs/mixins.min.js\" Warning!file_get_contents(/home/starpc7/public_html/pub/static/frontend/Meigee/blacknwhite_electronics_rtl/he_IL/mage/requirejs/mixins.min.js): failed to open stream: No such file or directory at /home/starpc7/public_html/vendor/magento/framework/Filesystem/Driver/File.php:149)"} []
[2018-09-18 16:59:41] main.CRITICAL: The element 'div.sidebar.additional' already has a child with alias 'facebook_sidebar' {"exception":"[object] (Magento\\Framework\\Exception\\LocalizedException(code: 0): The element 'div.sidebar.additional' already has a child with alias 'facebook_sidebar' at /home/starpc7/public_html/vendor/magento/framework/Data/Structure.php:611)"} []
[2018-09-18 16:59:41] main.CRITICAL: The element 'head.additional' already has a child with alias 'subheader' {"exception":"[object] (Magento\\Framework\\Exception\\LocalizedException(code: 0): The element 'head.additional' already has a child with alias 'subheader' at /home/starpc7/public_html/vendor/magento/framework/Data/Structure.php:611)"} []
[2018-09-18 16:59:41] main.CRITICAL: The element 'head.additional' already has a child with alias 'addcss' {"exception":"[object] (Magento\\Framework\\Exception\\LocalizedException(code: 0): The element 'head.additional' already has a child with alias 'addcss' at /home/starpc7/public_html/vendor/magento/framework/Data/Structure.php:611)"} []
[2018-09-18 16:59:41] main.CRITICAL: The element 'div.sidebar.additional' already has a child with alias 'facebook_sidebar' {"exception":"[object] (Magento\\Framework\\Exception\\LocalizedException(code: 0): The element 'div.sidebar.additional' already has a child with alias 'facebook_sidebar' at /home/starpc7/public_html/vendor/magento/framework/Data/Structure.php:611)"} []
[2018-09-18 16:59:41] main.CRITICAL: The element 'div.sidebar.additional' already has a child with alias 'facebook_sidebar' {"exception":"[object] (Magento\\Framework\\Exception\\LocalizedException(code: 0): The element 'div.sidebar.additional' already has a child with alias 'facebook_sidebar' at /home/starpc7/public_html/vendor/magento/framework/Data/Structure.php:611)"} []
[2018-09-18 16:59:41] main.CRITICAL: The element 'before.body.end' already has a child with alias 'popup_block' {"exception":"[object] (Magento\\Framework\\Exception\\LocalizedException(code: 0): The element 'before.body.end' already has a child with alias 'popup_block' at /home/starpc7/public_html/vendor/magento/framework/Data/Structure.php:611)"} []
[2018-09-18 16:59:43] main.CRITICAL: Cannot read contents from file "/home/starpc7/public_html/pub/static/frontend/Meigee/blacknwhite_electronics_rtl/he_IL/mage/requirejs/mixins.min.js" Warning!file_get_contents(/home/starpc7/public_html/pub/static/frontend/Meigee/blacknwhite_electronics_rtl/he_IL/mage/requirejs/mixins.min.js): failed to open stream: No such file or directory {"exception":"[object] (Magento\\Framework\\Exception\\FileSystemException(code: 0): Cannot read contents from file \"/home/starpc7/public_html/pub/static/frontend/Meigee/blacknwhite_electronics_rtl/he_IL/mage/requirejs/mixins.min.js\" Warning!file_get_contents(/home/starpc7/public_html/pub/static/frontend/Meigee/blacknwhite_electronics_rtl/he_IL/mage/requirejs/mixins.min.js): failed to open stream: No such file or directory at /home/starpc7/public_html/vendor/magento/framework/Filesystem/Driver/File.php:149)"} []
[2018-09-18 16:59:51] main.CRITICAL: The element 'div.sidebar.additional' already has a child with alias 'facebook_sidebar' {"exception":"[object] (Magento\\Framework\\Exception\\LocalizedException(code: 0): The element 'div.sidebar.additional' already has a child with alias 'facebook_sidebar' at /home/starpc7/public_html/vendor/magento/framework/Data/Structure.php:611)"} []
[2018-09-18 16:59:51] main.CRITICAL: The element 'head.additional' already has a child with alias 'subheader' {"exception":"[object] (Magento\\Framework\\Exception\\LocalizedException(code: 0): The element 'head.additional' already has a child with alias 'subheader' at /home/starpc7/public_html/vendor/magento/framework/Data/Structure.php:611)"} []
[2018-09-18 16:59:51] main.CRITICAL: The element 'head.additional' already has a child with alias 'addcss' {"exception":"[object] (Magento\\Framework\\Exception\\LocalizedException(code: 0): The element 'head.additional' already has a child with alias 'addcss' at /home/starpc7/public_html/vendor/magento/framework/Data/Structure.php:611)"} []

What could it be? What am I doing wrong?
And how can it be fixed?


Every answer is welcome


Thanks in advance


Vidal

2 REPLIES 2

Re: Error on Magento 2.2.5 every day "vendor/magento/framework/Data/Structure.php:611"

Hello @enigma86

 

Issue it's coming from layout called XML files.

 

Refer below link for your solution, solution is already explained very well on this, so it might help to you

 

https://magento.stackexchange.com/questions/158653/help-reading-log-file-exception-log-file-in-magen...

 

Shared link will not exactly help you but you will get an idea with that.

 

Manish Mittal
https://www.manishmittal.com/

Re: Error on Magento 2.2.5 every day "vendor/magento/framework/Data/Structure.php:611"

Hello @Manish Mittal

Thank you very much for your response

 

I checked the link, and it did not really help me
My problem is from scratch

 

Maybe it's because Add to Cart also does not work for me after moving to a new server?


Thanks in advance