In my WordPress website, I have created a child theme based on theme Divi, the child theme works perfectly and it has never had a problem, it doesn’t display any PHP error message on the screen and the design is fully responsive as I expected.
I normally push the child theme folder and child theme files through GIThub.
Today I have realized that the Appearence->Editor on the admin area in WordPress displays the message:
This theme is broken. The parent theme is missing. Please install the "divi" parent theme.
I can’t figure out why that error message come out only now.
Can you please guys advise?
WordPress Version 4.5.13
Child Theme CSS header:
/*
Theme Name: Divi Child
Theme URI: https://webmarcello.co.uk/
Description: Divi Child Theme
Author: Marcello Perri
Author URI: https://webmarcello.co.uk/
Template: divi
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
Text Domain: divichild
*/
Thanks
2
Answers
I fixed this problem, the problem was the attribute
Template: divi
in the header of my child theme CSS file, the worddivi
(which is the parent theme) must have capitalD
.Here is the CSS header correct:
Thanks for the help anyway.
You’re currently using WordPress-Version 4.5.13 – The latest WordPress-Version is 5.5.1!
You should update WordPress immediatly!
You can get the latest WordPress-Version here or update it right in your admin-dashboard.
After you’ve updated WordPress, check the parent theme for updates.
Maybe this fixes your problem.
Note: Old WordPress-Versions are a high security-risk – bugs and security holes are fixed in newer versions.