[wp-trac] [WordPress Trac] #55653: Undefined array key "path" in canonical.php on line 590

WordPress Trac noreply at wordpress.org
Sun May 29 10:21:15 UTC 2022

#55653: Undefined array key "path" in canonical.php on line 590
 Reporter:  antont39      |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Permalinks    |     Version:  5.9.3
 Severity:  trivial       |  Resolution:
 Keywords:  has-patch     |     Focuses:

Comment (by lopo):

 Welcome @antont39 and thanks for reporting this!
 I can reproduce the problem on 6.0.
 At first I was considering forcing a `/` when setting a custom permalink,
 but the issue is there even if you set "Numeric" (i.e.
 `/archives/%post_id%`) which is a default choice in the Permalinks page.

 Pushed a PR but on second thought is looks like it's a duplicate of #51725
 and the solution there seems to be working.

Ticket URL: <https://core.trac.wordpress.org/ticket/55653#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list