Title: PHP Warning: Array to string conversion formatting.php on line 1096
Last modified: May 2, 2025

---

# PHP Warning: Array to string conversion formatting.php on line 1096

 *  [Marcel Dekker](https://wordpress.org/support/users/marceldekker/)
 * (@marceldekker)
 * [1 year ago](https://wordpress.org/support/topic/php-warning-array-to-string-conversion-formatting-php-on-line-1096/)
 * Hello,
 * What I noticed was that when I go to the cutomizer in WordPress I get these php
   errors on my server:
 * PHP Warning: Array to string conversion in C:\apache24\htdocs\mydomain\wp-includes\
   formatting.php on line 1096
   [02-May-2025 09:13:20 UTC] PHP Stack trace:[02-May-
   2025 09:13:20 UTC] PHP 1. {main}() C:\apache24\htdocs\mydomain\wp-admin\customize.
   php:0[02-May-2025 09:13:20 UTC] PHP 2. do_action($hook_name = ‘customize_controls_print_footer_scripts’)
   C:\apache24\htdocs\mydomain\wp-admin\customize.php:306[02-May-2025 09:13:20 UTC]
   PHP 3. WP_Hook->do_action($args = [0 => ”]) C:\apache24\htdocs\mydomain\wp-includes\
   plugin.php:517[02-May-2025 09:13:20 UTC] PHP 4. WP_Hook->apply_filters($value
   = ”, $args = [0 => ”]) C:\apache24\htdocs\mydomain\wp-includes\class-wp-hook.
   php:348[02-May-2025 09:13:20 UTC] PHP 5. WP_Customize_Manager->customize_pane_settings(”)
   C:\apache24\htdocs\mydomain\wp-includes\class-wp-hook.php:324[02-May-2025 09:
   13:20 UTC] PHP 6. WP_Customize_Control->json() C:\apache24\htdocs\mydomain\wp-
   includes\class-wp-customize-manager.php:5018[02-May-2025 09:13:20 UTC] PHP 7.
   WP_Customize_Control->to_json() C:\apache24\htdocs\mydomain\wp-includes\class-
   wp-customize-control.php:342[02-May-2025 09:13:20 UTC] PHP 8. WP_Customize_Control-
   >get_content() C:\apache24\htdocs\mydomain\wp-includes\class-wp-customize-control.
   php:324[02-May-2025 09:13:20 UTC] PHP 9. WP_Customize_Control->maybe_render()
   C:\apache24\htdocs\mydomain\wp-includes\class-wp-customize-control.php:386[02-
   May-2025 09:13:20 UTC] PHP 10. WP_Customize_Control->render() C:\apache24\htdocs\
   mydomain\wp-includes\class-wp-customize-control.php:422[02-May-2025 09:13:20 
   UTC] PHP 11. WP_Customize_Control->render_content() C:\apache24\htdocs\mydomain\
   wp-includes\class-wp-customize-control.php:435[02-May-2025 09:13:20 UTC] PHP 
   12. esc_attr($text = [‘desktop’ => 3, ‘tablet’ => 2, ‘mobile’ => 1]) C:\apache24\
   htdocs\mydomain\wp-includes\class-wp-customize-control.php:668
 * And much more…
   Is this already known to you?
 * Greetings,
 * Marcel

The topic ‘PHP Warning: Array to string conversion formatting.php on line 1096’ 
is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/kenta/1.4.11/screenshot.png)
 * Kenta
 * [Support Threads](https://wordpress.org/support/theme/kenta/)
 * [Active Topics](https://wordpress.org/support/theme/kenta/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/kenta/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/kenta/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Marcel Dekker](https://wordpress.org/support/users/marceldekker/)
 * Last activity: [1 year ago](https://wordpress.org/support/topic/php-warning-array-to-string-conversion-formatting-php-on-line-1096/)
 * Status: not resolved