• Resolved jenvander

    (@jenvander)


    I’ve made no changes to the site, but suddenly I see errors, both on the site itself and in the wp-admin:

    Notice: Kirki_Field::set_output was called incorrectly. “output” invalid format in field body_typography. The “output” argument should be defined as an array of arrays. Please see Debugging in WordPress for more information. (This message was added in version 3.0.10.) in /home4/pubco/public_html/marketingforresorts.com/wp-includes/functions.php on line 4139

    Notice: Kirki_Field::set_output was called incorrectly. “output” invalid format in field headers_typography. The “output” argument should be defined as an array of arrays. Please see Debugging in WordPress for more information. (This message was added in version 3.0.10.) in /home4/pubco/public_html/marketingforresorts.com/wp-includes/functions.php on line 4139

    Notice: Kirki_Field::set_output was called incorrectly. “output” invalid format in field subtitles_typography. The “output” argument should be defined as an array of arrays. Please see Debugging in WordPress for more information. (This message was added in version 3.0.10.) in /home4/pubco/public_html/marketingforresorts.com/wp-includes/functions.php on line 4139

    Notice: Kirki_Field::set_output was called incorrectly. “output” invalid format in field logo_image_1. The “output” argument should be defined as an array of arrays. Please see Debugging in WordPress for more information. (This message was added in version 3.0.10.) in /home4/pubco/public_html/marketingforresorts.com/wp-includes/functions.php on line 4139

    Notice: Kirki_Field::set_output was called incorrectly. “output” invalid format in field logo_width. The “output” argument should be defined as an array of arrays. Please see Debugging in WordPress for more information. (This message was added in version 3.0.10.) in /home4/pubco/public_html/marketingforresorts.com/wp-includes/functions.php on line 4139

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter jenvander

    (@jenvander)

    I’ve turned off debugging output so the client does not see the errors on the site. I can turn the debugging back on if you need to try something.

    @jenvander These are warnings from Kirki informing you that there’s something wrong with a plugin or theme that uses Kirki.
    It looks like these settings are improperly formatted: body_typography, headers_typography, subtitles_typography, logo_image_1, logo_width.
    Since this is a relatively common mistake we’ve seen developers do, we provide a fallback so the controls will most likely still work.
    However the errors should be fixed and the output argument for these fields should be fixed.
    They are probably using a syntax like this:

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

    and it should look like this:

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

    That’s why the error message says

    The “output” argument should be defined as an array of arrays.

    If these fields come from your theme, I would advise you to make sure you have the latest version of their theme installed, and if you do then contact your theme developer and point them to this thread so that they may fix it in their next update.

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

The topic ‘No changes to my site, suddenly getting errors’ is closed to new replies.