• Resolved anirban13

    (@anirban13)


    Notice: Kirki_Field::set_output was called incorrectly. “output” invalid format in field header_font_family. The “output” argument should be defined as an array of arrays. Please see Debugging in WordPress for more information.

    Notice: Kirki_Field::set_output was called incorrectly. “output” invalid format in field buttons_font_family. The “output” argument should be defined as an array of arrays. Please see Debugging in WordPress for more information.

    Notice: Kirki_Field::set_output was called incorrectly. “output” invalid format in field content_headings_font_family. The “output” argument should be defined as an array of arrays. Please see Debugging in WordPress for more information.

    Notice: Kirki_Field::set_output was called incorrectly. “output” invalid format in field sidebar_headings_font_family. The “output” argument should be defined as an array of arrays. Please see Debugging in WordPress for more information.

    Notice: Kirki_Field::set_output was called incorrectly. “output” invalid format in field sidebar_headings_color. The “output” argument should be defined as an array of arrays. Please see Debugging in WordPress for more information.

    Notice: Kirki_Field::set_output was called incorrectly. “output” invalid format in field footer_font_family. The “output” argument should be defined as an array of arrays. Please see Debugging in WordPress for more information.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hey there,

    do you have an example of the code you are using?

    This is a warning, so nothing bad will happen because of these warnings, they are only there to inform developers about errors in their code.
    Kirki has fallbacks so even though this is not properly written it will still work.

    This part of the warning is pretty self-explanatory:

    “output” invalid format in field sidebar_headings_color. The “output” argument should be defined as an array of arrays.

    I’m assuming the theme developer has something like this in those fields:

    'output' => array(
        'element' => 'body',
    ),

    or even something like this:

    'output' => 'body'

    The correct way to write it – as per the documentation on https://aristath.github.io/kirki/docs/arguments/output.html would be

    'output' => array(
        array(
            'element' => 'body',
        ),
    ),

    Please contact your theme developer so that they may fix this in a future release of their theme.

    Thread Starter anirban13

    (@anirban13)

    Ok…thanks for the help!!

    rohitmanglik

    (@rohitmanglik)

    I forwarded the issue to the handy team. I will keep everyone posted over here if there is any update.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Getting following warnings:-’ is closed to new replies.