Warning when clicking reset in Customise fonts. Use of latest kirki version.
-
Hi, have a new WordPress install and setting up theme Awada (current version 1.3).
1. Click Appearance > Customise > Awada options > Typography settings
2. Change fonts to experiment with different looks.
3. Click reset to restore settings back to default.Warning is displayed on screen:
[22-Oct-2016 01:55:03 UTC] PHP Warning: array_key_exists(): The first argument should be either a string or an integer in /public_html/wp-content/themes/awada/inc/kirki/includes/field/class-kirki-field-typography.php on line 133
Pressing refresh on the page removes the message.
I note the copy of Kirki included in the Awada theme v1.3 inc/ folder is Kirki version 2.3.2 and the current version is 2.3.7
Kirki changelog mentions a fix for the above message and a couple of other changes which may be worth including. For example the Google font I was going to use for the logo text isn’t currently included.
If we install the latest version of Kirki plugin separately so we can keep it up to date, will the site/theme use that version instead of the theme’s embedded older copy? I see functions.php sets the url_path to the theme directory in awada_customizer_config() so not sure.
Thanks.
- The topic ‘Warning when clicking reset in Customise fonts. Use of latest kirki version.’ is closed to new replies.