Skip to content

Broken reference errors piling up logs #26504

Closed
@Zyles

Description

@Zyles

Logs becoming bloated and Sentry going crazy with broken reference errors.

$ cat var/log/system.log | grep "Broken reference"
[2020-01-23 03:32:33] .WARNING: Broken reference: The element with the "category.view.container" ID wasn't found. Verify the ID and try again. [] []
[2020-01-23 03:32:39] .WARNING: Broken reference: The element with the "category.view.container" ID wasn't found. Verify the ID and try again. [] []
[2020-01-23 03:33:44] .WARNING: Broken reference: The element with the "category.view.container" ID wasn't found. Verify the ID and try again. [] []
[2020-01-23 03:33:45] .WARNING: Broken reference: The element with the "category.view.container" ID wasn't found. Verify the ID and try again. [] []
[2020-01-23 03:35:56] .WARNING: Broken reference: The element with the "category.view.container" ID wasn't found. Verify the ID and try again. [] []
[2020-01-23 03:37:41] .WARNING: Broken reference: The element with the "category.view.container" ID wasn't found. Verify the ID and try again. [] []
[2020-01-23 03:38:48] .WARNING: Broken reference: The element with the "category.view.container" ID wasn't found. Verify the ID and try again. [] []
[2020-01-23 03:41:30] .WARNING: Broken reference: The element with the "category.view.container" ID wasn't found. Verify the ID and try again. [] []
[2020-01-23 03:41:32] .WARNING: Broken reference: The element with the "category.view.container" ID wasn't found. Verify the ID and try again. [] []
[2020-01-23 03:42:48] .WARNING: Broken reference: The element with the "category.view.container" ID wasn't found. Verify the ID and try again. [] []
[2020-01-23 03:42:50] .WARNING: Broken reference: The element with the "category.view.container" ID wasn't found. Verify the ID and try again. [] []
[2020-01-23 03:42:51] .WARNING: Broken reference: The element with the "category.view.container" ID wasn't found. Verify the ID and try again. [] []
[2020-01-23 03:42:52] .WARNING: Broken reference: The element with the "category.view.container" ID wasn't found. Verify the ID and try again. [] []
[2020-01-23 03:43:05] .WARNING: Broken reference: The element with the "category.view.container" ID wasn't found. Verify the ID and try again. [] []
[2020-01-23 03:43:07] .WARNING: Broken reference: The element with the "category.view.container" ID wasn't found. Verify the ID and try again. [] []
[2020-01-23 03:43:15] .WARNING: Broken reference: The element with the "category.view.container" ID wasn't found. Verify the ID and try again. [] []
[2020-01-23 03:43:17] .WARNING: Broken reference: The element with the "category.view.container" ID wasn't found. Verify the ID and try again. [] []
[2020-01-23 03:43:29] .WARNING: Broken reference: The element with the "category.view.container" ID wasn't found. Verify the ID and try again. [] []
[2020-01-23 03:43:45] .WARNING: Broken reference: The element with the "category.view.container" ID wasn't found. Verify the ID and try again. [] []
[2020-01-23 03:44:26] .WARNING: Broken reference: The element with the "category.view.container" ID wasn't found. Verify the ID and try again. [] []
[2020-01-23 03:44:28] .WARNING: Broken reference: The element with the "category.view.container" ID wasn't found. Verify the ID and try again. [] []
[2020-01-23 03:44:46] .WARNING: Broken reference: The element with the "category.view.container" ID wasn't found. Verify the ID and try again. [] []
[2020-01-23 03:45:01] .WARNING: Broken reference: The element with the "category.view.container" ID wasn't found. Verify the ID and try again. [] []
[2020-01-23 03:45:03] .WARNING: Broken reference: The element with the "category.view.container" ID wasn't found. Verify the ID and try again. [] []
[2020-01-23 03:46:15] .WARNING: Broken reference: The element with the "category.view.container" ID wasn't found. Verify the ID and try again. [] []
[2020-01-23 03:46:25] .WARNING: Broken reference: The element with the "category.view.container" ID wasn't found. Verify the ID and try again. [] []
[2020-01-23 03:47:41] .WARNING: Broken reference: The element with the "category.view.container" ID wasn't found. Verify the ID and try again. [] []
[2020-01-23 03:47:56] .WARNING: Broken reference: The element with the "category.view.container" ID wasn't found. Verify the ID and try again. [] []
[2020-01-23 03:49:35] .WARNING: Broken reference: The element with the "category.view.container" ID wasn't found. Verify the ID and try again. [] []
[2020-01-23 03:49:37] .WARNING: Broken reference: The element with the "category.view.container" ID wasn't found. Verify the ID and try again. [] []

The only occurance of changing "category.view.container." is in our theme:

app/design/frontend/Theme/theme/Magento_Theme/layout/default.xml:
<move element="content.top" destination="category.view.container" />

Preconditions (*)

  1. Magento 2.3.3 & 2.4-develop
  2. Custom theme extended from Luma

Steps to reproduce (*)

  1. Extend luma theme
  2. Move the container:
app/design/frontend/Theme/theme/Magento_Theme/layout/default.xml:
<move element="content.top" destination="category.view.container" />
  1. Browse website etc. and check logs after a while

Expected result (*)

Stop bloating the logs.

Actual result (*)

Bloating of logs with useless errors.

Metadata

Metadata

Assignees

Labels

Component: ThemeFixed in 2.4.xThe issue has been fixed in 2.4-develop branchIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentPriority: P3May be fixed according to the position in the backlog.Progress: doneReported on 2.3.3Indicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branchSeverity: S3Affects non-critical data or functionality and does not force users to employ a workaround.Triage: Dev.ExperienceIssue related to Developer Experience and needs help with Triage to Confirm or Reject itTriage: DoneHas been reviewed and prioritized during Triage with Product Managers

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions