This topic has 6 replies, 3 voices, and was last updated 10 years by Marc van Daele.

  • Author
  • #21716
     Marc van Daele
    Participant

    My site still has debugging active from my previous question. Now I get these errors related to the Kleo theme.

    Best regards
    Marc

    Notice: Use of undefined constant FS_CHMOD_DIR – assumed ‘FS_CHMOD_DIR’ in /var/www/intranet/wp-content/themes/kleo/kleo-framework/options/inc/fields/typography/field_typography.php on line 65 Notice: Use of undefined constant FS_CHMOD_DIR – assumed ‘FS_CHMOD_DIR’ in /var/www/intranet/wp-content/themes/kleo/kleo-framework/options/inc/fields/typography/field_typography.php on line 65 Notice: Use of undefined constant FS_CHMOD_DIR – assumed ‘FS_CHMOD_DIR’ in /var/www/intranet/wp-content/themes/kleo/kleo-framework/options/inc/fields/typography/field_typography.php on line 65 Notice: Use of undefined constant FS_CHMOD_DIR – assumed ‘FS_CHMOD_DIR’ in /var/www/intranet/wp-content/themes/kleo/kleo-framework/options/inc/fields/typography/field_typography.php on line 65 Notice: Use of undefined constant FS_CHMOD_DIR – assumed ‘FS_CHMOD_DIR’ in /var/www/intranet/wp-content/themes/kleo/kleo-framework/options/inc/fields/typography/field_typography.php on line 65 Notice: Use of undefined constant FS_CHMOD_DIR – assumed ‘FS_CHMOD_DIR’ in /var/www/intranet/wp-content/themes/kleo/kleo-framework/options/inc/fields/typography/field_typography.php on line 65 Notice: Use of undefined constant FS_CHMOD_DIR – assumed ‘FS_CHMOD_DIR’ in /var/www/intranet/wp-content/themes/kleo/kleo-framework/options/inc/fields/typography/field_typography.php on line 65

    #21719
     Catalin
    Moderator

    Hello,

    Those are only some notifications and you don’t have to worry about them. Set wp_debug parameter to ‘false’ and you won’t get those anymore. We will fix this on the next update of the theme.

    Thank you,
    Catalin

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #21720
     Marc van Daele
    Participant

    I do have trouble with fonts though. They all suddenly changed to another font family after opening Theme Options. When I switch to the Kleo theme and not the child theme, fonts are ok again.

    #22142
     Catalin
    Moderator

    I need admin credentials to be able to replicate your issue.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #22146
     Marc van Daele
    Participant
    This reply has been set as private.
    #22729
     Abe
    Keymaster

    Those are some notices coming from the theme options panel. You should set the WP_DEBUG to TRUE since it is recommended like that in the production environment and if that is your only problem then you have nothing to worry about

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    ---
    @ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.

    #22855
     Marc van Daele
    Participant

    I have managed to solve the problem. The trick is to add these lines to the top of wp-config.php:

    define( ‘FS_METHOD’, ‘direct’ );
    define( ‘FS_CHMOD_DIR’, 0777 );
    define( ‘FS_CHMOD_FILE’, 0777 );

    The notices are gone, fonts are displayed correctly, google fonts are available under theme options now and the fonts on the slider look good even with the admin bar hidden.

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

The topic ‘Use of undefined constant error’ is closed to new replies.

Log in with your credentials

Forgot your details?