AEM side panel not loading in Page Editor prevents authoring new components
Adobe Experience Manager (AEM) Page Editor may fail to load the side panel when required DOM elements aren’t available when the component browser renders, potentially because of custom or third-party client libraries or UI customizations. To resolve the issue, review and temporarily disable recent clientlib or UI changes, refresh the affected pages, and verify that the side panel loads correctly.
Description description
Environment
- Adobe Experience Manager (AEM) Page Editor
- Any Author environment, including Production
Issue/Symptoms
- The side panel in the AEM Page Editor doesn’t load.
- Authors can’t add new components or view the content tree.
- The browser console displays a JavaScript error such as: Cannot read properties of undefined (reading ‘querySelector’)
Root cause
The issue typically results from a timing problem where the DOM elements required by the side panel aren’t available when the component browser attempts to render. Custom or third-party client libraries or recent UI customizations may interfere with the side panel loading sequence.
Resolution resolution
Follow the steps below to resolve the issue:
- Review recent changes to client libraries (
clientlibs) or UI customizations in the AEM environment, especially changes that affect the Page Editor or authoring interface. - Temporarily disable or revert recently added or updated clientlibs or UI features to determine whether one of them causes the issue. Pay particular attention to third-party scripts or custom code that may manipulate the DOM or change the script loading order.
- After reverting or disabling a suspected change, refresh the affected Author pages to reload the side panel and component browser.
- Verify that the side panel loads correctly and that you can add new components as expected.
- If the issue persists, continue reviewing and testing other recent changes until the issue is resolved.
- After resolving the issue, monitor for recurrence following future deployments or customizations.
recommendation-more-help
experience-cloud-kcs-help-kbarticles