#52864 closed defect (bug) (duplicate)
PHP Notice: Undefined index: path
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | trivial | Version: | 5.7.2 |
Component: | Canonical | Keywords: | |
Focuses: | Cc: |
Description
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')
Change History (3)
#1
@
4 years ago
- Component changed from General to Canonical
- Milestone Awaiting Review deleted
- Resolution set to duplicate
- Status changed from new to closed
This ticket was mentioned in Slack in #core-test by hellofromtonya. View the logs.
4 years ago
Note: See
TracTickets for help on using
tickets.
Hi there, welcome to WordPress Trac!
Thanks for the report, we're already tracking this issue in #39827.