• Resolved Ash

    (@ashbad97)


    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)
  • 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.
    Theme Author Tom

    (@edge22)

    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

    Thread Starter Ash

    (@ashbad97)

    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

    (@ashbad97)

    @tom: I just saw your post. Will check and get back. Thank you so much.

    Theme Author Tom

    (@edge22)

    No problem 🙂

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

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