Last Revised: October 2, 2021
If your WordPress Site Health dashboard displays the message Your site doesn’t have a default theme, you have the ability to fix it with some changes.
Your site doesn’t have any themes by default. The default themes are automatically used by WordPress if there is something wrong with the theme you have chosen.
Your site does not have any default theme. Default themes are used by WordPress automatically if anything is wrong with your chosen theme.
Install a default theme
WordPress needs a theme to work, even though it can do so without plugins. That is why, in case there is a problem, it is highly recommended to have one of the default themes to make a backup.
It is best to have one of the last three topics available, which at the moment are the following:
Once you have any of these themes installed, the message will disappear automatically.
Extending the configuration
In case you want to force the configuration even more, you can add in the WordPress Configuration File a line that warns the system which is the default theme.
define( 'WP_DEFAULT_THEME', 'twentytwentyone' );
About this document
This document is regulated by the EUPL v1.2 license, published in WP SysAdmin and created by Javier Casares. Please, if you use this content in your website, your presentation or any material you distribute, remember to mention this site or its author, and having to put the material you create under EUPL license.