Message Boards

No theme found for specified theme id Liferay 7.3

Kevin Neibarger, modified 3 Years ago.

No theme found for specified theme id Liferay 7.3

Regular Member Posts: 105 Join Date: 2/2/18 Recent Posts

I'm running the following

Liferay 7.3.6 - GA7

Tomcat 9.0.40

I've removed a theme's WAR from the LIFERAY_HOME/osgi/war directory and it's still showing in my catalina.out

2021-04-14 13:13:35.194 WARN  [http-nio-8080-exec-10][ThemeLocalServiceImpl:232] No theme found for specified theme id compasstheme_WAR_compassTheme. Returning the default theme.

How do I permanently remove this?? 

Also, I've been using the Liferay Theme Generator to generate a simple theme. It creates successfully. After doing a gulp deploy it now shows the error No theme found for specified theme id 

2021-04-14 13:13:26.471 WARN  [http-nio-8080-exec-6][ThemeLocalServiceImpl:232] No theme found for specified theme id kevins_WAR_kevinstheme. Returning the default theme.

Generating themes in Liferay 6.2 was so much easier.. What happened here? Why is it now so difficult???? 

thumbnail
Evan Thibodeau, modified 3 Years ago.

RE: No theme found for specified theme id Liferay 7.3

New Member Posts: 14 Join Date: 3/29/12 Recent Posts

2021-04-14 13:13:35.194 WARN  [http-nio-8080-exec-10][ThemeLocalServiceImpl:232] No theme found for specified theme id compasstheme_WAR_compassTheme. Returning the default theme.

This error doesn't mean that the theme still exists in Liferay. In fact it means the opposite. This error is shown when the theme that is assigned to a site or page no longer exists in the Liferay instance. So the presence of this error indicates that compasstheme_WAR_compassTheme no longer exists on your instance. 

As for kevins_WAR_kevinstheme, is it still present in the osgi/war directory? If so, are you able to see the theme when selecting a theme for a site or page?