-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
main.CRITICAL: Broken reference (Magento CE v2.1) #5627
Comments
Same issue(s) here. Magento 2.0.x had same issues as well. |
Same here with 2.1.1 |
Same issue(s) with 2.1.2. Similar log appear after i added product to cart:
In Chrome, 'Add to cart' button always stopped at 'Adding..', and products didn't appear in cart. In Firefox the cart functionality still working. |
I guess this will be broken for a while in entire 2.1.x stack. |
Same issue here. This happens when rendering catalog_product_view:
and this happens when adding a product to cart (then it remains stuck on "Adding...")
|
I found that the problem is related to cookies usage on website with domain name less than 2 dots, e.g localhost. It's explained here: So I followed the solution:
Now product cart works in all browsers, no more broken reference logs. Hope this helps, thanks. |
I'm working on a server but can't use the official domain yet, so the base url is now something like http://00.00.00.00/~name. If 127.0.0.1 works better with cookies, then anything outside the canonical IP or www.website.com breaks the cookies? |
is there a way to fix it ? It's breaking my shopping process |
@converge can you share what exactly broken in your shopping process? I see there are two issues described:
|
@maksek sorry, I had to delete all my m2 project and start again in m1.9 , dont have the project anymore. |
Is there any update on this? |
[2017-01-26 02:26:58] main.INFO: Cache file with merged layout: LAYOUT_frontend_STORE8_4e13260053f56644d576f1e487266f9a1 and handles default, checkout_cart_index: Please correct the XML data and try again. [] [] [2017-01-26 02:26:59] main.INFO: Cache file with merged layout: LAYOUT_frontend_STORE8_40a98983867a1770682b48d9a0ad63441 and handles 1column: Please correct the XML data and try again. [] [] [2017-01-26 02:26:59] main.CRITICAL: Broken reference: the 'catalog.compare.sidebar' element cannot be added as child to 'sidebar.additional', because the latter doesn't exist [] [] [2017-01-26 02:26:59] main.CRITICAL: Broken reference: the 'sale.reorder.sidebar' element cannot be added as child to 'sidebar.additional', because the latter doesn't exist [] [] [2017-01-26 02:26:59] main.CRITICAL: Broken reference: the 'wishlist_sidebar' element cannot be added as child to 'sidebar.additional', because the latter doesn't exist [] [] [2017-01-26 02:26:59] main.CRITICAL: Broken reference: the 'checkout.cart.item.renderers.gift-card.actions.gift_options' element cannot be added as child to 'checkout.cart.item.renderers.gift-card.actions', because the latter doesn't exist [] [] [2017-01-26 02:26:59] main.CRITICAL: Broken reference: the 'checkout.cart.item.renderers.gift-card.actions.gift_options' tries to reorder itself towards '', but their parents are different: 'checkout.cart.item.renderers.gift-card.actions' and '' respectively. [] [] [2017-01-26 02:26:59] main.INFO: Cache file with merged layout: LAYOUT_frontend_STORE8_46f1b068ec7ccf4878f9284dd1137afd1 and handles /catalog_product_prices: Please correct the XML data and try again. [] [] Magento 2.1.3 - Developer mode. Having strange behaviour with minicart dropdown not being initialized. Don't know if it's related. |
the last update about it is: no one cares! go back to Magento 1.9 |
Thanks for report, its known issue |
Always worked like that within my recollection... There is a mechanism implemented by me to solve this problem: https://github.com/magento/magento2/blob/develop/dev/tests/integration/framework/Magento/TestFramework/ErrorLog/Listener.php#L93 So, all you need to solve this problem once and for all is:
|
- Changed log level from critical to info
Changed log level from critical to info by PR: #9092 |
Internal ticket to track issue progress: MAGETWO-67523 |
The following system.log entries appear in Developer Mode
@piotrekkaminski unfortunately this does not seem to be fixed in CE 2.1 per #3507 (which has been closed), so I have created a new issue.
Installation following devdocs instructions for composer and cli install. vcl for varnish 4 generated through Magento Admin. Following install 'php bin/magento indexer:reindex' was run.
Developer Mode File Permissions: (nginx is member of www-data group)
Setup: Nginx (443) --> Varnish 4 --> Nginx --> Magento CE v2.1
Home: First page load after cache flush
Home: Subsequent page refresh (Ctrl + F5)
Privacy and Cookie Policy: First page load after cache flush
Privacy and Cookie Policy: Subsequent page refresh (Ctrl + F5)
Orders and Returns: First page load
Order and Returns: Subsequent page refresh (Ctrl + F5)
Search Terms: First page load after cache flush
Search Terms: Subsequent page refreshes (Ctrl + F5)
Contact Us: First page load after cache flush
Contact Us: Subsequent page refreshes (Ctrl + F5)
Advance Search: First page load after cache flush
Advanced Search: 1st page refresh (Ctrl + F5)
Advance Search: 2nd...n page refreshes (Ctrl + F5)
Thanks
The text was updated successfully, but these errors were encountered: