• Marcel Dekker

    (@marceldekker)


    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.