Ok, guys. There is no bug here ) Really. There are two reasons, why
you all see such a logs.
Reason 1 People keep forgetting remove "before" and "after" attributes
for blocks which have been moved to another parent, so those are no
longer relevant. Internal ticket in progress MAGETWO-53410 and we will
clean up legacy references soon.
Reason 2 As an example, let's take Such references mostly (if not all) reside
in default.xml files (so will be applied to all pages without
exclusions), while the container "sidebar.additional” is added by
2columns-left.xml layout only. So, on pages where different page
layout is used, the reference will lead to nowhere, and you will see
CRITICAL error logged (while it is not critical at all).
The tricky thing is that sometimes that could be a normal case and
developer understands why it happens (if want to add a block to
specific container to all pages on which target container available,
and don’t need that block to be added to the pages where target
container is not available).
Short excerpt from internal ticket description: "Stop logging such
cases at all, or at least stop marking them as CRITICAL (ensure that
it’s not logged in production mode). Also it will be helpful if logged
message will say the URL of the page where target container is
missed".
So, as you see, we still think that logging such "broken" references
is a right thing to do, since some of them are really could be caused
by misspells in layout files.
I reckon there was a lot of errors like this in the logs in the early stable releases as you can see from those two issues:
So if you wanna get rid of them, I reckon you should update to the last version. Seems like Magento fixed it in the develop
branch but I'm not sure if the bug fixes are part of 2.0.8/2.1.1 already.
Best Answer
If you have the "review" module disabled.
Enable it, only fix for now.