[wp-trac] [WordPress Trac] #63066: Warning when array passed to wp_check_invalid_utf8()
WordPress Trac
noreply at wordpress.org
Wed Aug 13 18:19:38 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 dmsnell):
Hm. It does sound like this could be a problem introduced by some plugin
if it doesn’t happen on your minimalist test environment, though that
doesn’t necessarily have to be the case.
Given that @siliconforks mentioned the existing issue for the 404 page,
this may be hard to figure out unless we can identify specifically what
triggers the issue.
If you can find a specific plugin causing the array-to-string error to
appear, you might reach out to that plugin for support on their side to
fix the issue. While I definitely want us to figure this out, I do want to
reiterate that I think adding type checks at runtime for situations that
aren’t supposed to occur (and which in this case are well-documented) is
something that would be good to avoid; there is no end to that direction
of code unfortunately.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63066#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list