How to fix "Cannot read properties of undefined (reading 'registerLayer')" in Authoring? | Community
Skip to main content
New Participant
November 20, 2024

How to fix "Cannot read properties of undefined (reading 'registerLayer')" in Authoring?

  • November 20, 2024
  • 4 replies
  • 5691 views
While authoring in 'Adobe Experience Manager 2024.9.17689.20240905T073330Z-240800' cloud, it's giving 'Uncaught TypeError: Cannot read properties of undefined (reading 'registerLayer')'.
The error is getting in touch-ui authoring js(Click attach images). How should I solve it?
 
 

4 replies

gkalyan
New Participant
December 1, 2024

@rosudel 

Are LayerManager and msm.Layer objects are correctly initialized before calling registerLayer
kautuk_sahni
Employee
November 26, 2024

@rosudel Did you find the suggestions helpful? Please let us know if you require more information. Otherwise, please mark the answer as correct for posterity. If you've discovered a solution yourself, we would appreciate it if you could share it with the community. Thank you!

Kautuk Sahni
Tethich
New Participant
November 20, 2024

Hi @rosudel 

I would look in the basecode for any custom clietlib that might extend core functionality by using one of the AEM's clientlib categories, like cq.authoring.editor.* or granite.ui.*. Maybe you have some clientlib that interferes with ootb clientlibs abdbreaks something.

PRATHYUSHA_VP
New Participant
November 20, 2024

Hi @rosudel 

 

Any custom script written for aem dialog authoring ?

 

Thanks