[wp-trac] [WordPress Trac] #63316: [E_WARNING] Undefined array key "host" in wp-includes/canonical.php on line 717
WordPress Trac
noreply at wordpress.org
Sat Apr 19 22:17:22 UTC 2025
#63316: [E_WARNING] Undefined array key "host" in wp-includes/canonical.php on line
717
--------------------------+-----------------------------
Reporter: ArtZ91 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Canonical | Version: 6.8
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
The error of level E_WARNING was catched by using set_error_handler.
The issue related to requests coming from the IP address 85.142.100.134
(which appears to be a scanner from cyberok.ru) that are triggering
warnings in WordPress.
access log records:
{{{
domain:443 85.142.100.134 - - [19/Apr/2025:23:18:23 +0300] "GET /
HTTP/1.1" 301 3405 "-" "Mozilla/5.0 (compatible; CyberOKInspect/1.0;
+https://www.cyberok.ru/policy.html)"
domain:443 85.142.100.134 - - [19/Apr/2025:23:18:23 +0300] "GET /
HTTP/1.1" 200 21814 "https://91.107.124.26/" "Mozilla/5.0 (compatible;
CyberOKInspect/1.0; +https://www.cyberok.ru/policy.html)"
domain:443 85.142.100.134 - - [19/Apr/2025:23:19:41 +0300] "HELP" 400 3602
"-" "-"
domain:443 85.142.100.134 - - [19/Apr/2025:23:19:41 +0300] "EHLO" 400 3602
"-" "-"
domain:443 85.142.100.134 - - [19/Apr/2025:23:19:55 +0300] "GET /
HTTP/1.0" 301 3410 "-" "-"
domain:443 85.142.100.134 - - [19/Apr/2025:23:19:41 +0300] "GET /
HTTP/1.0" 301 3410 "-" "-"
}}}
Debug backtrace:
{{{
Array
(
[0] => Array
(
[file] => \/var\/www\/domain\/wp-includes\/canonical.php
[line] => 717
[function] => {closure}
)
[1] => Array
(
[file] => \/var\/www\/domain\/wp-includes\/class-wp-hook.php
[line] => 324
[function] => redirect_canonical
)
[2] => Array
(
[file] => \/var\/www\/domain\/wp-includes\/class-wp-hook.php
[line] => 348
[function] => apply_filters
[class] => WP_Hook
[type] => ->
)
[3] => Array
(
[file] => \/var\/www\/domain\/wp-includes\/plugin.php
[line] => 517
[function] => do_action
[class] => WP_Hook
[type] => ->
)
[4] => Array
(
[file] => \/var\/www\/domain\/wp-includes\/template-loader.php
[line] => 13
[function] => do_action
)
[5] => Array
(
[file] => \/var\/www\/domain\/wp-blog-header.php
[line] => 19
[args] => Array
(
[0] => \/var\/www\/domain\/wp-includes\/template-
loader.php
)
[function] => require_once
)
[6] => Array
(
[file] => \/var\/www\/domain\/index.php
[line] => 17
[args] => Array
(
[0] => \/var\/www\/domain\/wp-blog-header.php
)
[function] => require
)
)
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63316>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list