[wp-trac] [WordPress Trac] #59956: author feed having an issue on latest WP6.4 version

WordPress Trac noreply at wordpress.org
Sat Nov 25 22:14:30 UTC 2023


#59956: author feed having an issue on latest WP6.4 version
--------------------------+------------------------------
 Reporter:  janareddy     |       Owner:  (none)
     Type:  defect (bug)  |      Status:  assigned
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Feeds         |     Version:  6.4
 Severity:  major         |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------
Changes (by sabernhardt):

 * component:  WordPress.org Site => Feeds


Old description:

> Team,
>
> The author feed Ex:(www.google.com/author/author-name/feed/) is having
> issue on WP6.4.
>
> currently we are using PHP8.1 and WP6.1 on this combination author feed
> is working as expected.
>
> Recently we are trying to upgrade to WP6.4 , PHP version will be
> same(PHP8.1) this combination is having issue on author feed.
>
> Below is the error we are getting
> Uncaught ValueError: max(): Argument #1 ($value) must contain at least
> one element
>
> as per little debug it seems in feed.php on line number 720 max() command
> having issue , its expecting array but date string is passing.
>
> please go through this link for more details
> https://wordpress.org/support/topic/having-an-issue-on-author-feed-on-
> wp-6-4/
>
> as suggested i am raising a ticket here, could you please check this.

New description:

 Team,

 The author feed Ex:(www.google.com/author/author-name/feed/) is having
 issue on WP6.4.

 currently we are using PHP8.1 and WP6.1 on this combination author feed is
 working as expected.

 Recently we are trying to upgrade to WP6.4 , PHP version will be
 same(PHP8.1) this combination is having issue on author feed.

 Below is the error we are getting
 `Uncaught ValueError: max(): Argument #1 ($value) must contain at least
 one element`

 as per little debug it seems in `feed.php` on line number 720 `max()`
 command having issue , its expecting array but date string is passing.

 please go through this link for more details
 https://wordpress.org/support/topic/having-an-issue-on-author-feed-on-
 wp-6-4/

 as suggested i am raising a ticket here, could you please check this.

--

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


More information about the wp-trac mailing list