[wp-trac] [WordPress Trac] #52864: PHP Notice: Undefined index: path
WordPress Trac
noreply at wordpress.org
Fri Mar 19 08:41:31 UTC 2021
#52864: PHP Notice: Undefined index: path
--------------------------+-----------------------------
Reporter: dreamon11 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 5.7
Severity: trivial | Keywords:
Focuses: |
--------------------------+-----------------------------
Hello,
Just a report to inform you I receive a PHP notice when GET request
/page/1:
{{{
PHP Notice:
Undefined index: path in [...]wp/wp-includes/canonical.php on line 590
Backtrace:
#0 [...]wp/wp-includes/canonical.php(590): App\{closure}(8, 'Undefined
index: path', '[...]wp/wp-includes/canonical.php', '590', Array)
#1 [...]wp/wp-includes/class-wp-hook.php(292):
redirect_canonical('https://site.com/page/1')
#2 [...]wp/wp-includes/class-wp-hook.php(316): apply_filters(NULL, Array)
#3 [...]wp/wp-includes/plugin.php(484): do_action(Array)
#4 [...]wp/wp-includes/template-loader.php(13):
do_action('template_redirect')
#5 [...]wp/wp-blog-header.php(19): require_once('[...]wp/wp-includes
/template-loader.php')
#6 [...]index.php(5): require('[...]wp/wp-blog-header.php')
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/52864>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list