Home Forums Basel support forum Function.php

Function.php

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #48858

    artemignatyev1611
    Participant

    Hey. Really I dont have ideas what i can do.
    Look I have child-theme. I just copy function.php file there from parent theme. But what I see? Look:
    Notice: Constant BASEL_THEME_DIR already defined in /var/www/u0474800/data/www/orangeblack.store/wp-content/themes/basel/functions.php on line 13 Notice: Constant BASEL_THEMEROOT already defined in /var/www/u0474800/data/www/orangeblack.store/wp-content/themes/basel/functions.php on line 14 Notice: Constant BASEL_IMAGES already defined in /var/www/u0474800/data/www/orangeblack.store/wp-content/themes/basel/functions.php on line 15 Notice: Constant BASEL_SCRIPTS already defined in /var/www/u0474800/data/www/orangeblack.store/wp-content/themes/basel/functions.php on line 16 Notice: Constant BASEL_STYLES already defined in /var/www/u0474800/data/www/orangeblack.store/wp-content/themes/basel/functions.php on line 17 Notice: Constant BASEL_FRAMEWORK already defined in /var/www/u0474800/data/www/orangeblack.store/wp-content/themes/basel/functions.php on line 18 Notice: Constant BASEL_DUMMY already defined in /var/www/u0474800/data/www/orangeblack.store/wp-content/themes/basel/functions.php on line 19 Notice: Constant BASEL_CLASSES already defined in /var/www/u0474800/data/www/orangeblack.store/wp-content/themes/basel/functions.php on line 20 Notice: Constant BASEL_CONFIGS already defined in /var/www/u0474800/data/www/orangeblack.store/wp-content/themes/basel/functions.php on line 21 Notice: Constant BASEL_3D already defined in /var/www/u0474800/data/www/orangeblack.store/wp-content/themes/basel/functions.php on line 22 Notice: Constant BASEL_ASSETS already defined in /var/www/u0474800/data/www/orangeblack.store/wp-content/themes/basel/functions.php on line 23 Notice: Constant BASEL_ASSETS_IMAGES already defined in /var/www/u0474800/data/www/orangeblack.store/wp-content/themes/basel/functions.php on line 24 Notice: Constant BASEL_API_URL already defined in /var/www/u0474800/data/www/orangeblack.store/wp-content/themes/basel/functions.php on line 25 Notice: Constant BASEL_SLUG already defined in /var/www/u0474800/data/www/orangeblack.store/wp-content/themes/basel/functions.php on line 26

    #48910

    Artem Temos
    Keymaster

    Hi,

    You can’t simply copy our functions PHP files and override them in the child theme. You can do this only copying functions one by one and customize them.

    Regards

    #48911

    artemignatyev1611
    Participant

    So what I should do now?
    Can you help me to fix this problem?

    #48918

    Artem Temos
    Keymaster

    Just remove the file you copied and restore the original child theme’s functions.php file.

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