Expand my Community achievements bar.

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

Avatar

Level 2
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?
 
 
Topics

Topics help categorize Community content and increase your ability to discover relevant content.

4 Replies

Avatar

Level 5

Hi @rosudel 

 

Any custom script written for aem dialog authoring ?

 

Thanks

Avatar

Level 8

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.

Avatar

Administrator

@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

Avatar

Community Advisor

@rosudel 

Are LayerManager and msm.Layer objects are correctly initialized before calling registerLayer