This topic has 6 replies, 3 voices, and was last updated 10 years by Marc van Daele.
-
Author
-
July 4, 2014 at 12:07 #21716Marc van DaeleParticipant
My site still has debugging active from my previous question. Now I get these errors related to the Kleo theme.
Best regards
MarcNotice: 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
July 4, 2014 at 12:30 #21719CatalinModeratorHello,
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,
CatalinHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionJuly 4, 2014 at 12:40 #21720Marc van DaeleParticipantI 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.
July 9, 2014 at 18:28 #22142CatalinModeratorI 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 solutionJuly 16, 2014 at 14:11 #22729AbeKeymasterThose 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.July 17, 2014 at 14:48 #22855Marc van DaeleParticipantI 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.
-
AuthorPosts
The topic ‘Use of undefined constant error’ is closed to new replies.