Make WordPress Core

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#53018 closed defect (bug) (duplicate)

trim issue in class-wp-query

Reported by: islp's profile islp Owned by:
Milestone: Priority: normal
Severity: trivial Version:
Component: Query Keywords:
Focuses: Cc:

Description

Hi, I found this while reviewing my debug.log:

[11-Apr-2021 19:15:42 UTC] PHP Warning:  trim() expects parameter 1 to be string, array given in /home/repo/www/wp-includes/class-wp-query.php on line 782
[11-Apr-2021 19:16:00 UTC] PHP Warning:  trim() expects parameter 1 to be string, array given in /home/repo/www/wp-includes/class-wp-query.php on line 782

I'm using WordPress 5.7 on PHP 7.4.15.

Change History (2)

#1 @SergeyBiryukov
4 years ago

  • Component changed from General to Query
  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Hi there, welcome to WordPress Trac!

Thanks for the report, we're already tracking this issue in #17737.

#2 @islp
4 years ago

@sergeybiryukov : ten years of duplicates :-)

Note: See TracTickets for help on using tickets.