$CQ is not defined in <div class="target parbase"> after update AEM 6.3-6.5

arturl43391132

23-04-2020

Hello, Adobe Community

 

We're in the process of migration AEM from 6.3 to 6.5. We've made first steps and now we have the problem with loading pages which have target areas:

arturl43391132_0-1587645443572.png

And the error is: Uncaught ReferenceError: $CQ is not defined.

 

Could you please suggest what's the problem can be?

 

Thanks.

contexthub contexthub segments targeting update

Accepted Solutions (1)

Accepted Solutions (1)

shreyag72517995

Employee

24-04-2020

This issue was reported to the AEM engineering team. 

The solution provided was to add cq.shared dependency on "/etc/clientlibs/foundation/main".

 

Check if this helps. Also I would suggest you to  recompile all JSPs, invalidate Cache and rebuild the clientlibs.

Answers (0)