# WordPress: The parent theme is missing. Please install the "x" parent theme.

**Code:** `The parent theme is missing` · **Category:** WordPress · **Seen on:** WordPress

A child theme is active (or installed) but its parent theme isn’t installed, or the Template header doesn’t match the parent folder name.

## Meaning

Child themes declare Template: parent-folder-name in style.css. Renamed parent folders (e.g. theme-name-1.2) or uploading only the child break it.

## Common causes

- Parent theme not installed
- Parent folder renamed (version suffix)
- Template header typo in child style.css

## Quick fix

1. Install the parent theme
2. Rename the parent folder to match Template
3. Fix the Template line in the child’s style.css

## Detailed fix by platform

### WordPress

1. 

```php
/*
 Theme Name: My Child
 Template: astra
*/
```


## How to diagnose

1. **Folder** — Parent folder name
2. **Header** — Template value

---
Source: [WhatIsMyError](https://whatismyerror.com/errors/wordpress/parent-theme-is-missing)
