[wp-trac] [WordPress Trac] #39827: notice in wp-includes/canonical.php:392

WordPress Trac noreply at wordpress.org
Wed Sep 28 20:17:40 UTC 2022


#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 bozzmedia):

 I am encountering the follow after moving to PHP 8.0:

 {{{
 PHP Warning:  Undefined array key "path" in /home/redacted/public_html/wp-
 includes/canonical.php on line 590.
 }}}


 PHP 8.0.23,
 Linux version 3.10.0-1160.53.1.el7.x86_64
 (mockbuild at kbuilder.bsys.centos.org) (gcc version 4.8.5 20150623 (Red Hat
 4.8.5-44) (GCC) ) #1 SMP
 Server version: Apache/2.4.54 (cPanel)
 Database Management System      MySQL Version   5.7.39
 Database Character Set  utf8
 Database Collation      utf8_general_ci


 --------
 Possibly related errors, though not part of this ticket:

 {{{

 PHP Warning:  Undefined array key "comment_post_ID" in
 /home/redacted/public_html/wp-content/plugins/akismet/class.akismet.php on
 line 187
 PHP Warning:  Undefined array key "comment_post_ID" in
 /home/redacted/public_html/wp-content/plugins/akismet/class.akismet.php on
 line 198
 PHP Warning:  Undefined array key "comment_post_ID" in
 /home/redacted/public_html/wp-content/plugins/akismet/class.akismet.php on
 line 230
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/39827#comment:29>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list