[wp-trac] [WordPress Trac] #63066: Warning when array passed to wp_check_invalid_utf8()

WordPress Trac noreply at wordpress.org
Tue Aug 12 17:02:53 UTC 2025


#63066: Warning when array passed to wp_check_invalid_utf8()
--------------------------+------------------------------
 Reporter:  leedxw        |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  6.7.2
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by garrigan):

 {{{

 Aug     12      12:42:40        staging 8/12/2025       12:42:40
 [error] 3046#3046:      *358    FastCGI sent    in      stderr: PHP
 message: should only be passing string; not array to
 wp_check_invalid_utf8(); PHP message: #0 /my-path/www/wp-includes/
 while   reading upstream,       client: 2001:,  server:
 ~^(.+)(\.)((james|jim)?garrigan.*)$,    request:        GET /wp-
 admin/customize.php HTTP/3.0,   upstream:       fastcgi://unix:/run/php-
 fpm/www.sock:,  referrer:       https://staging.my-domain.com/wp-admin/
 Aug     12      12:42:40        staging 8/12/2025       12:42:40
 [error] 3046#3046:      *358    FastCGI sent    in      stderr:
 formatting.php(4702): wp_check_invalid_utf8(Array)

 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/63066#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list