Title: Error while making child theme
Last modified: October 5, 2016

---

# Error while making child theme

 *  Resolved [Ash](https://wordpress.org/support/users/ashbad97/)
 * (@ashbad97)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/error-while-making-child-theme/)
 * I am using Child Theme Configurator version 2.1.2 to make a child theme of GeneratePress.
   When I choose ‘analyze’ the parent theme it says the theme “GeneratePress” generated
   unexpected PHP debug output and asks me to contact the theme’s author and report
   the error. It also says I may not be able to use the theme as a Child Theme while
   these conditions exist. The error displayed is:
 * Warning: Missing argument 1 for generate_display_google_fonts() in /home/ashubad/
   public_html/wp-content/themes/generatepress/inc/add-ons/typography.php on line
   252
 * What should I do?

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [sjoerd89](https://wordpress.org/support/users/sjoerd89/)
 * (@sjoerd89)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/error-while-making-child-theme/#post-8254674)
 * why don’t you just make a child theme yourself and name it generatepress-child.
   In this directory make a file called style.css with this in it :
 *     ```
       /*
        Theme Name:   generatepress-child
        Theme URI:    
        Description:  
        Author:       
        Author URI:   
        Template:     generatepress
        Version:      1.0.0
        License:      
        License URI:  
        Tags:         
        Text Domain:  generatepress-child
       */
       ```
   
 * and make a file called functions.php with in there:
    <?php
    -  This reply was modified 9 years, 8 months ago by [sjoerd89](https://wordpress.org/support/users/sjoerd89/).
 *  Theme Author [Tom](https://wordpress.org/support/users/edge22/)
 * (@edge22)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/error-while-making-child-theme/#post-8254855)
 * There’s a blank child theme you can download here as well: [https://generatepress.com/forums/topic/how-to-install-a-child-theme/#post-198913](https://generatepress.com/forums/topic/how-to-install-a-child-theme/#post-198913)
 *  Thread Starter [Ash](https://wordpress.org/support/users/ashbad97/)
 * (@ashbad97)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/error-while-making-child-theme/#post-8254860)
 * I am a total novice at this. I have zero PHP/CSS coding knowledge and am hoping
   to make do with a few plugins and widgets. I am looking to build the site on 
   my own as it is not possible for me to hire a programmer.
    I haven’t made a child
   theme yet. The error arose when I pressed the button for analysing the parent
   theme. Should I uninstall and reinstall the theme?
 *  Thread Starter [Ash](https://wordpress.org/support/users/ashbad97/)
 * (@ashbad97)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/error-while-making-child-theme/#post-8254868)
 * [@tom](https://wordpress.org/support/users/tom/): I just saw your post. Will 
   check and get back. Thank you so much.
 *  Theme Author [Tom](https://wordpress.org/support/users/edge22/)
 * (@edge22)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/error-while-making-child-theme/#post-8256064)
 * No problem 🙂

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Error while making child theme’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/generatepress/3.6.1/screenshot.
   png)
 * GeneratePress
 * [Support Threads](https://wordpress.org/support/theme/generatepress/)
 * [Active Topics](https://wordpress.org/support/theme/generatepress/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/generatepress/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/generatepress/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [Tom](https://wordpress.org/support/users/edge22/)
 * Last activity: [9 years, 8 months ago](https://wordpress.org/support/topic/error-while-making-child-theme/#post-8256064)
 * Status: resolved