Warning in inc/helper.php line 364

Home Forums Jevelin Theme Warning in inc/helper.php line 364

Home Forums Jevelin Theme Warning in inc/helper.php line 364

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • docmatic
    Participant

    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

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