Home › Forums › Jevelin Theme › Warning in inc/helper.php line 364
Home › Forums › Jevelin Theme › Warning in inc/helper.php line 364
Hi,
I got the following warning:
Warning: key() expects parameter 1 to be array, null given in …./wp-content/themes/jevelin/inc/helpers.php on line <i>364</i>
On my review I’ve seen, that $atts is always called by a string, not by an array.
So my local fix for this function:
function jevelin_get_picker_value( $atts = NULL, $var = NULL ) {
return (is_null($atts)) ? $var : $atts;
}
regards
Hi @docmatic,
I hope you are well today and thank you for notifying us about the issue.
We will fix it in the future version of theme.
Thanks,
Shufflehound team