[wp-trac] [WordPress Trac] #39827: notice in wp-includes/canonical.php:392
WordPress Trac
noreply at wordpress.org
Thu Feb 15 09:23:06 UTC 2024
#39827: notice in wp-includes/canonical.php:392
-------------------------------------------------+-------------------------
Reporter: jakubbis | Owner:
| SergeyBiryukov
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: Future
| Release
Component: Canonical | Version: 4.7.2
Severity: normal | Resolution:
Keywords: has-patch needs-testing needs-unit- | Focuses:
tests needs-testing-info |
-------------------------------------------------+-------------------------
Comment (by jstepak):
Starting on Feb 9, 2024, we're seeing the following warning message over
20 times per day:
[11-Feb-2024 18:20:58 UTC] PHP Warning: Undefined array key "path" in
/mysite/wp-includes/canonical.php on line 728
The code in canonical.php at line 728 is:
$compare_original = array( $original['host'], $original['path'] );
Our site is on WP 6.4.3 and PHP 8.0.30
If you have an ideas about what is causing this error or how to narrow
down the source, I'd appreciate learning more.
Thank you.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39827#comment:31>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list