[wp-trac] [WordPress Trac] #62828: Array should not be passed to get_page_by_path()

WordPress Trac noreply at wordpress.org
Tue Jan 21 05:44:53 UTC 2025


#62828: Array should not be passed to get_page_by_path()
--------------------------+------------------------------
 Reporter:  leedxw        |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  6.7.1
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+------------------------------

Comment (by sainathpoojary):

 I can confirm that the "Warning: Array to string conversion" warning is
 occurring in WordPress 6.7.1, when an array is passed to
 get_page_by_path(). However, this issue does not happen in the current
 trunk version.

 WordPress 6.7.1:
 [[Image(https://rioudcpuyg.ufs.sh/f/PL8E4NiPUWyOM9i9B5hp3F90beESqliHBLy7PKXG5nvmwjAd)]]

 Trunk:
 [[Image(https://rioudcpuyg.ufs.sh/f/PL8E4NiPUWyO6qsDFx8XILecyvHwBdbisfSAoq2h5TGkQU0C)]]

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


More information about the wp-trac mailing list