legacy-knowledge-base
公開されました Sep. 10, 2025

How can I search for all instances where a specific theme has been applied?

written-by

Michael Tran

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

legacy-article

learn-legacy-article-disclaimer-text

Issue

  • I have applied a specific theme to certain pages and would like to update the theme to a new one. However, I am not sure which pages / layouts have my theme has been applied.
    • When I remove my previous theme and update to my new theme, I am seeing this warning:
      WARN [https-jsse-nio-4443-exec-7][ThemeLocalServiceImpl:220] No theme found for specified theme id Sample_theme. Returning the default theme.
  • Is there a way to search and identify where my previous theme has been applied so that I can remove all instances of my old theme to address the warning?

 

Environment

  • Liferay 2024.Q3

 

Resolution

  • Themes applied can be found in the following tables within the database:
    • Layout
    • LayoutRevision
    • LayoutSet
    • LayoutSetBranch
  • You may query these tables to search for your desired theme. A sample query such as the following would work:
  • SELECT * FROM Sample.Layout
    WHERE themeId LIKE '%MyTheme%' ;

 

Additional Information

 

 

did-this-article-resolve-your-issue

legacy-knowledge-base