kirki
kirki copied to clipboard
Undefined variable: option_name & default after update from 0.8.3 to 0.8.4
( ! ) Notice: Undefined variable: option_name in C:\wamp\www\wp\wp-content\themes\new\lib\kirki\includes\Helpers\helpers.php on line 78
( ! ) Notice: Undefined variable: default in C:\wamp\www\wp\wp-content\themes\new\lib\kirki\includes\Helpers\helpers.php on line 78
why below lines were deleted from lines 93 & 94 of includes\Helpers\helpers.php (ver 0.8.3)?!
$option_name = $fields[$option]['settings'];
$default = $fields[$option]['default'];
Hey there!
Can you please try using the master branch and let me know if this still occurs? I can't replicate this issue...
Can you also post your configuration here?
Are you using 'option' as the 'options_type' in your config?
Hi, After update to master branch, I still see the following message:
( ! ) Notice: Undefined variable: default in C:\wamp\www\wp\wp-content\themes\new\lib\kirki\includes\Helpers\helpers.php on line 78
I use default options_type : theme_mod
Thanks for checking!
Should be fixed now. :+1:
Nice :+1: