Return to Support

Got an error when activate child theme

Home Forums Graphene WordPress theme Support Got an error when activate child theme

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #2792
    ice48623
    Member

    Parse error: syntax error, unexpected ‘}’ in /home/djingcom/domains/d-jing.com/public_html/wp-content/plugins/wp-php-widget/wp-php-widget.php(52) : eval()’d code on line 18

    I have got above error when I’m activated graphene child theme.

    How to fix it, Thanks!

    #21955
    Josh
    Member

    Try de-activating your wp-php-widget plugin before you activate your child theme.

    #21956
    ice48623
    Member

    I’ll try

    #21957
    ice48623
    Member

    Thanks Josh, you help me a lot.

    #21958
    ice48623
    Member

    Josh, I have a question

    It’s possible to have function.php in child theme?

    and if it’s possible, in function.php what code it should contain. Like in style.css it have some of header code, how about function.php is should have some of header code or just put the function code that I want?

    Thanks you again.

    #21959
    Josh
    Member

    Yes, you can have a functions file in your child theme. It should be named functions.php.

    You don’t need any information in it except for the opening and closing php tags. You can add any custom functions into the file, and they will be added to your themes functions.

    #21960
    ice48623
    Member

    Thanks

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.