Error occuring every time after page load | Community
Skip to main content
tc94524330
Level 3
Jul 13, 2017 7:41 PM UTC
Solved

Error occuring every time after page load

After upgrading project to 6.2, we always are running in to this error in the logs. Some of the pages function properly even with this error. Some of them will not load or show dialogs properly.

Error:

libs.wcm.foundation.components.page.author$html 'categories' option might be missing from the invocation of the /libs/granite/sightly/templates/clientlib.htmlclient libraries template library. Please provide a CSV list or an array of categories to include.

Anyone noticed this error or resolved this?

Anyhelp would be appreciated.

Thanks

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
smacdonald2008
smacdonald2008Accepted solution
Level 10
Jul 14, 2017 6:02 PM UTC

This looks like a bug -- please open a ticket so Eng can fix this.

7 replies

joerghoh
Employee
Jun 19, 2018 10:16 AM UTC

From what I see this issue has been fixed with AEM 6.3.

But the workaround suggested by Nestor looks ok. You might want to overlay the author.html and the footerlibs.html as well (there the same construct is used).

Translate
New Participant
Jun 14, 2018 12:07 PM UTC

Hi,

I am seeing too many occurrences of this error in logs with no certain impact on any functionality. Is this issue fixed ?

Any help would be highly appreciated.

Translate
smacdonald2008
smacdonald2008Accepted solution
Level 10
Jul 14, 2017 6:02 PM UTC

This looks like a bug -- please open a ticket so Eng can fix this.

Translate
New Participant
Jul 14, 2017 5:51 PM UTC

Yes I think it's an OOTB issue, but I didn't open a ticket with Adobe.

Translate
tc94524330
Level 3
Jul 14, 2017 2:55 PM UTC

Hi,

Thanks for the reply. So you think this is a OOTB issue? Did you opened a ticket with adobe?

Translate
New Participant
Jul 13, 2017 10:51 PM UTC

I ran into the same issue and I found a workaround to avoid the error. Copy the author.html script from "/libs/wcm/foundation/components/page" (I'm assuming your page inherits from sightly base page) and modify line 20:

<sly data-sly-test="${wcmInit.templateCategories}" data-sly-call="${clientLib.css @ categories=wcmInit.templateCategories}" />

This fix stops raising the error, but not fixes it, because the error happens due to an issue in:

/libs/granite/sightly/templates/ClientLibUseObject.java

I hope this could helps.

Translate
smacdonald2008
Level 10
Jul 13, 2017 9:31 PM UTC

Looks like a clientlibs issue. Are you using a clientlibs in the page or other component no longer available?

Translate